Template:Otheruses: Difference between revisions

From Melvor Idle
(Created new template shamelessly stolen from the OSRS wiki)
 
No edit summary
Line 1: Line 1:
<div style="margin:0.5em 2em 1em 2em;font-style:italic">{{#ifeq:{{{def}}}|no|{{#if:{{{1|}}}|For {{{1}}}, see [[{{{2}}}]].|For other uses, see [[{{NAMESPACE}}:{{PAGENAME}} (disambiguation)]].}}|This article is about {{{1}}}. {{#if:{{{2|}}}|For {{{2}}}, see [[{{{3}}}]].|For other uses, see [[{{NAMESPACE}}:{{PAGENAME}} (disambiguation)]].}}}}</div><noinclude>{{/doc}}</noinclude>
{{#invoke:Hatnote|hatnote|{{#ifeq:{{{def}}}|no|{{#if:{{{1|}}}|For {{{1}}}, see [[{{{2}}}]].|For other uses, see [[{{NAMESPACE}}:{{PAGENAME}} (disambiguation)]].}}|This article is about {{{1}}}. {{#if:{{{2|}}}|For {{{2}}}, see [[{{{3}}}]].|For other uses, see [[{{NAMESPACE}}:{{PAGENAME}} (disambiguation)]].}}}}<noinclude>
 
{{/doc}}</noinclude>

Revision as of 12:49, 19 July 2024

{{#invoke:Hatnote|hatnote|This article is about {{{1}}}. For other uses, see Template:Otheruses (disambiguation).

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

Usage

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

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: {{#invoke:Hatnote|hatnote|This article is about the Crafting skill. For information on training Crafting, see Crafting/Training.

{{Otheruses|the disambiguation template}} {{#invoke:Hatnote|hatnote|This article is about the disambiguation template. For other uses, see Template:Otheruses (disambiguation).

{{Otheruses|def=no|the Volcanic Cave boss|Malcs, the Guardian of Melvor}} {{#invoke:Hatnote|hatnote|For the Volcanic Cave boss, see Malcs, the Guardian of Melvor.

See also