Template:Item Infobox: Difference between revisions
Template page
More actions
fallback to |score if cat is not crop |
ReisuDesign (talk | contribs) No edit summary |
||
| Line 15: | Line 15: | ||
|Information_collapsible = Yes | |Information_collapsible = Yes | ||
|Information = Category, Type, Quality, Strength, Effect | |Information = Category, Type, Quality, 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}]]|, }}}} | ||
| Line 22: | Line 22: | ||
|Strength = {{#if:{{{strength|}}}|+{{{strength}}}}} | |Strength = {{#if:{{{strength|}}}|+{{{strength}}}}} | ||
|Effect = {{{effect|}}} | |Effect = {{{effect|}}} | ||
|Collection Score = {{#ifeq:{{{category|}}}|Crop|{{#switch:{{{quality|}}}|<!-- | |Collection Score = {{#ifeq:{{{category|}}}|Crop|{{#switch:{{{quality|}}}|<!-- | ||
-->|Gray|Common = +5<!-- | -->|Gray|Common = +5<!-- | ||
| Line 37: | Line 36: | ||
|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}} | ||
}}<!-- | }}{{#if:{{{description|}}}|{{Description|{{{description}}}}}}}<!-- | ||
-->{{#invoke:Bucket|put|items | -->{{#invoke:Bucket|put|items | ||