Template:Otheruses/doc: Difference between revisions

From Melvor Idle
(Added templatedata shamelessly stolen from the OSRS wiki)
 
(Amend example for consistency)
Line 9: Line 9:


==Example==
==Example==
<code><nowiki>{{otheruses|the Crafting skill|information on training Crafting|Crafting/Training}}</nowiki></code>
<code><nowiki>{{Otheruses|the Crafting skill|information on training Crafting|Crafting/Training}}</nowiki></code>
gives:
gives:
{{otheruses|the Crafting skill|information on training Crafting|Crafting/Training}}
{{Otheruses|the Crafting skill|information on training Crafting|Crafting/Training}}


<code><nowiki>{{otheruses|the disambiguation template}}</nowiki></code>
<code><nowiki>{{Otheruses|the disambiguation template}}</nowiki></code>
{{otheruses|the disambiguation template}}
{{Otheruses|the disambiguation template}}


<code><nowiki>{{otheruses|def=no|the god of balance|Guthix}}</nowiki></code>
<code><nowiki>{{Otheruses|def=no|the Volcanic Cave boss|Malcs, the Guardian of Melvor}}</nowiki></code>
{{otheruses|def=no|the Volcanic Cave boss|Malcs, the Guardian of Melvor}}
{{Otheruses|def=no|the Volcanic Cave boss|Malcs, the Guardian of Melvor}}


==See also==
==See also==

Revision as of 14:39, 29 October 2022

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:

{{Otheruses|the disambiguation template}}

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

See also