Template:Chip list/row: Difference between revisions

Template page
No edit summary
Tag: visualeditor-wikitext
No edit summary
Tag: Manual revert
 
(58 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><includeonly><tr>
<onlyinclude><includeonly><tr>
<td class="data-id" style="width: 40px">{{{2}}}</td>
<td class="data-id">{{{id|}}}</td>
<td class="data-name" style="width: 30%">[[File:ChipIcon{{{2|}}}.png|14px|link={{{3|}}}]] [[{{{3|}}}]]</td>
<td class="data-name" data-sort-value="{{{name|}}}">{{Chip icon|gamenumber={{{gamenumber|}}}|librarysection={{{librarysection|}}}|number={{{number|}}}|gamevariant={{{gamevariant|}}}|link={{{pagename|}}}}} [[{{{pagename|}}}|{{{name|}}}]] <small>{{{fullname|}}}</small></td>
<td class="data-element">{{#if:{{{4|}}}|[[File:Element{{{4}}}.png|14px|link=|{{{4}}}|link=List of chips by element#{{{4|}}}]] [[List of chips by element#{{{4|}}}|{{{4|}}}]]|}}</td>
<td class="data-codes">{{#arraymap:{{{codes|}}}|,|PLACEHOLDER|[[List of chips by code (BN{{#switch:{{{gamenumber|}}}|4.5=4|{{{gamenumber|}}}}})#PLACEHOLDER|PLACEHOLDER]]|\s}}</td>
<td class="data-damage">{{#ifeq:{{{5|}}}|0||{{{5|}}}}}</td>
<td class="data-mb" style="text-align: right">{{{mb|}}}</td>
<td class="data-mb">{{{6|}}}</td>
<td class="data-element" data-sort-value="{{{element|}}}">{{#if:{{{element|}}}|[[File:Element {{#switch:{{{gamenumber|}}}|4.5=4|{{{gamenumber|}}}}} {{{element}}}.png|14px|link=List of chips by element (BN{{{gamenumber|}}})#{{{element|}}}]] [[List of chips by element (BN{{#switch:{{{gamenumber|}}}|4.5=4|{{{gamenumber|}}}}})#{{{element|}}}|{{{element|}}}]]|}}</td>
<td class="data-codes">
<td class="data-damage" data-sort-value="{{{damage|}}}" style="text-align: right">{{#ifeq:{{{damage|}}}|0||{{{damage|}}}}}</td>
{{#if:{{#explode:{{{7|}}}|, |0}}|[[List of chips by code#{{#explode:{{{7|}}}|,|0}}|{{#explode:{{{7|}}}|,|0}}]]|}}
{{#if:{{#explode:{{{7|}}}|, |1}}|[[List of chips by code#{{#explode:{{{7|}}}|,|1}}|{{#explode:{{{7|}}}|,|1}}]]|}}
{{#if:{{#explode:{{{7|}}}|, |2}}|[[List of chips by code#{{#explode:{{{7|}}}|,|2}}|{{#explode:{{{7|}}}|,|2}}]]|}}
{{#if:{{#explode:{{{7|}}}|, |3}}|[[List of chips by code#{{#explode:{{{7|}}}|,|3}}|{{#explode:{{{7|}}}|,|3}}]]|}}
</td>
</tr></includeonly></onlyinclude><noinclude>{{/doc}}</noinclude>
</tr></includeonly></onlyinclude><noinclude>{{/doc}}</noinclude>

Latest revision as of 23:09, 7 March 2023