Template:Otheruses: Difference between revisions

From Melvor Idle
No edit summary
(Apply changes to def=no case also)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#invoke:Hatnote|hatnote|{{#ifeq:{{{def}}}|no|{{#if:{{{1|}}}|For {{{1}}}, see [[{{{2}}}]].|For other uses, see [[{{NAMESPACE}}:{{PAGENAME}} (disambiguation)]].}}|This article is about {{{1|{{PAGENAME}}}}}. {{#if:{{{2|}}}|For {{{2}}}, see [[{{{3}}}]].|For other uses, see [[{{NAMESPACE}}:{{PAGENAME}} (disambiguation)]].}}}}}}<noinclude>
{{#invoke:Hatnote|hatnote|{{#ifeq:{{{def}}}|no|{{#if:{{{1|}}}|For {{{1}}}, see {{#if:{{{3|}}}|[[{{{2}}}]] or [[{{{3}}}]]|[[{{{2}}}]]}}.|For other uses, see [[{{NAMESPACE}}:{{PAGENAME}} (disambiguation)]].}}|This article is about {{{1|{{PAGENAME}}}}}. {{#if:{{{2|}}}|For {{{2}}}, see {{#if:{{{4|}}}|[[{{{3}}}]] or [[{{{4}}}]]|[[{{{3}}}]]}}.|For other uses, see [[{{NAMESPACE}}:{{PAGENAME}} (disambiguation)]].}}}}}}<noinclude>
 
{{/doc}}</noinclude>
{{/doc}}</noinclude>

Latest revision as of 21:09, 10 November 2024

Otheruses is used to add disambiguation links at the top of the page.

Usage

{{Otheruses|def=no|topic|other topic|link|link2}}

Do not use this template on an article with an unambiguous title; for example, a reader who searches specifically for "Golbin (thieving)" is not likely to have been looking for an article about the monster, so it would not be appropriate to add {{Otheruses|Golbin (monster)}} to the top of the Golbin (thieving) article.

The def=no parameter is optional.

Example

{{Otheruses|the Crafting skill|information on training Crafting|Crafting/Training}} gives:

{{Otheruses|the disambiguation template}}

{{Otheruses|def=no|the Volcanic Cave boss|Malcs, the Guardian of Melvor}}

{{Otheruses|Abyssal Stardust|other types of stardust|Stardust|Golden Stardust}}

See also