Template:Furniture Infobox: Difference between revisions

eh not ideal, but it is what it is (switch doesn't work)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 37: Line 37:
|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}}}|;|²{#ifeq:{item}¦Stone¦[[{item} (Material)¦{item}]]¦²{#ifeq:{item}¦Yarn¦[[{item} (Material)¦{item}]]¦[[{item}]]}²}²|, |template=1}}}}
|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}}}}}}}}}}