Template:Specify: Difference between revisions

Want an adless experience? Log in or Create an account.
Move doc to {{Documentation}} & Make the default version "X (Disambiguation)" work on pages that have a (bracket) already - e.g., so "X (Ocarina of Time)" doesn't try to send you to "X (Ocarina of Time) (Disambiguation)"
(lol pikmin example)
(Move doc to {{Documentation}} & Make the default version "X (Disambiguation)" work on pages that have a (bracket) already - e.g., so "X (Ocarina of Time)" doesn't try to send you to "X (Ocarina of Time) (Disambiguation)")
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<onlyinclude>{{Hatnote|{{#if: {{{this|}}}|This article is about {{{this}}}.{{S}}|}}{{#if: {{{second|}}}|For {{{second}}}, see {{{secondlink}}}.{{S}}|}}{{#if: {{{third|}}}|For {{{third}}}, see {{{thirdlink}}}.{{S}}|}}For {{{other|other uses}}}, see {{{link|[[{{PAGENAME}} (Disambiguation)]]}}}.}}</onlyinclude>
<onlyinclude>{{Hatnote|{{#if: {{{this|{{{1|}}}}}}|This article is about {{{this|{{{1}}}}}}.{{S}}|}}{{#if: {{{second|}}}|For {{{second}}}, see {{{secondlink}}}.{{S}}|}}{{#if: {{{third|}}}|For {{{third}}}, see {{{thirdlink}}}.{{S}}|}}For {{{other|{{{2|other uses}}}}}}, see {{{link|{{{3|[[{{#explode:{{PAGENAME}}|(|0}} (Disambiguation)]]}}}}}}.}}</onlyinclude>
 
{{Documentation}}
==Purpose==
{{Cat|Hatnote Templates}}
This hatnote is used to specify the content of the article or contrast it with a similar article.
 
==Usage==
{{Usage|this{{=}}|other{{=}}|link{{=}}}}
{{Usage/Param|this|A very brief description of the article on which this template is placed.|optional}}
{{Usage/Param|other|A very brief description of the article to which this template links.|optional|"other uses"}}
{{Usage/Param|link|A link to the contrasted article.|optional|disambiguation page}}
 
If there are several related titles, but one stands out as a secondary article, use ''second'' and ''secondlink'' instead of ''other'' and ''link''.
 
{{Usage|this{{=}}|second{{=}}|secondlink{{=}}}}
{{Usage/Param|second|A very brief description of the secondary article.}}
{{Usage/Param|secondlink|A link to the secondary article.}}
 
For the rare case of having both secondary and tertiary articles as well as others, "third" and "thirdlink" are also available. These should be used sparingly and should generally not be used if the hatnote extends too far over one line.
 
Examples:
*<code><nowiki>{{Specify}}</nowiki></code> → {{Specify}}
*<code><nowiki>{{Specify|this=the Specify template}}</nowiki></code> → {{Specify|this=the Specify template}}
*<code><nowiki>{{Specify|other=disambiguation guidelines|link=[[Help:Disambiguation]]}}</nowiki></code> → {{Specify|other=disambiguation guidelines|link=[[Help:Disambiguation]]}}
*<code><nowiki>{{Specify|this=the character|second=the first game in the series|secondlink=''[[The Legend of Zelda]]''}}</nowiki></code> → {{Specify|this=the character|second=the first game in the series|secondlink=''[[The Legend of Zelda]]''}}
 
For specific guidelines on when and how to use this template, see [[Help:Disambiguation]].
 
 
{{Cat|Formatting Templates}}