साँचा:Redirect-multi/doc
{{
साँचा:namespace detect
| type = notice
| image =
| imageright =
| class =
| style = margin-bottom:1.0em;
| textstyle =
| text = साँचा:strong for साँचा:terminate sentence
It contains usage information, categories and other content that is not part of the original साँचा page.
| small =
| smallimage =
| smallimageright =
| smalltext =
| subst =
| date =
| name =
}}
This template uses Lua: |
This template produces a redirect hatnote, analogous to साँचा:tl, for use when three or more 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}}
→ साँचा:redirect-multi
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 साँचा:tl, 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}}
→ साँचा:redirect-multi
If insufficient redirects are provided, an error message is produced (and an error-tracking category, which can be suppressed by supplying a falsy value in a category
parameter):
{{redirect-multi|3|REDIRECT1|REDIRECT2|category=false}}
→ साँचा:redirect-multi