Template:Chip list/row: Difference between revisions

Template page
No edit summary
No edit summary
Tag: Manual revert
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><includeonly><tr>
<onlyinclude><includeonly><tr>
<td class="data-id">{{{Chip ID}}}</td>
<td class="data-id">{{{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="{{{name|}}}">{{Chip icon|gamenumber={{{gamenumber|}}}|librarysection={{{librarysection|}}}|number={{{number|}}}|gamevariant={{{gamevariant|}}}|link={{{pagename|}}}}} [[{{{pagename|}}}|{{{name|}}}]] <small>{{{fullname|}}}</small></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:{{{codes|}}}|,|PLACEHOLDER|[[List of chips by code (BN{{#switch:{{{gamenumber|}}}|4.5=4|{{{gamenumber|}}}}})#PLACEHOLDER|PLACEHOLDER]]|\s}}</td>
<td class="data-mb" style="text-align: right">{{{Chip MB|}}}</td>
<td class="data-mb" style="text-align: right">{{{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="{{{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-damage" data-sort-value="{{{Chip damage|}}}" style="text-align: right">{{#ifeq:{{{Chip damage|}}}|0|—|{{{Chip damage|}}}}}</td>
<td class="data-damage" data-sort-value="{{{damage|}}}" style="text-align: right">{{#ifeq:{{{damage|}}}|0|—|{{{damage|}}}}}</td>
</tr></includeonly></onlyinclude><noinclude>{{/doc}}</noinclude>
</tr></includeonly></onlyinclude><noinclude>{{/doc}}</noinclude>

Latest revision as of 23:09, 7 March 2023