Difference between revisions of "Template:PlayerInfo"

From SpiralKnights

Jump to: navigation, search
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
|{{SKWindow/Cell|
+
<includeonly>{{SKWindow
|1 = <div style="text-align:left;">'''Primary Location(s)''':</div>
+
| width = 300px
{{{location}}}
+
| align = right
|2 = left
+
| margin = 0px 0px 20px 20px
|3 = middle
+
| title = <div style="font-size:68%; text-align:center;">{{{name|{{PAGENAME}}}}}</div>
 +
| body =
 +
{{SKWindow/NewRow}}{{SKWindow/EmptyCell
 +
|1={{#switch:{{{visual|}}}
 +
|#default  = [[File:{{{name| User-{{PAGENAME}}}}}-Mugshot.png|201px]]
 
}}
 
}}
|}}
+
|2 = center
{{SKWindow/NewRow}}
+
{{#if:{{{abilities|}}}
+
|{{SKWindow/Cell|
+
|1 = <div style="text-align:left;">'''Abilities''':</div>
+
{{{abilities}}}
+
|2 = left
+
 
|3 = middle
 
|3 = middle
 
}}
 
}}
|}}
 
 
{{SKWindow/NewRow}}
 
{{SKWindow/NewRow}}
{{#if:{{{weak|}}}
+
{{SKWindow/Cell|
|{{SKWindow/Cell|
+
|1 = <div style="text-align:left;">'''Role(s)''':</div>
|1 = <div style="text-align:left;">'''Defenses''':</div>
+
{{{role}}}
*Weak to: {{{weak}}}
+
*Resistant to: {{{resist}}}
+
 
|2 = left
 
|2 = left
 
|3 = middle
 
|3 = middle
 
}}
 
}}
|}}
 
 
{{SKWindow/NewRow}}
 
{{SKWindow/NewRow}}
{{#if:{{{drops|}}}
+
{{#if:{{{location|}}}
 
|{{SKWindow/Cell|
 
|{{SKWindow/Cell|
|1 = <div style="text-align:left;">'''Drops''':</div>
+
|1 = <div style="text-align:left;">'''Primary Location(s)''':</div>
{{{drops}}}
+
{{{location}}}
 
|2 = left
 
|2 = left
 
|3 = middle
 
|3 = middle
 
}}
 
}}
 
|}}
 
|}}
[[Category:Players]]
+
Knight
{{#switch:{{{type|}}}
+
|#default =
+
|knight  = [[Category:Knights]]
+
|gremlin  = [[Category:Gremlins]]
+
|stranger = [[Category:Strangers]]
+
}}
+
 
}}
 
}}
 
{{{intro|'''{{{name|{{PAGENAME}}}}}''' is an [[Player]].}}}</includeonly><noinclude>
 
{{documentation}}[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
 

Latest revision as of 05:59, 6 March 2017

Personal tools