Difference between revisions of "Template:MaterialInfo"

From SpiralKnights

Jump to: navigation, search
m (test)
m (spacing issue)
 
(6 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
| title = <div style="font-size:75%; text-align:center;">{{{name}}}</div>
 
| title = <div style="font-size:75%; text-align:center;">{{{name}}}</div>
 
| body =
 
| body =
{{SKWindow/NewRow}}{{SKWindow/EmptyCell|{{#ifexist:File:Crafting-{{{name}}}.png|[[File:Crafting-{{{name}}}.png|300px]]|[[File:Image Wanted.png|link=File:Crafting-{{{name|}}}.png]]
+
{{SKWindow/NewRow}}{{SKWindow/EmptyCell|{{#switch:{{{imagefix|}}}
 +
|#default={{#ifexist:File:Crafting-{{{name}}}.png|[[File:Crafting-{{{name}}}.png|200px]]|[[File:Image Wanted.png|link=File:Crafting-{{{name|}}}.png]]}}
 +
|food={{#ifexist:File:Food-{{{name}}}.png|[[File:Food-{{{name}}}.png|200px]]|[[File:Image Wanted.png|link=File:Food-{{{name|}}}.png]]}} <includeonly>[[Category:Battle Sprites]]</includeonly>
 
}}
 
}}
 
|2 = center
 
|2 = center
Line 16: Line 18:
 
|3 = middle
 
|3 = middle
 
}}
 
}}
 +
<includeonly>[[Category:Materials]]</includeonly>
 
}}
 
}}
  
The '''{{{name}}}''' is a {{{star}}}-star [[material]].
+
The '''{{{name}}}''' is a {{{star}}}-star [[material]].<noinclude>
 +
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 17:31, 3 October 2015

{{{name}}}
Image Wanted.png
☆☆☆☆☆

The {{{name}}} is a {{{star}}}-star material.

Personal tools