Template:Item Infobox: Difference between revisions
ReisuDesign (talk | contribs) No edit summary |
No edit summary |
||
| Line 15: | Line 15: | ||
|Information_collapsible = Yes | |Information_collapsible = Yes | ||
|Information = Category, Type, Quality, Strength, Effect, Collection Score, Selling Price | |Information = Category, Type, Quality, Color, Strength, Effect, Collection Score, Selling Price | ||
|Category = {{#if:{{{category|}}}|[[{{{category}}}]]}} | |Category = {{#if:{{{category|}}}|[[{{{category}}}]]}} | ||
|Type = {{#if:{{{type|}}}|{{Array|{{{type}}}|;|[[{item}]]|, }}}} | |Type = {{#if:{{{type|}}}|{{Array|{{{type}}}|;|[[{item}]]|, }}}} | ||
|Type_label = Type{{#if:{{#explode:{{{type}}}|;|1}}|s}} | |Type_label = Type{{#if:{{#explode:{{{type}}}|;|1}}|s}} | ||
|Quality = {{#if:{{{quality|}}}|<span class="quality-label">{{{quality}}}</span>}} | |Quality = {{#if:{{{quality|}}}|<span class="quality-label">{{{quality}}}</span>}} | ||
|Color = {{#if:{{{color|}}}|{{Array|{{{color}}}|;|[[{item}]]|, |sort=1}}}} | |||
|Color_label = Color{{#if:{{#explode:{{{color}}}|;|1}}|s}} | |||
|Strength = {{#if:{{{strength|}}}|+{{{strength}}}}} | |Strength = {{#if:{{{strength|}}}|+{{{strength}}}}} | ||
|Effect = {{{effect|}}} | |Effect = {{{effect|}}} | ||
| Line 56: | Line 58: | ||
Type | Type | ||
-->{{#if:{{{type|}}}|{{Array|{{{type}}}|;|[[Category:{item}]]}}|}}<!-- | -->{{#if:{{{type|}}}|{{Array|{{{type}}}|;|[[Category:{item}]]}}|}}<!-- | ||
-->{{#if:{{{color|}}}|{{Cat List|{{{color}}}|{item} Items}}}}<!-- | |||
Quality | Quality | ||
-->{{#switch:{{{quality}}}|Gray| | -->{{#switch:{{{quality}}}|Gray|Blue|Purple|Gold|Common|Uncommon|Rare|Stellar=[[Category:{{{quality}}} Quality]]}} | ||
{{#if:{{{quality|}}}|[[Category:Item by Quality|{{#switch:{{{quality|}}} | {{#if:{{{quality|}}}|[[Category:Item by Quality|{{#switch:{{{quality|}}} | ||
|Gray = 0 | |Gray|Common = 0 | ||
| | |Blue|Uncommon = 1 | ||
|Purple = 2 | |Purple|Rare = 2 | ||
|Gold = 3 | |Gold|Stellar = 3 | ||
|#default = 4 | |#default = 4 | ||
}}]]}}<!-- | }}]]}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | --></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | ||