Difference between revisions of "Template:CostumeInfo"
From SpiralKnights
(Modification to the ArmorInfo template. However this is specifically used for Costumes as to remove the icon. (I don't feel safe modifying the main template at least not yet)) |
m |
||
(163 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{SKWindow | + | <includeonly>{{SKWindow |
| width = 300px | | width = 300px | ||
| align = right | | align = right | ||
| margin = 0px 0px 20px 20px | | margin = 0px 0px 20px 20px | ||
− | | title = {{{name | + | | title = <div style="font-size:75%; text-align:center;">{{{name}}}</div> |
| body = | | body = | ||
{{SKWindow/NewRow}} | {{SKWindow/NewRow}} | ||
− | {{SKWindow/EmptyCell|[[Image:{{{ | + | {{SKWindow/EmptyCell|[[Image:{{{imgfix|{{{name|Unknown}}}}}}-Equipped.png|center]] |
− | + | }}{{#switch: {{{shield|}}} | yes = | | |
− | + | ||
− | + | ||
− | + | ||
− | {{#switch: {{{ | + | |
− | | yes = | + | |
− | + | ||
{{SKWindow/NewRow}} | {{SKWindow/NewRow}} | ||
− | {{SKWindow/Cell|''' | + | {{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]] [[Category:Helmet top attachment]] | |
− | + | }}{{#switch: {{{helmet_side|}}} |#default =| yes = [[Image:Icon-accessory-helmet_side.png|16px|link=Helmet Side]] [[Category:Helmet side attachment]] | |
− | {{#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}}} | | + | }}{{#switch: {{{helmet_front|}}} |#default =| yes = [[Image:Icon-accessory-helmet_front.png|16px|link=Helmet Front]] [[Category:Helmet front attachment]] |
+ | }}{{#switch: {{{helmet_back|}}} |#default =| yes = [[Image:Icon-accessory-helmet_back.png|16px|link=Helmet Back]] [[Category:Helmet back attachment]] | ||
+ | }}{{#switch: {{{armor_front|}}} |#default =| yes = [[Image:Icon-accessory-armor_front.png|16px|link=Armor Front]] [[Category:Armor front attachment]] | ||
+ | }}{{#switch: {{{armor_back|}}} |#default =| yes = [[Image:Icon-accessory-armor_back.png|16px|link=Armor Back]] [[Category:Armor back attachment]] | ||
+ | }}{{#switch: {{{armor_rear|}}} |#default =| yes = [[Image:Icon-accessory-armor_rear.png|16px|link=Armor Rear]] [[Category:Armor rear attachment]] | ||
+ | }}{{#switch: {{{armor_ankle|}}} |#default =| yes = [[Image:Icon-accessory-armor_ankle.png|16px|link=Armor Ankle]] [[Category:Armor ankle attachment]] | ||
+ | }}{{#switch: {{{armor_aura|}}} |#default =| yes = [[Image:Icon-accessory-armor_aura.png|16px|link=Armor Aura]] [[Category:Armor aura attachment]] | ||
}} | }} | ||
}} | }} | ||
}} | }} | ||
− | + | {{SKWindow/NewRow}} | |
− | + | {{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}} | ||
}} | }} | ||
− | </includeonly> | + | 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] [ ] Template documentation
- pending
The above documentation is transcluded from Template:CostumeInfo/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |