Difference between revisions of "Template:CostumeInfo"

From SpiralKnights

Jump to: navigation, search
m (removed redundant category)
m
 
(36 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{SKWindow
+
<includeonly>{{SKWindow
 
| width = 300px
 
| width = 300px
 
| align = right
 
| align = right
Line 6: Line 6:
 
| body =
 
| body =
 
{{SKWindow/NewRow}}
 
{{SKWindow/NewRow}}
{{SKWindow/EmptyCell|[[Image:{{{name|Unknown}}}{{{fiximg|}}}-Equipped.png|center]]  
+
{{SKWindow/EmptyCell|[[Image:{{{imgfix|{{{name|Unknown}}}}}}-Equipped.png|center]]  
}}
+
}}{{#switch: {{{shield|}}} | yes = |
 
{{SKWindow/NewRow}}
 
{{SKWindow/NewRow}}
{{SKWindow/Cell|'''Set''':
+
{{SKWindow/Cell|'''[[Accessory#Attachment|Accessory Positions]]''':<br/>
{{#if:{{{set|}}}
+
{{#switch:{{{helmet_top|no}}}{{{helmet_side|no}}}{{{helmet_front|no}}}{{{helmet_back|no}}}{{{armor_front|no}}}{{{armor_back|no}}}{{{armor_rear|no}}}{{{armor_ankle|no}}}{{{armor_aura|no}}}|nonononononononono=*[[:Category:No attachment|None]] [[Category:No attachment]]  
|{{{set}}}
+
|{{#ifexist:File:Equipment-{{{name}}} icon.png|*[[File:Equipment-{{{name}}} icon.png|36px|{{{name}}}]] This item isn't in any official [[List of sets#Costume Sets|sets]].|*This item isn't in any official [[List of sets#Costume Sets|sets]].}}{{#if:{{{set_notes|}}}
+
|<br/>({{{set_notes}}})
+
|
+
}}
+
}}
+
|padding = 5px 0px 5px 10px}}
+
{{SKWindow/NewRow}}
+
{{SKWindow/Cell|'''Accessory Positions''':<br/>
+
{{#switch:{{{helmet_top|no}}}{{{helmet_side|no}}}{{{helmet_front|no}}}{{{helmet_back|no}}}{{{armor_front|no}}}{{{armor_back|no}}}{{{armor_rear|no}}}{{{armor_aura|no}}}|nononononononono=*[[:Category:No attachment|None]] [[Category:No attachment]]  
+
 
}}{{#switch: {{{helmet_top|}}}    |#default =| yes = [[Image:Icon-accessory-helmet_top.png|16px|link=Helmet Top]]&nbsp;&nbsp;  [[Category:Helmet top attachment]]
 
}}{{#switch: {{{helmet_top|}}}    |#default =| yes = [[Image:Icon-accessory-helmet_top.png|16px|link=Helmet Top]]&nbsp;&nbsp;  [[Category:Helmet top attachment]]
 
}}{{#switch: {{{helmet_side|}}}  |#default =| yes = [[Image:Icon-accessory-helmet_side.png|16px|link=Helmet Side]]&nbsp;&nbsp;  [[Category:Helmet side attachment]]
 
}}{{#switch: {{{helmet_side|}}}  |#default =| yes = [[Image:Icon-accessory-helmet_side.png|16px|link=Helmet Side]]&nbsp;&nbsp;  [[Category:Helmet side attachment]]
Line 28: Line 18:
 
}}{{#switch: {{{armor_back|}}}    |#default =| yes = [[Image:Icon-accessory-armor_back.png|16px|link=Armor Back]]&nbsp;&nbsp;  [[Category:Armor back attachment]]
 
}}{{#switch: {{{armor_back|}}}    |#default =| yes = [[Image:Icon-accessory-armor_back.png|16px|link=Armor Back]]&nbsp;&nbsp;  [[Category:Armor back attachment]]
 
}}{{#switch: {{{armor_rear|}}}    |#default =| yes = [[Image:Icon-accessory-armor_rear.png|16px|link=Armor Rear]]&nbsp;&nbsp;  [[Category:Armor rear attachment]]
 
}}{{#switch: {{{armor_rear|}}}    |#default =| yes = [[Image:Icon-accessory-armor_rear.png|16px|link=Armor Rear]]&nbsp;&nbsp;  [[Category:Armor rear attachment]]
 +
}}{{#switch: {{{armor_ankle|}}}  |#default =| yes = [[Image:Icon-accessory-armor_ankle.png|16px|link=Armor Ankle]]&nbsp;&nbsp;  [[Category:Armor ankle attachment]]
 
}}{{#switch: {{{armor_aura|}}}    |#default =| yes = [[Image:Icon-accessory-armor_aura.png|16px|link=Armor Aura]]&nbsp;&nbsp;  [[Category:Armor aura attachment]]
 
}}{{#switch: {{{armor_aura|}}}    |#default =| yes = [[Image:Icon-accessory-armor_aura.png|16px|link=Armor Aura]]&nbsp;&nbsp;  [[Category:Armor aura attachment]]
 
}}
 
}}
 
}}
 
}}
}}The '''{{{name}}}''' {{#switch:{{{grammar|}}}|#default=is|plural=are}} {{#switch:{{{expiring|no}}}|yes=an [[Costumes (Expiring)|expiring costume]]. <includeonly>[[Category:Expiring Items|Costume]]</includeonly>|no=a [[costume]].}}  
+
}}
__NOTOC__
+
{{SKWindow/NewRow}}
<includeonly>[[Category:Costume items]]{{#switch: {{{promotional|}}}| #default = | yes = [[Category:Promotional items]]}}</includeonly>
+
{{SKWindow/Cell|'''[[List of sets|Set]]''':
 +
{{#if:{{{set|}}}
 +
|{{{set}}}
 +
|{{#ifexist:File:Equipment-{{{name}}} icon.png|*[[File:Equipment-{{{name}}} icon.png|36px|{{{name}}}]] isn't in a set.|*This item isn't in a set.}}{{#if:{{{set_notes|}}}
 +
|<br/>({{{set_notes}}})
 +
|
 +
}}
 +
}}
 +
|padding = 5px 0px 5px 10px}}
 +
}}
 +
The '''{{{disambigfix|{{{name}}}}}}''' {{#switch:{{{grammar|}}}|#default= is|plural = are}} {{#switch:{{{expiring|no}}}|yes = an [[Costume (expiring)|expiring costume]][[Category:Expiring Items|Costume]]|no = a {{#switch:{{{shield|}}}|yes=[[Costume|shield costume]]|[[costume]]}}}}.
 +
[[Category:Costume items]]{{#switch: {{{promotional|}}}
 +
|#default =  
 +
|yes = [[Category:Promotional items]]
 +
}}</includeonly><noinclude>
 +
{{documentation}} [[Category:Infobox templates|{{PAGENAME}}]] </noinclude>

Latest revision as of 20:49, 6 March 2019

[edit] [purge] Template documentation
  • pending
Personal tools