Difference between revisions of "Template:CostumeInfo"

From SpiralKnights

Jump to: navigation, search
m (test)
m
 
(43 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/Cell|'''[[Accessory#Attachment|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_ankle|no}}}{{{armor_aura|no}}}|nonononononononono=*[[: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_side|}}}  |#default =| yes = [[Image:Icon-accessory-helmet_side.png|16px|link=Helmet Side]]&nbsp;&nbsp;  [[Category:Helmet side attachment]]
 +
}}{{#switch: {{{helmet_front|}}}  |#default =| yes = [[Image:Icon-accessory-helmet_front.png|16px|link=Helmet Front]]&nbsp;&nbsp; [[Category:Helmet front attachment]]
 +
}}{{#switch: {{{helmet_back|}}}  |#default =| yes = [[Image:Icon-accessory-helmet_back.png|16px|link=Helmet Back]]&nbsp;&nbsp;  [[Category:Helmet back attachment]]
 +
}}{{#switch: {{{armor_front|}}}  |#default =| yes = [[Image:Icon-accessory-armor_front.png|16px|link=Armor Front]]&nbsp;&nbsp;  [[Category:Armor front 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_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]]
 +
}}
 +
}}
 
}}
 
}}
 
{{SKWindow/NewRow}}
 
{{SKWindow/NewRow}}
{{SKWindow/Cell|'''Set''':
+
{{SKWindow/Cell|'''[[List of sets|Set]]''':
 
{{#if:{{{set|}}}
 
{{#if:{{{set|}}}
 
|{{{set}}}
 
|{{{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|}}}
+
|{{#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}}})
 
|<br/>({{{set_notes}}})
 
|
 
|
 
}}
 
}}
 
}}
 
}}
 +
|padding = 5px 0px 5px 10px}}
 
}}
 
}}
{{SKWindow/NewRow}}
+
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]]}}}}.
{{SKWindow/Cell|'''Accessory Positions''':<br/>
+
[[Category:Costume items]]{{#switch: {{{promotional|}}}
{{#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=*None [[Category:No attachment]]
+
|#default =  
}}{{#switch: {{{helmet_top|}}}   |#default =| yes = [[Image:Icon-accessory-helmet_top.png|16px]]&nbsp;&nbsp;  [[Category:Helmet top attachment]]
+
|yes = [[Category:Promotional items]]
}}{{#switch: {{{helmet_side|}}}   |#default =| yes = [[Image:Icon-accessory-helmet_side.png|16px]]&nbsp;&nbsp;  [[Category:Helmet side attachment]]
+
}}</includeonly><noinclude>
}}{{#switch: {{{helmet_front|}}} |#default =| yes = [[Image:Icon-accessory-helmet_front.png|16px]]&nbsp;&nbsp; [[Category:Helmet front attachment]]
+
{{documentation}} [[Category:Infobox templates|{{PAGENAME}}]] </noinclude>
}}{{#switch: {{{helmet_back|}}}   |#default =| yes = [[Image:Icon-accessory-helmet_back.png|16px]]&nbsp;&nbsp;  [[Category:Helmet back attachment]]
+
}}{{#switch: {{{armor_front|}}}  |#default =| yes = [[Image:Icon-accessory-armor_front.png|16px]]&nbsp;&nbsp;  [[Category:Armor front attachment]]
+
}}{{#switch: {{{armor_back|}}}   |#default =| yes = [[Image:Icon-accessory-armor_back.png|16px]]&nbsp;&nbsp;  [[Category:Armor back attachment]]
+
}}{{#switch: {{{armor_rear|}}}    |#default =| yes = [[Image:Icon-accessory-armor_rear.png|16px]]&nbsp;&nbsp;  [[Category:Armor rear attachment]]
+
}}{{#switch: {{{armor_aura|}}}    |#default =| yes = [[Image:Icon-accessory-armor_aura.png|16px]]&nbsp;&nbsp;  [[Category:Armor aura attachment]]
+
}}
+
}}
+
}}The '''{{{name}}}''' is {{#switch:{{{expiring|no}}}|yes=an [[Costumes (Expiring)|expiring costume]]. <includeonly>[[Category:Expiring Items|Costume]]</includeonly>|no=a [[costume]].}}
+
__NOTOC__
+
[[Category:Costume items]]{{#switch: {{{promotional|}}}| #default = | yes = [[Category:Promotional items]]}}{{#switch: {{{recipe|no}}}|no=[[Category:No Recipe]]|yes = }}
+

Latest revision as of 20:49, 6 March 2019

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