Difference between revisions of "Template:FurnitureList"

From SpiralKnights

Jump to: navigation, search
m (ah, icon link got broken too, fixed)
m (adding dynamics so disambiguation pages don't get linked to (part of previous format being put back in))
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|[[File:Furniture-{{{icon name|{{{example name}}}}}} icon.png|36px|left|link={{{example name}}}]]|[[File:Icon-furniture.png|36px|left|link=File:Furniture-{{{icon name|{{{example name}}}}}} icon.png]]}} [[{{{example name}}}|{{{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;" | {{#ifexist:File:Furniture-{{{icon name|{{{example name}}}}}} icon.png|[[File:Furniture-{{{icon name|{{{example name}}}}}} icon.png|36px|left|link={{{page link}}}]]|[[File:Icon-furniture.png|36px|left|link=File:Furniture-{{{icon name|{{{example name}}}}}} icon.png]]}} [[{{{page link}}}|{{{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:{{{overworld image}}}
|yes = [[File:Furniture-{{{example name}}}-Overworld.png|100px|center|link={{{example name}}}]]
+
|yes = [[File:Furniture-{{{example name}}}-Overworld.png|100px|center|link={{{page link}}}]]
|no= [[File:Furniture-{{{example name}}}.png|100px|center|link={{{example name}}}]]
+
|no= [[File:Furniture-{{{example name}}}.png|100px|center|link={{{page link}}}]]
|= [[File:Furniture-{{{example name}}}.png|100px|center|link={{{example name}}}]]
+
|= [[File:Furniture-{{{example name}}}.png|100px|center|link={{{page link}}}]]
 
}}<noinclude>|}</noinclude>
 
}}<noinclude>|}</noinclude>

Revision as of 18:33, 20 November 2014

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