Difference between pages "Land Power" and "Template:Video game set list"
(Difference between pages)
(Restoring revision 5041906 by User:SnorlaxMonster on 2022-08-14 04:15:29.) |
(Restoring revision 5140345 by User:Dinoguy1000 on 2022-12-28 02:13:01. "don't display card numbers with commas") |
||
Line 1: | Line 1: | ||
− | {{ | + | <!-- |
− | | | + | -->{{ #vardefine: $has_quantities | {{{qty<includeonly>|</includeonly>}}} }}<!-- |
− | | | + | -->{{ #vardefine: $default_quantity | {{ #iferror: {{ #expr: +{{{qty|}}} }} || {{{qty|}}} }} }}<!-- |
− | + | ||
− | | | + | --><table class="wikitable sortable card-list" style="width: auto; clear: none;"> |
− | + | <tr> | |
− | + | <th scope="col"><abbr title="Number">#</abbr></th> | |
− | + | <th scope="col">Name</th> | |
− | + | <th scope="col" class="nomobile">[[Card type]]</th> | |
− | + | <th scope="col" class="nomobile">[[Property]]</th> | |
− | + | <th scope="col" class="nomobile">[[Attribute]]</th> | |
− | + | <th scope="col" class="nomobile">[[Type]]</th> | |
− | | | + | <th scope="col" class="nomobile">[[Level]]</th> |
− | | | + | <th scope="col" class="nomobile">[[ATK]]</th> |
− | | | + | <th scope="col" class="nomobile">[[DEF]]</th> |
− | | | + | <th scope="col">Rarity</th>{{ #if: {{ #var: $has_quantities }} | |
− | + | <th scope="col"><abbr title="Quantity">Qty</abbr></th> | |
− | + | }} | |
− | | | + | </tr>{{ #arraydefine: $cards | {{{cards|}}} | /\n/ }}{{ #arrayprint: $cards |
− | | | + | |  |
+ | | $row | ||
+ | | <!-- | ||
+ | -->{{ #vardefine: $i | {{ padleft: {{ #expr: {{ #var: $i }} + 1 }} | 4 | 0 }} }}<!-- | ||
+ | -->{{ #vardefine: $row | {{ #explode: $row | // }} }}<!-- | ||
+ | -->{{ #vardefine: $args | {{ #explode: $row | // | 1 }} }}<!-- | ||
+ | -->{{ #vardefine: $artwork | {{ #explode: {{ #var: $args }} | artwork:: | 1 }} }}<!-- | ||
+ | -->{{ #vardefine: $description | {{ #explode: {{ #var: $args }} | description:: | 1 }} }}<!-- | ||
+ | -->{{ #vardefine: $card | {{ #replace: {{ #explode: $row | ; }} | # }} }}<!-- | ||
+ | -->{{ #vardefine: $rarity | {{ #explode: {{ #var: $row }} | ; | 1 }} }}<!-- | ||
+ | -->{{ #vardefine: $quantity | {{ #if: {{{qty|}}} | {{ #explode: {{ #var: $row }} | ; | 2 }} }} }}<!-- | ||
+ | |||
+ | -->{{ #subobject: Set contains-{{ #var: $i }} | ||
+ | | Set contains = {{ #var: $card }} | ||
+ | | Subobject of = {{FULLPAGENAME}} | ||
+ | | Rarity = {{ #var: $rarity | Common }} | ||
+ | | Uses artwork = {{ #var: $artwork }} | ||
+ | | Amount = {{ #var: $quantity }} | ||
+ | }}<!-- | ||
+ | |||
+ | -->{{ #ask: [[{{ #var: $card }}#artwork_{{ #var: $artwork | 1 }}]] | ||
+ | |?Card number# | ||
+ | |?Subobject of.Internal number# | ||
+ | |?Subobject of.English name | ||
+ | |?Subobject of.Card type (short) | ||
+ | |?Subobject of.Property (short) | ||
+ | |?Subobject of.Attribute | ||
+ | |?Subobject of.Type | ||
+ | |?Subobject of.Level | ||
+ | |?Subobject of.ATK# = ATK | ||
+ | |?Subobject of.DEF# = DEF | ||
+ | |?Subobject of.ATK string | ||
+ | |?Subobject of.DEF string | ||
+ | |format = plainlist | ||
+ | |template = Video game set list/row | ||
+ | |named args = yes | ||
+ | |default = {{Video game set list/row}} | ||
+ | }} | ||
}} | }} | ||
+ | </table><noinclude> | ||
+ | |||
+ | {{documentation}}</noinclude> |