Template:Chip list/row: Difference between revisions

Template page
No edit summary
Tag: Manual revert
No edit summary
Tag: Manual revert
 
(5 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 name|}}}">{{Chip icon|gamenumber={{{Game number|}}}|librarysection={{{Chip library section|}}}|number={{{Chip number|}}}|gamevariant={{{Game variant|}}}|link={{{-Has subobject|}}}}} [[{{{-Has subobject|}}}|{{{Chip name|}}}]]{{#ifeq:{{{Chip name|}}}|{{{Chip full name|}}}||<span> </span><small>{{{Chip full name|}}}</small>}}</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|[[List of chips by code (BN{{#switch:{{{Game number|}}}|4.5=4|{{{Game number|}}}}})#PLACEHOLDER|PLACEHOLDER]]|\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 {{#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-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