Template:Chip list/row: Difference between revisions

Template page
No edit summary
No edit summary
Line 4: Line 4:
<td class="data-codes">{{#arraymap:{{{Chip code|}}}|,|PLACEHOLDER|[[List of chips by code (BN{{#switch:{{{Game number|}}}|4.5=4|{{{Game number|}}}}})#PLACEHOLDER|PLACEHOLDER]]|\s}}</td>
<td class="data-codes">{{#arraymap:{{{Chip code|}}}|,|PLACEHOLDER|[[List of chips by code (BN{{#switch:{{{Game number|}}}|4.5=4|{{{Game number|}}}}})#PLACEHOLDER|PLACEHOLDER]]|\s}}</td>
<td class="data-mb" style="text-align: right">{{{Chip MB|}}}</td>
<td class="data-mb" style="text-align: right">{{{Chip MB|}}}</td>
<td class="data-element" data-sort-value="{{{Chip element|}}}">{{#if:{{{Chip element|}}}|[[File:Element {{#switch:{{{Game number|}}}|4.5=4|{{{Game number|}}}}} {{{Chip element}}}.png|14px|link=List of chips by element (BN{{{Game number|}}})#{{{Chip element|}}}]] [[List of chips by element (BN{{{Game number|}}})#{{{Chip element|}}}|{{{Chip element|}}}]]|}}</td>
<td class="data-element" data-sort-value="{{{Chip element|}}}">{{#if:{{{Chip element|}}}|[[File:Element {{#switch:{{{Game number|}}}|4.5=4|{{{Game number|}}}}} {{{Chip element}}}.png|14px|link=List of chips by element (BN{{{Game number|}}})#{{{Chip element|}}}]] [[List of chips by element (BN{{#switch:{{{Game number|}}}|4.5=4|{{{Game number|}}}}})#{{{Chip element|}}}|{{{Chip element|}}}]]|}}</td>
<td class="data-damage" data-sort-value="{{{Chip damage|}}}" style="text-align: right">{{#ifeq:{{{Chip damage|}}}|0|—|{{{Chip damage|}}}}}</td>
<td class="data-damage" data-sort-value="{{{Chip damage|}}}" style="text-align: right">{{#ifeq:{{{Chip damage|}}}|0|—|{{{Chip damage|}}}}}</td>
</tr></includeonly></onlyinclude><noinclude>{{/doc}}</noinclude>
</tr></includeonly></onlyinclude><noinclude>{{/doc}}</noinclude>

Revision as of 18:19, 22 October 2022