Template:Infobox chip: Difference between revisions

Template page
No edit summary
No edit summary
Line 78: Line 78:
|header15 = <span></span>
|header15 = <span></span>
|rowclass15 = infobox-button-bar
|rowclass15 = infobox-button-bar
}}[[Category:Chips]][[Category:{{#switch:{{{class|}}}|Link Navi signature=Link Navi signature chips|{{{class|}}} class chips}}]][[Category:{{{element|}}} element chips]]{{#if:{{{jponly|}}}|[[Category:Japan-exclusive chips]]|}}{{#ifeq:{{{class|}}}|Mega||{{#if:{{{game|}}}|[[Category:{{{game}}}-exclusive chips]]|}}}}{{#if:{{{code1|}}}|[[Category:{{{code1}}} code chips]]|}}{{#if:{{{code2|}}}|[[Category:{{{code2}}} code chips]]|}}{{#if:{{{code3|}}}|[[Category:{{{code3}}} code chips]]|}}{{#if:{{{code4|}}}|[[Category:{{{code4}}} code chips]]|}}</includeonly><noinclude>{{/doc}}</noinclude>
}}[[Category:Chips]][[Category:{{#switch:{{{class|}}}|Link Navi signature=Link Navi signature chips|{{{class|}}} class chips}}]][[Category:{{{element|}}} element chips]]{{#if:{{{jponly|}}}|[[Category:Japan-exclusive chips]]|}}{{#ifeq:{{{class|}}}|Mega||{{#if:{{{game|}}}|[[Category:{{{game}}}-exclusive chips]]|}}}}{{#vardefine: i|0}}{{#while:
  | {{#ifexpr: {{#var: i}} < {{#len: {{{codes|}}}}} | true }}
  | [[Category:{{trim|{{#sub: {{{codes|}}}|{{#var: i}}|1}}}} code chips]]{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }}
}}</includeonly><noinclude>{{/doc}}</noinclude>

Revision as of 20:55, 18 October 2022