Difference between revisions of "Template:FurnitureList"
From SpiralKnights
(okay, wiki doesn't seem to like going through switches for image links. Rethinking basics of template (again)) |
m (yeah, bulky, but smooth. Feels like playing pingpong when I want to be playing basketball.) |
||
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;" | | + | | 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;" | |
− | |[[File:Furniture-{{{icon name|{{{example name}}}}}} icon.png|36px|left|link={{{ | + | {{#ifexist:File:Furniture-{{{icon name|{{{example name}}}}}} icon.png |
+ | |[[File:Furniture-{{{icon name|{{{example name}}}}}} icon.png|36px|left|link={{{page that images link to}}}]] | ||
|[[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]] | ||
− | }} [[{{{text | + | }} [[{{{page that text links to}}}|{{{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>{{{ | + | | 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}}}</noinclude> |
{{#switch:{{{image}}} | {{#switch:{{{image}}} | ||
− | |overworld = [[File:Furniture-{{{example name}}}-Overworld.png|100px|center|link={{{ | + | |overworld = [[File:Furniture-{{{example name}}}-Overworld.png|100px|center|link={{{page that images link to}}}]] |
− | |tooltip = [[File:Furniture-{{{example name}}}.png|100px|center|link={{{ | + | |tooltip = [[File:Furniture-{{{example name}}}.png|100px|center|link={{{page that images link to}}}]] |
}}<noinclude>|}</noinclude> | }}<noinclude>|}</noinclude> |
Revision as of 20:38, 20 November 2014
[[{{{page that text links to}}}|{{{general name}}}]] | {{{group}}} | {{{type}}} | {{{image}}} |