Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
If you make an edit, a temporary account will be created for you.

Template:Furniture Infobox: Difference between revisions

Template page
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}}}|;|²{Link Label¦{item}¦}²|, |template=1}}}}
|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}}}}}}}}}}