Terraria Wiki

  • Discussions are now available on the Terraria Wiki.
  • Miss the old Hydra Skin? Try out our Hydralize gadget! Visit the preferences page while logged in and turn on the gadget.

READ MORE

Terraria Wiki
Register
NibKing (talk | contribs)
No edit summary
NibKing (talk | contribs)
No edit summary
Line 1: Line 1:
<onlyinclude><includeonly>:<span class="dablink">''For {{{1|other uses}}}, see {{#if:{{{link1|}}}|[[{{{link1}}}|{{{2|{{PAGENAME}} (disambiguation)}}}]]|[[{{{2|{{PAGENAME}} (disambiguation)}}}]]}}
+
<onlyinclude><includeonly>:<span class="dablink">''For {{{1|other uses}}}, see {{#if:{{{link1|}}}|[[{{{link1}}}|{{{2|{{PAGENAME}} (disambiguation)}}}]]|[[{{{2|{{PAGENAME}} (disambiguation)}}}]]}}{{#if:{{{3|}}}|&#32;and [[{{{3}}}]]}}.''</span></includeonly></onlyinclude><noinclude>{{Documentation}}</noinclude>
{{#if:{{{3|}}}|&#32;and [[{{{3}}}]]}}{{#if:{{{4|}}}|&#32;and [[{{{4}}}]]}}.''</span></includeonly></onlyinclude><noinclude>{{Documentation}}</noinclude>
 

Revision as of 02:18, 17 June 2015

Template-info Documentation The documentation below is transcluded from Template:For/doc. (edit | history)

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 For (disambiguation).
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 and Last Prism.
Use of the or= parameter to change the text.