Template:Clothing Infobox: Difference between revisions
No edit summary |
maybe type able to take an array |
||
| Line 20: | Line 20: | ||
|Information = Category, Type, Quality, Set, Tags, Selling Price | |Information = Category, Type, Quality, Set, Tags, Selling Price | ||
|Category = {{#if:{{{category|}}}|[[{{{category}}}]]}} | |Category = {{#if:{{{category|}}}|[[{{{category}}}]]}} | ||
|Type = {{#if:{{{type|}}}|[[{{{type}}} | |Type = {{#if:{{{type|}}}|{{Array|{{{type}}}|;|[[{item}]]|, }}}} | ||
|Type_label = Type{{#if:{{#explode:{{{type}}}|;|1}}|s}} | |||
|Quality = <!-- | |Quality = <!-- | ||
-->{{#if:{{{quality|}}}|<!-- | -->{{#if:{{{quality|}}}|<!-- | ||
| Line 72: | Line 73: | ||
-->{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}<!-- | -->{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}<!-- | ||
Type | Type | ||
-->{{#if:{{{type|}}}| | -->{{#if:{{{type|}}}|{{Array|{{{type}}}|;|[[Category:{item}]]}}|}}<!-- | ||
Quality | Quality | ||
-->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}} | -->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}} | ||