Editing Template:Item Infobox
Template page
More actions
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, Selling Price, Description | ||
|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}}}}} | ||
|Selling Price = {{#if:{{{sell|{{{price|}}}}}}|{{Item|Dough|20|x={{{sell|{{{price}}}}}}}}}} | |Selling Price = {{#if:{{{sell|{{{price|}}}}}}|{{Item|Dough|20|x={{{sell|{{{price}}}}}}}}}} | ||
|Description = {{{description|}}} | |||
|How to Obtain_collapsible = Yes | |How to Obtain_collapsible = Yes | ||
| Line 38: | Line 28: | ||
|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 | ||
|+templateargs = name, number, quality, category, type, strength, source | |+templateargs = name, number, quality, category, type, strength, source, description, images | ||
|page_id = {{PAGEID}} | |page_id = {{PAGEID}} | ||
|sell = {{{sell|{{{price|}}}}}} | |sell = {{{sell|{{{price|}}}}}} | ||
| Line 58: | Line 48: | ||
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> | ||