Difference between revisions of "Template:PlayerInfo"

From SpiralKnights

Jump to: navigation, search
Line 7: Line 7:
 
{{SKWindow/NewRow}}{{SKWindow/EmptyCell
 
{{SKWindow/NewRow}}{{SKWindow/EmptyCell
 
|1={{#switch:{{{visual|}}}
 
|1={{#switch:{{{visual|}}}
|#default  = [[File:{{{name|{{PAGENAME}}}}}-Mugshot.png|201px]]
+
|#default  = [[File:User-{{{name|{{PAGENAME}}}}}-Mugshot.png|201px]]
}}
+
|2 = center
+
|3 = middle
+
}}
+
{{SKWindow/NewRow}}
+
{{SKWindow/Cell|
+
|1 = {{#switch:{{{role|}}}|#default=[[:Category:NPCs|NPC]]|boss=[[Boss]]}}: [[{{ucfirst:{{{type}}}}}]]
+
 
|2 = center
 
|2 = center
 
|3 = middle
 
|3 = middle
Line 44: Line 37:
 
|}}
 
|}}
 
{{SKWindow/NewRow}}
 
{{SKWindow/NewRow}}
 +
{{#if:{{{weak|}}}
 +
|{{SKWindow/Cell|
 +
|1 = <div style="text-align:left;">'''Defenses''':</div>
 +
*Weak to: {{{weak}}}
 +
*Resistant to: {{{resist}}}
 +
|2 = left
 +
|3 = middle
 +
}}
 +
|}}
 +
{{SKWindow/NewRow}}
 +
{{#if:{{{drops|}}}
 +
|{{SKWindow/Cell|
 +
|1 = <div style="text-align:left;">'''Drops''':</div>
 +
{{{drops}}}
 +
|2 = left
 +
|3 = middle
 +
}}
 +
|}}
 +
[[Player]]
 
{{#switch:{{{type|}}}
 
{{#switch:{{{type|}}}
 
|#default =
 
|#default =
|Knight   = [[Category:Knights]]
+
|knight   = [[Category:Knights]]
 +
|gremlin  = [[Category:Gremlins]]
 +
|stranger = [[Category:Strangers]]
 
}}
 
}}
 
}}
 
}}
  
{{{intro|'''{{{name|{{PAGENAME}}}}}''' is a Player.}}}
+
{{{intro|'''{{{name|{{PAGENAME}}}}}''' is a [[Knight]].}}}</includeonly><noinclude>
 +
{{documentation}}[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Revision as of 10:58, 22 February 2017

[create] Template documentation
Personal tools