Template:Set Infobox: Difference between revisions
Moved quality class to affect entire infobox |
added tags. |
||
| Line 15: | Line 15: | ||
|Information_collapsible = Yes | |Information_collapsible = Yes | ||
|Information = Type, Group, Quality, Source, Reward | |Information = Type, Group, Tags, Quality, Source, Reward | ||
|Type = <!-- | |Type = <!-- | ||
-->{{#if:{{#explode:{{{type}}}|;|1}}|<!-- | -->{{#if:{{#explode:{{{type}}}|;|1}}|<!-- | ||
| Line 25: | Line 25: | ||
-->{{List|[[{{{group}}}]]}}|<!-- | -->{{List|[[{{{group}}}]]}}|<!-- | ||
-->{{#if:{{{group|}}}|[[{{{group}}}]]}}<!-- | -->{{#if:{{{group|}}}|[[{{{group}}}]]}}<!-- | ||
-->}} | |||
|Tags = <!-- | |||
-->{{#if:{{#explode:{{{tags}}}|;|1}}|<!-- | |||
-->{{List|[[{{{tags}}}]]}}|<!-- | |||
-->{{#if:{{{tags|}}}|[[{{{tags}}}]]}}<!-- | |||
-->}} | -->}} | ||
|Quality = {{#if:{{{quality|}}}|<span class="quality-label">{{{quality}}}</span>}} | |Quality = {{#if:{{{quality|}}}|<span class="quality-label">{{{quality}}}</span>}} | ||
| Line 79: | Line 84: | ||
-->{{#if:{{{type|}}}|{{Array|{{{type}}}|;|[[Category:{item}]]}}}}<!-- | -->{{#if:{{{type|}}}|{{Array|{{{type}}}|;|[[Category:{item}]]}}}}<!-- | ||
-->{{#if:{{{group|}}}|{{Array|{{{group}}}|;|[[Category:{item}]]}}}}<!-- | -->{{#if:{{{group|}}}|{{Array|{{{group}}}|;|[[Category:{item}]]}}}}<!-- | ||
-->{{#if:{{{tags|}}}|{{Array|{{{tags}}}|;|[[Category:{item}]]}}}}<!-- | |||
Quality | Quality | ||
-->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}} | -->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}} | ||