Plantilla:For
Ir a la navegación
Ir a la búsqueda
Documentation The documentation below is transcluded from Plantilla:For/doc. (edit | history)
[purge]
Purpose
This template imitates the Wikipedia disambiguation link template: Wikipedia:Template:For.
Usage
- Syntax
{{For|OTHER TOPIC|PAGE1|PAGE2|link1=|display=|display2=}}
- Output
Para OTHER TOPIC, ver PAGE1 y 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}}
Para otros usos, ver For (desambiguación).
- Shortest form, to point to a general disambiguation page.
{{for|different meanings of For}}
Para different meanings of For, ver For (desambiguación).
- Only the OTHER TOPIC parameter is used.
{{for|see=Balloons}}
Para otros usos, ver Balloons.
- Only the PAGE1 parameter is used.
{{for|the admins' notice board|Admin noticeboard}}
Para the admins' notice board, ver Admin noticeboard.
- Often used form with only OTHER TOPIC and PAGE1.
{{for|version history|Version history|Console Version history}}
Para version history, ver Version history y Console Version history.
- Using PAGE2 for a second link.
{{for|the different types of hammers|Other Kinds of Hammers|link1=Hammer}}
Para the different types of hammers, ver Other Kinds of Hammers.
- Use of the link1 parameter to change the link.
{{for|powerful weapons|Meowmere|Last Prism|or=y}}
Para powerful weapons, ver Meowmere o Last Prism.
- Use of the or= parameter to change the text.
Categorías:
- I18n-ready templates
- Redirection and link templates