Difference between revisions of "Template:FurnitureList"

From SpiralKnights

Jump to: navigation, search
m (testing switch with imglinks)
(okay, wiki doesn't seem to like going through switches for image links. Rethinking basics of template (again))
Line 1: Line 1:
 
<noinclude>{|</noinclude>|-  valign="top"
 
<noinclude>{|</noinclude>|-  valign="top"
|  style="background: #c7dbea; color: #000000; padding: 3px 3px 3px 3px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;" | {{#ifexist:File:Furniture-{{{icon name|{{{example name}}}}}} icon.png
+
|  style="background: #c7dbea; color: #000000; padding: 3px 3px 3px 3px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;" |<noinclude>{{{image link}}}</noinclude>{{#ifexist:File:Furniture-{{{icon name|{{{example name}}}}}} icon.png
|[[File:Furniture-{{{icon name|{{{example name}}}}}} icon.png|36px|left|link=]]
+
|[[File:Furniture-{{{icon name|{{{example name}}}}}} icon.png|36px|left|link={{{image link}}}]]
 
|[[File:Icon-furniture.png|36px|left|link=File:Furniture-{{{icon name|{{{example name}}}}}} icon.png]]
 
|[[File:Icon-furniture.png|36px|left|link=File:Furniture-{{{icon name|{{{example name}}}}}} icon.png]]
}}{{#switch:{{{disambiguation issue}}}
+
}} [[{{{text link}}}|{{{general name}}}]]
| = [[{{{example name}}}|{{{general name}}}]]
+
|no = [[{{{example name}}}|{{{general name}}}]]
+
|yes = [[{{{example name}}}_(Furniture)|{{{general name}}}]]
+
}}
+
 
|  style="background: #c7dbea; color: #000000; padding: 3px 3px 3px 3px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;" align = "center" valign = "middle" | {{{group}}}
 
|  style="background: #c7dbea; color: #000000; padding: 3px 3px 3px 3px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;" align = "center" valign = "middle" | {{{group}}}
 
|  style="background: #c7dbea; color: #000000; padding: 3px 3px 3px 3px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;" align = "center" valign = "middle" | {{{type}}}
 
|  style="background: #c7dbea; color: #000000; padding: 3px 3px 3px 3px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;" align = "center" valign = "middle" | {{{type}}}
 
|  style="background: #c7dbea; color: #000000; padding: 3px 3px 3px 3px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;" |<noinclude>{{{overworld}}}</noinclude>
 
|  style="background: #c7dbea; color: #000000; padding: 3px 3px 3px 3px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;" |<noinclude>{{{overworld}}}</noinclude>
{{#switch:{{{overworld image}}}
+
{{#switch:{{{image}}}
|yes = [[File:Furniture-{{{example name}}}-Overworld.png|100px|center|link={{{disambiguation issue}}}]]
+
|overworld = [[File:Furniture-{{{example name}}}-Overworld.png|100px|center|link={{{image link}}}]]
|no= [[File:Furniture-{{{example name}}}.png|100px|center|link={{{disambiguation issue}}}]]
+
|tooltip = [[File:Furniture-{{{example name}}}.png|100px|center|link={{{image link}}}]]
|= [[File:Furniture-{{{example name}}}.png|100px|center|link={{{disambiguation issue}}}]]
+
 
}}<noinclude>|}</noinclude>
 
}}<noinclude>|}</noinclude>

Revision as of 20:34, 20 November 2014

{{{image link}}}
link=File:Furniture-{{{example name}}} icon.png
[[{{{text link}}}|{{{general name}}}]]
{{{group}}} {{{type}}} {{{overworld}}}
Personal tools