Category:Rarity Templates: Difference between revisions

Jump to navigation Jump to search
(Rewrite to include no-item case)
No edit summary
Line 1: Line 1:
These templates allow you to create a text link to a rarity category, or a specific item, using text in the appropriate colour for that rarity.
These templates allow you mention a rarity, or a specific item, using text in the appropriate colour.


To mention a rarity, just use the rarity's name in braces, e.g. <nowiki>{{very rare}}</nowiki> produces {{very rare}}.
To mention a rarity, just use the rarity's name in braces, e.g. <nowiki>{{very rare}}</nowiki> produces {{very rare}}. Note this does not link to an article.


To link to an item, provide its name as a parameter. For example, <nowiki>{{rare|Swiresy Shoes}}</nowiki> renders as {{rare|Swiresy Shoes}}.
For an item, provide its name as a parameter. For example, <nowiki>{{uncommon|Broken Wand}}</nowiki> produces {{uncommon|Broken Wand}}. If there's an article for the named item, then the text will link to it; e.g. <nowiki>{{rare|Swiresy Shoes}}</nowiki> renders as {{rare|Swiresy Shoes}}.
 
For weapon properties, use [[Template:rarity|rarity]] and the other [[:Category:Weapon Property Templates|Weapon Property Templates]].