Difference between revisions of "Template:Wrongpage"
Decomposer (talk | contribs) m (Removed unnecessary </noinclude><noinclude>) |
Decomposer (talk | contribs) (Added usage and examples.) |
||
Line 1: | Line 1: | ||
− | :''This article is about {{{1}}} | + | :''This article is about {{{1}}}. {{#if:{{{2|}}}|For {{{2}}}, see [[{{{3}}}]].}} {{#if:{{{4|}}}|For {{{4}}}, see [[{{{5}}}]].}} {{#if:{{{text|}}}|{{{text}}}}}''<br> |
<noinclude> | <noinclude> | ||
− | + | ==Usage== | |
− | + | <code><nowiki>{{Wrongpage|Use0|Use1|Article1|Use2|Article2|text=ARBITRARY}}</nowiki></code> | |
− | + | ||
+ | This is '''always''' placed at the start of an article, to let the reader know that they are reading about <code>Use0</code> ('''required'''), which may be similar to a topic <code>Use1</code> (''optional''), which they may read more at the page <code>Article1</code> ('''required if Use1 is used'''). Another topic <code>Use2</code> (''optional''), which may be similar to the first and current topics, may be added, with its link being <code>Article2</code> ('''required if Use2 is used'''). | ||
+ | |||
+ | An arbitrary text <code>ARBITRARY</code> (''optional'') may be displayed at the end of the template. | ||
+ | |||
+ | :''Note: Pages with a disambiguation page with more than two entries should instead link to that disambiguation page.'' | ||
+ | |||
+ | ==Examples== | ||
+ | <code><nowiki>{{Wrongpage|the [[rabbit]] villager}}</nowiki></code> returns {{Wrongpage|the [[rabbit]] villager}} | ||
+ | |||
+ | <code><nowiki>{{Wrongpage|the [[rabbit]] villager introduced in {{CF}}|the [[mouse]] villager of the same name|Carmen (mouse)}}</nowiki></code> returns {{Wrongpage|the [[rabbit]] villager introduced in {{CF}}|the [[mouse]] villager of the same name|Carmen (mouse)}} | ||
+ | |||
+ | <code><nowiki>{{Wrongpage|a special species which includes [[Tortimer]]|a similar-looking special species|[[Kappa]]|a species of [[fish]]|Soft-Shelled Turtle}}</nowiki></code> returns {{Wrongpage|a special species that include [[Tortimer]]|a similar-looking special species which includes [[Kapp'n]]|Kappa|a species of [[fish]]|Soft-Shelled Turtle}} | ||
+ | |||
+ | <code><nowiki>{{Wrongpage|furniture items that play different sounds|the special species|Gyroid (species)|the item that sits outside the [[player]]'s house in {{PG}}|Gyroid (outdoor)|text=For other uses, see [[Gyroid]].}}</nowiki></code> returns {{Wrongpage|furniture items that play different sounds|the special species|Gyroid (species)|the item that sits outside the [[player]]'s house in {{PG}}|Gyroid (outdoor)|text=For other uses, see [[Gyroid]].}} | ||
+ | |||
+ | :''Note: The last example is just a demonstration of the template. The editor should instead just link to the disambiguation page [[Gyroid]] instead of exhaustively listing its specific uses.'' | ||
+ | |||
[[Category:Notice Templates]]</noinclude> | [[Category:Notice Templates]]</noinclude> |
Revision as of 23:41, March 14, 2019
- This article is about {{{1}}}.
Usage
{{Wrongpage|Use0|Use1|Article1|Use2|Article2|text=ARBITRARY}}
This is always placed at the start of an article, to let the reader know that they are reading about Use0
(required), which may be similar to a topic Use1
(optional), which they may read more at the page Article1
(required if Use1 is used). Another topic Use2
(optional), which may be similar to the first and current topics, may be added, with its link being Article2
(required if Use2 is used).
An arbitrary text ARBITRARY
(optional) may be displayed at the end of the template.
- Note: Pages with a disambiguation page with more than two entries should instead link to that disambiguation page.
Examples
{{Wrongpage|the [[rabbit]] villager}}
returns
- This article is about the rabbit villager.
{{Wrongpage|the [[rabbit]] villager introduced in {{CF}}|the [[mouse]] villager of the same name|Carmen (mouse)}}
returns
- This article is about the rabbit villager introduced in Animal Crossing: City Folk. For the mouse villager of the same name, see Carmen (mouse).
{{Wrongpage|a special species which includes [[Tortimer]]|a similar-looking special species|[[Kappa]]|a species of [[fish]]|Soft-Shelled Turtle}}
returns
- This article is about a special species that include Tortimer. For a similar-looking special species which includes Kapp'n, see Kappa. For a species of fish, see Soft-Shelled Turtle.
{{Wrongpage|furniture items that play different sounds|the special species|Gyroid (species)|the item that sits outside the [[player]]'s house in {{PG}}|Gyroid (outdoor)|text=For other uses, see [[Gyroid]].}}
returns
- This article is about furniture items that play different sounds. For the special species, see Gyroid (species). For the item that sits outside the player's house in Animal Crossing, see Gyroid (outdoor). For other uses, see Gyroid.
- Note: The last example is just a demonstration of the template. The editor should instead just link to the disambiguation page Gyroid instead of exhaustively listing its specific uses.