FANDOM


Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:C/doc to edit this documentation. (How does this work?)

This template contains data of every card, loaded by Template:Deck, which displays decks mainly in mission pages.

  • This template doesn't load card stats from each card page, nor latest XML on developer's server.

Format of this template

When data goes out of date, you can edit it to update.

For example, the data of Blitz is as below:

|Blitz={{#switch:{{{2}}}|1=2</td><td>8</td><td>3</td><td>Evade 1</td><td>Armor 1</td><td>
|2=3</td><td>8</td><td>3</td><td>Evade 1</td><td>Armor 1</td><td>
|3=3</td><td>9</td><td>3</td><td>Evade 1</td><td>Armor 1</td><td>Siege 2
|X|4=3</td><td>10</td><td>3</td><td>Evade 1</td><td>Armor 1</td><td>Siege 3}}

Data is written in the following manner:

|(card name)={{#switch:{{{2}}}|1=(level 1 data)
|2=(level 2 data)
        :
|n-1=(level n-1 data)
|X|n=(level n data)}}
  • n is the max level of the card
  • please add |X before the data of max level, as you can see

where data of each level is:

attack</td><td>health</td><td>delay</td><td>skill 1</td><td>skill 2</td><td>skill 3

Usage

Functionally, This template gives 1 row of table which contains card stats, in response to given card name and level.

This template is made to be called by Template:Deck. If you want to display deck (especially in mission pages), use that instead.

However, this template can be used alone and displayed on a table when wrapped by table tags:

<table class="wikitable">
{{C|(card name)|(card level)}}
</table>

If you set Blitz as card name and 2 as level, then you get:

Blitz2383Evade 1Armor 1
Community content is available under CC-BY-SA unless otherwise noted.