Template:Infobox chip: Difference between revisions

Battle chip series
No edit summary
Tag: visualeditor-wikitext
No edit summary
Tag: visualeditor-wikitext
Line 3: Line 3:
{{Infobox
{{Infobox
|bodyclass = mw-collapsible floatright
|bodyclass = mw-collapsible floatright
|image1 = [[File:{{#switch:{{{class}}}|Standard=S|Mega=M|Giga=G}}chip{{padleft:{{{number}}}|3|0}}.png]]
|imagerowclass1 = infobox-image {{#if:{{{imagebg|}}}|{{#switch:{{{imagebg}}}|light=infobox-image--light|dark=infobox-image--dark|}}}}


|header1 = [[File:{{#switch:{{{class}}}|Standard=S|Mega=M|Giga=G}}chip{{padleft:{{{number}}}|3|0}}.png]] [[File:{{#switch:{{{class}}}|Standard=S|Mega=M|Giga=G}}chip{{padleft:{{{number}}}|3|0}}Icon.png|28px|link=]] {{{name|}}}
|header2 = [[File:{{#switch:{{{class}}}|Standard=S|Mega=M|Giga=G}}chip{{padleft:{{{number}}}|3|0}}Icon.png|28px|link=]] {{{name|}}}
|rowclass1 = infobox-title
|rowclass2 = infobox-title


|label2 = Description
|label3 = Description
|data2 = {{{description|}}}
|data3 = {{{description|}}}
|rowclass2 = data-description infobox-subtitle infobox-data infobox-col1
|rowclass3 = data-description infobox-subtitle infobox-data infobox-col1


|label3 = Class
|label4 = Class
|data3 = [[:Category:{{{class|}}} Class Chips|{{{class|}}}]]
|data4 = [[:Category:{{{class|}}} Class Chips|{{{class|}}}]]
|rowclass3 = data-class infobox-data infobox-col2
|rowclass4 = data-class infobox-data infobox-col2


|label4 = Library number
|label5 = Library number
|data4 = {{{number|}}}
|data5 = {{{number|}}}
|rowclass4 = data-number infobox-data infobox-col2
|rowclass5 = data-number infobox-data infobox-col2


|label5 = Element
|label6 = Element
|data5 = {{#if:{{{element|}}}|[[File:Element{{{element}}}.png|14px|link=|{{{element}}}|link=Category:{{{element|}}} Element Chips]]|}}
|data6 = {{#if:{{{element|}}}|[[File:Element{{{element}}}.png|14px|link=|{{{element}}}|link=Category:{{{element|}}} Element Chips]]|}}
|rowclass5 = data-element infobox-data infobox-col2
|rowclass6 = data-element infobox-data infobox-col2


|label6 = Damage
|label7 = Damage
|data6 = {{{damage|-}}}
|data7 = {{{damage|-}}}
|rowclass6 = data-damage infobox-data infobox-col2
|rowclass7 = data-damage infobox-data infobox-col2


|label7 = Codes
|label8 = Codes
|data7 = {{{codes|}}}
|data8 = {{{codes|}}}
|rowclass7 = data-codes infobox-data infobox-col1
|rowclass8 = data-codes infobox-data infobox-col1


|label8 = MB
|label9 = MB
|data8= {{{mb|}}}
|data9 = {{{mb|}}}
|rowclass8 = data-mb infobox-data infobox-col2
|rowclass9 = data-mb infobox-data infobox-col2


|label9 = # in folder
|label10 = # in folder
|data9 = {{#switch:{{#expr:floor({{{mb|0}}}/10)}}|0=5|1=5|2=4|3=3|4=2|1}}
|data10 = {{#switch:{{#expr:floor({{{mb|0}}}/10)}}|0=5|1=5|2=4|3=3|4=2|1}}
|rowclass9 = data-max infobox-data infobox-col2
|rowclass10 = data-max infobox-data infobox-col2


|label10 = Chip lockout
|label11 = Chip lockout
|data10 = {{{delay|}}} frames
|data11 = {{{delay|}}} frames
|rowclass10 = data-delay infobox-data infobox-col1
|rowclass11 = data-delay infobox-data infobox-col1


|label11 = Properties
|label12 = Properties
|data11 = {{{properties|}}}
|data12 = {{{properties|}}}
|rowclass11 = data-properties infobox-data infobox-col1
|rowclass12 = data-properties infobox-data infobox-col1
}}
}}


<includeonly>[[Category:Chips]][[Category:{{{class|}}} Class Chips]][[Category:{{{element|}}} Element Chips]]</includeonly>
<includeonly>[[Category:Chips]][[Category:{{{class|}}} Class Chips]][[Category:{{{element|}}} Element Chips]]</includeonly>

Revision as of 17:36, 17 October 2022


[[File:chip{{{number}}}.png]]
[[File:chip{{{number}}}Icon.png|28px|link=]]
Class[[:Category: Class Chips|]]
Damage-
# in folder5
Chip lockoutframes