Template:Chip list/row: Difference between revisions

Template page
No edit summary
No edit summary
Line 2: Line 2:
<td class="data-id">{{{Chip ID}}}</td>
<td class="data-id">{{{Chip ID}}}</td>
<td class="data-name" data-sort-value="{{{Chip full name|}}}">{{Chip icon|gamenumber={{{Game number|}}}|librarysection={{{Chip library section|}}}|number={{{Chip number|}}}|gamevariant={{{Game variant|}}}|link={{{-Has subobject|}}}}} [[{{{-Has subobject|}}}|{{{Chip name|}}}]]</td>
<td class="data-name" data-sort-value="{{{Chip full name|}}}">{{Chip icon|gamenumber={{{Game number|}}}|librarysection={{{Chip library section|}}}|number={{{Chip number|}}}|gamevariant={{{Game variant|}}}|link={{{-Has subobject|}}}}} [[{{{-Has subobject|}}}|{{{Chip name|}}}]]</td>
<td class="data-codes">{{#arraymap:{{{Chip code|}}}|,|PLACEHOLDER|<tt>[[List of chips by code (BN{{{Game number|}}})#PLACEHOLDER|PLACEHOLDER]]</tt>|\s}}</td>
<td class="data-codes">{{#arraymap:{{{Chip code|}}}|,|PLACEHOLDER|[[List of chips by code (BN{{{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 {{{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 {{{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-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 02:14, 22 October 2022