Kirkburn31335@legacy41551592 (talk | contribs) (Forced further right) |
Eirik Ratcatcher@legacy41591109 (talk | contribs) (added includeonly) |
||
(7 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | : |
+ | <onlyinclude><includeonly>:<span class="dablink">''For {{{1|other uses}}}, see {{#if:{{{link1|}}}|[[{{{link1}}}|{{{2|{{PAGENAME}} (disambiguation)}}}]]|[[{{{2|{{PAGENAME}} (disambiguation)}}}]]}}{{#if:{{{3|}}}| and [[{{{3}}}]]}}.''</span></includeonly></onlyinclude><noinclude>{{Documentation}}</noinclude> |
− | ==Purpose== |
||
− | This template imitates the Wikipedia top link template: [[Wikipedia:Template:For]]. |
||
− | |||
− | ==Usage== |
||
− | ;Code |
||
− | <pre><nowiki>{{For|Village pump|WoWWiki:Village pump}}</nowiki></pre> |
||
− | ;Output |
||
− | {{For|Village pump|WoWWiki:Village pump}} |
||
− | |||
− | [[Category:Navigation Templates]]</noinclude> |
Revision as of 00:44, 19 November 2009
Purpose
This template imitates the Wikipedia top link template: Wikipedia:Template:For.
Usage
- Syntax
{{For|OTHER TOPIC|PAGE1|PAGE2|link1=LINK1}}
- 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).
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|Forums|Forum:Index}}
- For Forums, see Forum:Index.
- Often used form with only OTHER TOPIC and PAGE1.
{{For|battle cries|For (Horde)|For (Alliance)}}
- For battle cries, see For (Horde) and For (Alliance).
- Using PAGE2 for a second link.
{{For|the commodity|Other Kinds of Leather|link1=Light Leather}}
- For the commodity, see Other Kinds of Leather.
- Use of the link1 parameter to change the link.