Template:Rarity returns
Jump to navigation
Jump to search
Usage[edit source]
{{Rarity returns|<renderName, name, or id of rarity to return>|<returns renderName, name, id, regularCraft, regularDisenchant, goldenCraft, or goldenDisenchant of that rarity (default is name)>|<template format to display return (default is Count layout)>}}
Notes[edit source]
- If the rarity does not have a custom definition yet, it will always return id and use {{Count layout}}.
Examples[edit source]
{{Rarity returns|0|renderName}}
returns: 0{{Rarity returns|0|renderName|Link layout}}
returns: 0{{Rarity returns|0|renderName|File layout}}
returns: 0{{Rarity returns|0|renderName|File and link layout}}
returns: 0{{Rarity returns|0|renderName}}
returns: 0
{{Rarity returns|Common}}
returns: COMMON{{Rarity returns|Free|name}}
returns: FREE{{Rarity returns|COMMON|id}}
returns: 1
{{Rarity returns|3|renderName|File layout}}
returns:{{Rarity returns|4|name|Link layout}}
returns: EPIC{{Rarity returns|FREE|renderName|File and link layout}}
returns: Free{{Rarity returns|5|renderName|File and link layout}}
returns: Legendary
{{Rarity returns|3|renderName|File layout|mercs}}
returns:{{Rarity returns|4|name|Link layout|mercs}}
returns: EPIC{{Rarity returns|FREE|renderName|File and link layout|mercs}}
returns: Free{{Rarity returns|5|renderName|File and link layout|mercs}}
returns: Legendary
{{Rarity returns|Common|mercenariesImage}}
returns: Mercenaries - Common.png