Editing Template:Item Infobox
Appearance
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 15: | Line 15: | ||
|Information_collapsible = Yes | |Information_collapsible = Yes | ||
|Information = Category, Type, Quality | |Information = Category, Type, Quality, Strength, Effect, Description, 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>}} | ||
|Strength = {{#if:{{{strength|}}}|+{{{strength}}}}} | |Strength = {{#if:{{{strength|}}}|+{{{strength}}}}} | ||
|Effect = {{{effect|}}} | |Effect = {{{effect|}}} | ||
|Description = {{{description|}}} | |||
|Collection Score = {{#ifeq:{{{category|}}}|Crop|{{#switch:{{{quality|}}}|<!-- | |Collection Score = {{#ifeq:{{{category|}}}|Crop|{{#switch:{{{quality|}}}|<!-- | ||
-->|Gray|Common = +5<!-- | -->|Gray|Common = +5<!-- | ||
| Line 38: | Line 37: | ||
|Source = {{#if:{{#explode:{{{source}}}|;|1}}|{{List|{{{source}}}}}|{{{source|}}}}} | |Source = {{#if:{{#explode:{{{source}}}|;|1}}|{{List|{{{source}}}}}|{{{source|}}}}} | ||
|Source_label = Source{{#if:{{#explode:{{{source}}}|;|1}}|s}} | |Source_label = Source{{#if:{{#explode:{{{source}}}|;|1}}|s}} | ||
}}<!-- | |||
-->{{#invoke:Bucket|put|items | -->{{#invoke:Bucket|put|items | ||
| Line 58: | Line 57: | ||
Type | Type | ||
-->{{#if:{{{type|}}}|{{Array|{{{type}}}|;|[[Category:{item}]]}}|}}<!-- | -->{{#if:{{{type|}}}|{{Array|{{{type}}}|;|[[Category:{item}]]}}|}}<!-- | ||
Quality | Quality | ||
-->{{#switch:{{{quality}}}|Gray| | -->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}} | ||
{{#if:{{{quality|}}}|[[Category:Item by Quality|{{#switch:{{{quality|}}} | {{#if:{{{quality|}}}|[[Category:Item by Quality|{{#switch:{{{quality|}}} | ||
|Gray | |Gray = 0 | ||
| | |Green = 1 | ||
|Purple | |Purple = 2 | ||
|Gold | |Gold = 3 | ||
|#default = 4 | |#default = 4 | ||
}}]]}}<!-- | }}]]}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | --></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | ||