Difference between revisions of "Template:Item icon"
From MoronYard Wiki
Line 35: | Line 35: | ||
|8 = #BE2026 | |8 = #BE2026 | ||
|9 = #9B9B9B | |9 = #9B9B9B | ||
+ | |10 = #FF6400 | ||
+ | |11 = #4D7455 | ||
+ | |12 = #78ABA7 | ||
+ | |13 = #FFD700 | ||
+ | |14 = #D0A070 | ||
+ | |15 = #FF00FD | ||
|#default = #FFD700}};"> | |#default = #FFD700}};"> | ||
<div>{{#if:{{{name|}}} | <div class="qual{{#if:{{{rarity|}}}|{{{rarity}}}|0}}">{{{name}}}</div> {{#if:{{{type|}}} | <span class="invDesc">{{{type}}}</span>}} {{#if:{{{description|}}} | {{#if:{{{type|}}} | <br/>}} <span class="istats">{{{description}}}</span>}}}}</div> | <div>{{#if:{{{name|}}} | <div class="qual{{#if:{{{rarity|}}}|{{{rarity}}}|0}}">{{{name}}}</div> {{#if:{{{type|}}} | <span class="invDesc">{{{type}}}</span>}} {{#if:{{{description|}}} | {{#if:{{{type|}}} | <br/>}} <span class="istats">{{{description}}}</span>}}}}</div> |
Latest revision as of 10:36, 25 July 2015
Usage:
- The only required value is "id", which is the item code (sets the image).
- Rarity will add the outline to the icon box (0 = common, 1 = rare, 2 = legendary, 3 = special, 4 = bundle, 5 = community, 6 = vintage, 7 = relic, 8 = mythical, 9 = broken).
- To display an overlay hoverbox the "name" must be provided.
- Optional attributes for the hoverbox are "type" and "description".
{{item icon | id = itmkey | name = Key of Relics | type = Key | description = Is so freaking cool! | rarity = 7 }}
Examples
Key of Relics Key
Is so freaking cool!
Key of Relics
Key Is so freaking cool!