Template:Furniture Infobox: Difference between revisions
Template page
More actions
ReisuDesign (talk | contribs) No edit summary |
mNo edit summary |
||
| (18 intermediate revisions by 2 users not shown) | |||
| Line 5: | Line 5: | ||
|title = <!-- | |title = <!-- | ||
-->{{{title|<!-- | -->{{{title|<!-- | ||
-->{{#if:{{{number|}}}|<span class="archive-number">{{{number}}}</span>}}<!-- | |||
-->{{{name|{{PAGENAME}}}}}<!-- | -->{{{name|{{PAGENAME}}}}}<!-- | ||
-->}}} | -->}}} | ||
| Line 12: | Line 12: | ||
|images = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|[[File:²{#explode:{item}¦:¦0}²]]|,|template=1}}}} | |images = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|[[File:²{#explode:{item}¦:¦0}²]]|,|template=1}}}} | ||
|tabs = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|²{#explode:{item}¦:¦1}²|,|template=1}}}} | |tabs = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|²{#explode:{item}¦:¦1}²|,|template=1}}}} | ||
|sections = Checkbox, Information | |sections = Checkbox, Information, How to Obtain | ||
|Checkbox_nolabel = 1 | |Checkbox_nolabel = 1 | ||
| Line 28: | Line 28: | ||
|Outdoor Area = {{#if:{{{out_area|}}}|{{#replace:{{{out_area}}}|x|×}}}} | |Outdoor Area = {{#if:{{{out_area|}}}|{{#replace:{{{out_area}}}|x|×}}}} | ||
|Collection Score = {{#switch:{{{quality|}}}<!-- | |Collection Score = {{#switch:{{{quality|}}}<!-- | ||
-->|Common|Gray = +5<!-- | -->|Common|Gray = +{{{score|5}}}<!-- | ||
-->|Uncommon|Green = +10<!-- | -->|Uncommon|Green = +{{{score|10}}}<!-- | ||
-->|Rare|Purple = +{{{score| | -->|Rare|Purple = {{#if:{{{score|}}}|+{{{score|}}}}}<!-- | ||
-->|Stellar|Gold = +20<!-- | -->|Stellar|Gold = +{{{score|20}}}<!-- | ||
-->|Miracle = <!-- | -->|Miracle = {{{score|30}}}<!-- | ||
-->|#default = <!-- | -->|#default = <!-- | ||
-->}} | -->}} | ||
|Color = {{#if:{{{color|}}}|{{Array|{{{color}}}|;|[[{item}]]|, | |Color = {{#if:{{{color|}}}|{{Array|{{{color}}}|;|[[{item}]]|, }}}} | ||
|Color_label = Color{{#if:{{#explode:{{{color}}}|;|1}}|s}} | |Color_label = Color{{#if:{{#explode:{{{color}}}|;|1}}|s}} | ||
|Material = {{#if:{{{material|}}}|{{Array|{{{material}}}|;| | |Material = {{#if:{{{material|}}}|{{Array|{{{material}}}|;|²{Material Link¦{item}¦}²|, |template=1}}}} | ||
|Material_label = Material{{#if:{{#explode:{{{material}}}|;|1}}|s}} | |Material_label = Material{{#if:{{#explode:{{{material}}}|;|1}}|s}} | ||
|Selling Price = {{#if:{{{sell|{{{price|}}}}}}|{{Item|Dough|20|x={{{sell|{{{price}}}}}}}}}} | |Selling Price = {{#if:{{{sell|{{{price|}}}}}}|{{Item|Dough|20|x={{{sell|{{{price}}}}}}}}}} | ||
|How to Obtain_collapsible = Yes | |How to Obtain_collapsible = Yes | ||
| Line 51: | Line 46: | ||
|Source_label = Source{{#if:{{#explode:{{{source}}}|;|1}}|s}} | |Source_label = Source{{#if:{{#explode:{{{source}}}|;|1}}|s}} | ||
|Inspo Card = {{{inspo|}}} | |Inspo Card = {{{inspo|}}} | ||
}}<!-- | }}{{#if:{{{description|}}}|{{Description|{{{description}}}}}}}<!-- | ||
-->{{#invoke:Bucket|put|furniture | -->{{#invoke:Bucket|put|furniture | ||
| Line 60: | Line 55: | ||
|out_area = {{#if:{{{out_area|}}}|{{#replace:{{{out_area}}}|x|×}}}} | |out_area = {{#if:{{{out_area|}}}|{{#replace:{{{out_area}}}|x|×}}}} | ||
|collection_score = {{#switch:{{{quality|}}}<!-- | |collection_score = {{#switch:{{{quality|}}}<!-- | ||
-->|Common|Gray = 5<!-- | -->|Common|Gray = {{{score|5}}}<!-- | ||
-->|Uncommon|Green = 10<!-- | -->|Uncommon|Green = {{{score|10}}}<!-- | ||
-->|Rare|Purple = {{{score| | -->|Rare|Purple = {{{score|}}}<!-- | ||
-->|Stellar|Gold = 20<!-- | -->|Stellar|Gold = {{{score|20}}}<!-- | ||
-->|Miracle = <!-- | -->|Miracle = {{{score|30}}}<!-- | ||
-->|#default = <!-- | -->|#default = <!-- | ||
-->}} | -->}} | ||
| Line 88: | Line 83: | ||
-->[[Category:Furniture]]<!-- | -->[[Category:Furniture]]<!-- | ||
Sort | Sort | ||
-->{{#if:{{{ | -->{{#if:{{{id|}}}|[[Category:Furniture by ID|{{{id}}}]][[Category:Furniture by Quality and ID|{{#switch:{{{quality|}}} | ||
|Common|Gray = 5 | |||
|Uncommon|Green = 4 | |||
|Rare|Purple = 3 | |||
|Stellar|Gold = 2 | |||
|Miracle = 1 | |||
|#default = 0 | |||
}} - {{{id}}}]]|[[Category:Furniture by ID]][[Category:Furniture by Quality and ID]][[Category:Furniture Missing ID]]}}<!-- | |||
Category | Category | ||
-->{{#if:{{{category|}}}|[[Category:{{{category}}} Furniture]]}}<!-- | -->{{#if:{{{category|}}}|{{#ifeq:{{{category}}}|Basic Furniture|[[Category:{{{category}}}]]|[[Category:{{{category}}} Furniture]]}}}}<!-- | ||
Type | Type | ||
-->{{#if:{{{type|}}}|[[Category:{{{type}}} Furniture]]}}<!-- | -->{{#if:{{{type|}}}|[[Category:{{{type}}} Furniture]]}}<!-- | ||
Quality | Quality | ||
-->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold|Common|Uncommon|Rare| | -->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold|Common|Uncommon|Rare|Stellar|Miracle=[[Category:{{{quality}}} Quality]]|[[Category:Furniture Missing Quality]]}} | ||
{{#if:{{{quality|}}}|[[Category:Furniture by Quality|{{#switch:{{{quality|}}} | {{#if:{{{quality|}}}|[[Category:Furniture by Quality|{{#switch:{{{quality|}}} | ||
|Common|Gray = 0 | |Common|Gray = 0 | ||
| Line 102: | Line 104: | ||
|Miracle = 4 | |Miracle = 4 | ||
|#default = 5 | |#default = 5 | ||
}}]]}}<!-- | }}]]|[[Category:Furniture by Quality]]}}<!-- | ||
Set | Set | ||
-->{{#if:{{{set|}}}|[[Category:{{{set}}} Set Furniture]]}}<!-- | -->{{#if:{{{set|}}}|[[Category:{{{set}}} Set Furniture]]}}<!-- | ||