Template:Infobox chip: Difference between revisions

Template page
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 23: Line 23:
  |Chip description (Japanese)={{{description_ja|}}}
  |Chip description (Japanese)={{{description_ja|}}}
}}{{Infobox
}}{{Infobox
|bodyclass = {{#ifeq:{{{class}}}|Program advance||mw-collapsible}} floatright chip-class-{{#switch:{{{class}}}|Standard=standard|Mega=mega|Giga=giga|Link Navi signature=linknavi}} {{#ifeq:{{{dark|false}}}|true|chip-dark||}}
|bodyclass = {{#ifeq:{{{class}}}|Program advance||mw-collapsible}} floatright chip-class-{{#switch:{{{class}}}|Standard=standard|Mega=mega|Giga=giga|Special=special}} {{#ifeq:{{{dark|false}}}|true|chip-dark||}}
|bodystyle = width:{{#switch:{{{gamenumber|}}}|1=256px|2=256px|3=256px|224px}}
|bodystyle = width:{{#switch:{{{gamenumber|}}}|1=256px|2=256px|3=256px|224px}}
|image1 = {{#ifeq:{{{class}}}|Program advance||[[File:Chip_{{{gamenumber|}}} {{{librarysection|}}}_{{padleft:{{{number}}}|3|0}}{{#if:{{{gamevariant|}}}|_{{{gamevariant|}}}|}}.png|{{#switch:{{{gamenumber|}}}|1=256px|2=256px|3=256px|224px}}]]}}
|image1 = {{#ifeq:{{{class}}}|Program advance||[[File:Chip_{{{gamenumber|}}} {{{librarysection|}}}_{{padleft:{{{number}}}|3|0}}{{#if:{{{gamevariant|}}}|_{{{gamevariant|}}}|}}.png|{{#switch:{{{gamenumber|}}}|1=256px|2=256px|3=256px|224px}}]]}}
Line 40: Line 40:
   
   
|label5 = Class
|label5 = Class
|data5 = {{#switch:{{{gamenumber|}}}|4.5=[[List of chips (BN4)#4.5-exclusive|{{{librarysection|}}}]]|[[List of chips (BN{{{gamenumber|}}})#{{{librarysection|}}}|{{{librarysection|}}}]]{{#ifeq:{{{class|}}}|{{{librarysection|}}}||<span> </span><small>{{{class|}}}</small>}}}}
|data5 = {{#switch:{{{gamenumber|}}}|4.5=[[Chips (BN4)#4.5-exclusive|{{{librarysection|}}}]]|[[Chips (BN{{{gamenumber|}}})#{{{librarysection|}}}|{{{librarysection|}}}]]{{#ifeq:{{{class|}}}|{{{librarysection|}}}||<span> </span><small>{{{class|}}}</small>}}}}
|rowclass5 = data-class infobox-data infobox-col2
|rowclass5 = data-class infobox-data infobox-col2
   
   
Line 51: Line 51:
|rowclass7 = data-element infobox-data infobox-col2
|rowclass7 = data-element infobox-data infobox-col2
   
   
|label8 = Damage
|label8 = Attack power
|data8 = {{#ifeq:{{{damage|}}}|0|—|{{{damage|}}}}}
|data8 = {{#ifeq:{{{damage|}}}|0|—|{{{damage|}}}}}
|rowclass8 = data-damage infobox-data infobox-col2
|rowclass8 = data-damage infobox-data infobox-col2
Line 90: Line 90:
|header15 = <span></span>
|header15 = <span></span>
|rowclass15 = infobox-button-bar
|rowclass15 = infobox-button-bar
}}[[Category:Chips (BN{{{gamenumber|}}})]][[Category:{{#switch:{{{class|}}}|Link Navi signature=Link Navi signature chips|{{{class|}}} class chips (BN{{{gamenumber|}}})}}]][[Category:{{{element|}}} element chips (BN{{{gamenumber|}}})]]{{#if:{{{jponly|}}}|[[Category:Japan-exclusive chips (BN{{{gamenumber|}}})]]|}}{{#ifeq:{{{class|}}}|Mega||{{#if:{{{gamevariant|}}}|[[Category:{{{gamevariant}}}-exclusive chips (BN{{{gamenumber|}}})]]|}}}}{{#arraymap:{{{codes|}}}|,|PLACEHOLDER|[[Category:PLACEHOLDER code chips (BN{{{gamenumber|}}})]]|\s}}<templatestyles src="Template:Infobox_chip/styles.css" /></includeonly><noinclude>{{/doc}}</noinclude>
}}[[Category:Chips (BN{{{gamenumber|}}})]][[Category:{{#switch:{{{class|}}}|Fixed=Fixed chips|{{{class|}}} class chips (BN{{{gamenumber|}}})}}]][[Category:{{{element|}}} element chips (BN{{{gamenumber|}}})]]{{#if:{{{jponly|}}}|[[Category:Japan-exclusive chips (BN{{{gamenumber|}}})]]|}}{{#ifeq:{{{class|}}}|Mega||{{#if:{{{gamevariant|}}}|[[Category:{{{gamevariant}}}-exclusive chips (BN{{{gamenumber|}}})]]|}}}}{{#arraymap:{{{codes|}}}|,|PLACEHOLDER|[[Category:PLACEHOLDER code chips (BN{{{gamenumber|}}})]]|\s}}<templatestyles src="Template:Infobox_chip/styles.css" /></includeonly><noinclude>{{/doc}}</noinclude>

Latest revision as of 16:09, 31 March 2023