Template:Redirect-multi/doc
| This is a documentation subpage for Template:Redirect-multi. It may contain usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
This template produces a redirect hatnote, analogous to {{redirect}}, for use when multiple redirects need to be specified.
Usage
The first parameter supplied to the template should be a number specifying the number of redirects. If this is left blank or a non-numeric value supplied, it will default to 1.
Following the number parameter, a series of parameters should be supplied representing that number of redirects:
{{redirect-multi|3|REDIRECT1|REDIRECT2|REDIRECT3}} →
If no further parameters are provided, then the template automatically supplies disambiguation links generated from each redirect as "other uses", as in the preceding example.
If further parameters are supplied, they use the same "for-see" structure as {{redirect}}, with pairs of use and target parameters and the and keyword to add multiple targets to a single use. For example:
{{redirect-multi|3|REDIRECT1|REDIRECT2|REDIRECT3|USE1|PAGE1|and|PAGE2#SECTION|USE2|PAGE3{{!}}DISPLAY}} →
If insufficient redirects are provided, an error message is produced (and an error-tracking category, which can be suppressed by supplying a false value in a category parameter):
{{redirect-multi|3|REDIRECT1|REDIRECT2|category=false}} → Error: missing redirect parameter (help).
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.