Ad placeholder

Template:Rarity item: Difference between revisions

Jump to navigation Jump to search
add icon override
(Make it no_padding by default)
(add icon override)
Line 1: Line 1:
<includeonly><onlyinclude>{{ItemIcon|name={{{1}}}|size={{{2|25}}}|alias={{{alias|}}}|no_padding=true|show_name=true|show_rarity=true}}</onlyinclude></includeonly><noinclude>
<includeonly><onlyinclude>{{ItemIcon
|name={{{1}}}
|size={{{2|25}}}
|alias={{{alias|}}}
|no_padding=true
|show_name=true
|show_rarity=true
|override_icon={{{override_icon|}}}
|override_rarity={{{override_rarity|}}}
}}</onlyinclude></includeonly><noinclude>


{| class="wikitable"
{| class="wikitable"
Line 10: Line 19:
|}
|}


See [[Template:ItemIcon/Family]] for more variations of ItemIcon..
See [[Template:ItemIcon/Family]] for more variations of ItemIcon.
 


{{RarityItem|Shovel (item)}} {{RarityItem|Shovel (item)|override_icon=Ring G Faded.png|override_rarity=uncommon}}


<templatedata>
<templatedata>
Line 28: Line 37:
"alias": {
"alias": {
"description": "(optional) If specified, renames link text to this."
"description": "(optional) If specified, renames link text to this."
},
"override_icon": {
"description": "If specified, overrides the icon."
},
"override_rarity": {
"description": "If specified along with override_icon, sets the rarity."
}
}
},
},

Navigation menu