Template:For
Jump to navigation
Jump to search
Purpose
This template imitates the Wikipedia disambiguation link template: Wikipedia:Template:For.
Usage
- Syntax
{{For|OTHER TOPIC|PAGE1|PAGE2|link1=|display=|display2=}}
- Output
For OTHER TOPIC, see PAGE1 and PAGE2.
- Parameters
- If only two parameters are given (OTHER TOPIC and PAGE1), the " and PAGE2" part is left out.
- If only one parameter is given (OTHER TOPIC), the current page, with " (disambiguation)" added, is used as a default for PAGE1.
- If no parameters are given, "other uses" is printed for OTHER TOPIC, and the current page, with " (disambiguation)" added, is used as a default for PAGE1.
- The link1 parameter can be used to let the first link point to a different page than PAGE1 (or its default).
- Display= changes the appearance of the first link to PAGE1, and display2= changes the appearance of PAGE2, overriding the § symbol replacements
- Or= changes the “and” to “or” in the template when using PAGE2.
Examples
{{for}}
For other uses, see For (disambiguation).
- Shortest form, to point to a general disambiguation page.
{{for|different meanings of For}}
For different meanings of For, see For (disambiguation).
- Only the OTHER TOPIC parameter is used.
{{for|see=Balloons}}
For other uses, see Balloons.
- Only the PAGE1 parameter is used.
{{for|the admins' notice board|Admin noticeboard}}
For the admins' notice board, see Admin noticeboard.
- Often used form with only OTHER TOPIC and PAGE1.
{{for|version history|Version history|Console Version history}}
For version history, see Version history and Console Version history.
- Using PAGE2 for a second link.
{{for|the different types of hammers|Other Kinds of Hammers|link1=Hammer}}
For the different types of hammers, see Other Kinds of Hammers.
- Use of the link1 parameter to change the link.
{{for|powerful weapons|Meowmere|Last Prism|or=y}}
For powerful weapons, see Meowmere or Last Prism.
- Use of the or= parameter to change the text.