Template:For: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>Yandere-sliver
mNo edit summary
>Jerodast
(documentation)
Line 1: Line 1:
{{hatnote|For {{{1}}}, see [[{{{2|{{PAGENAME}} (disambiguation)}}}|{{{3|{{{2|{{PAGENAME}} (disambiguation)}}}}}}]]}}<noinclude>[[Category:Hatnote templates]]</noinclude>
{{hatnote|For {{{1}}}, see [[{{{2|{{PAGENAME}} (disambiguation)}}}|{{{3|{{{2|{{PAGENAME}} (disambiguation)}}}}}}]].}}<noinclude>
 
Places a hatnote (italicized note for use above the main article) optionally referring readers to a page they might have been trying to get to instead of the current one.
 
==Usage==
The first parameter (required) is a description of the other page being referenced. If it is the only parameter provided, the note will refer to the disambiguation page for the term on the current page, and the parameter should be a phrase that references other uses of the name, like "characters and places named Markov" or simply "other uses". See also the simpler {{tl|Otheruses}}.
 
The second parameter (recommended) is the exact name of the page to link to (without any link formatting). If not provided, it links to the disambiguation page for the current page's name.
 
The third parameter (optional) is the display text for the link, if different from the exact name of the page being linked.
 
See also {{tl|About}} to include a brief description of the current page (to differentiate it from the pages being referred to) and/or multiple links to alternate pages. That template can mimic this one exactly.
 
[[Category:Hatnote templates]]</noinclude>

Revision as of 03:55, 28 June 2022

For {{{1}}}, see For (disambiguation).

Places a hatnote (italicized note for use above the main article) optionally referring readers to a page they might have been trying to get to instead of the current one.

Usage

The first parameter (required) is a description of the other page being referenced. If it is the only parameter provided, the note will refer to the disambiguation page for the term on the current page, and the parameter should be a phrase that references other uses of the name, like "characters and places named Markov" or simply "other uses". See also the simpler {{Otheruses}}.

The second parameter (recommended) is the exact name of the page to link to (without any link formatting). If not provided, it links to the disambiguation page for the current page's name.

The third parameter (optional) is the display text for the link, if different from the exact name of the page being linked.

See also {{About}} to include a brief description of the current page (to differentiate it from the pages being referred to) and/or multiple links to alternate pages. That template can mimic this one exactly.