Template:Furniture Infobox: Difference between revisions
Template page
More actions
adding link label to material |
eh not ideal, but it is what it is (switch doesn't work) |
||
| 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}}}|;|²{ | |Material = {{#if:{{{material|}}}|{{Array|{{{material}}}|;|²{#ifeq:{item}¦Stone¦[[{item} (Material)¦{item}]]¦²{#ifeq:{item}¦Yarn¦[[{item} (Material)¦{item}]]¦[[{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}}}}}}}}}} | ||