Template:Item Infobox: Difference between revisions
Template page
More actions
added effect, moved selling price to bottom. |
added Collection score with an IFEQ testing if |Category = Crop. |
||
| Line 15: | Line 15: | ||
|Information_collapsible = Yes | |Information_collapsible = Yes | ||
|Information = Category, Type, Quality, Strength, Effect, Description, Selling Price | |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}]]|, }}}} | ||
| Line 23: | Line 23: | ||
|Effect = {{{effect|}}} | |Effect = {{{effect|}}} | ||
|Description = {{{description|}}} | |Description = {{{description|}}} | ||
|Collection Score = {{#ifeq:{{{category|}}}|Crop|{{#switch:{{{quality|}}}|<!-- | |||
-->|Gray|Common = +5<!-- | |||
-->|Blue|Uncommon = +10<!-- | |||
-->|Purple|Rare = +20<!-- | |||
-->|Gold|Stellar = +30<!-- | |||
-->|#default = +?<!-- | |||
-->}}<!-- | |||
-->|}} | |||
|Selling Price = {{#if:{{{sell|{{{price|}}}}}}|{{Item|Dough|20|x={{{sell|{{{price}}}}}}}}}} | |Selling Price = {{#if:{{{sell|{{{price|}}}}}}|{{Item|Dough|20|x={{{sell|{{{price}}}}}}}}}} | ||