Template:Otheruses/doc: Difference between revisions
Falterfire (talk | contribs) (Added templatedata shamelessly stolen from the OSRS wiki) |
(Amend docs in line with template amends) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
==Usage== | ==Usage== | ||
{{t|Otheruses|<nowiki>def=no</nowiki>|topic|other topic|link}} | {{t|Otheruses|<nowiki>def=no</nowiki>|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 {{t|Otheruses|Golbin (monster)}} to the top of the Golbin (thieving) article. | 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 {{t|Otheruses|Golbin (monster)}} to the top of the Golbin (thieving) article. | ||
Line 9: | Line 9: | ||
==Example== | ==Example== | ||
<code><nowiki>{{ | <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}} | ||
<code><nowiki>{{ | <code><nowiki>{{Otheruses|the disambiguation template}}</nowiki></code> | ||
{{ | {{Otheruses|the disambiguation template}} | ||
<code><nowiki>{{ | <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}} | ||
<code><nowiki>{{Otheruses|Abyssal Stardust|other types of stardust|Stardust|Golden Stardust}}</nowiki></code> | |||
{{Otheruses|Abyssal Stardust|other types of stardust|Stardust|Golden Stardust}} | |||
==See also== | ==See also== |
Latest revision as of 21:07, 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
- Template:Other uses, the template at Wikipedia