Template:Card List/Row

From A3! Wiki
< Template:Card List
Revision as of 08:13, 26 October 2017 by Fimbulvetr (talk | contribs) (doing some truly stupid coding to get around a colon)


Code

| style="text-align: center" | '''{{{number|?}}}'''
|| {{#if: {{{prebloomed|?}}} | [[File:({{{cardname}}}) {{{character}}} {{{attribute}}} {{{rarity}}} Icon Bloomed.png|center|33px]] | [[File:({{{cardname}}}) {{{character}}} {{{attribute}}} {{{rarity}}} Icon Unbloomed.png|33px]] [[File:({{{cardname}}}) {{{character}}} {{{attribute}}} {{{rarity}}} Icon Bloomed.png|33px]] }}
| style="text-transform: capitalize" |[[{{{character|?}}}]]
| style="text-transform: uppercase" | {{{rarity|?}}}
|| {{#if: {{{attribute|?}}} | [[File:{{{attribute}}}.png|20px|link=|{{{attribute}}}]] {{{attribute}}}}}
|| {{{cardname|?}}}
|| {{#switch: {{{troupe}}} | spring | Spring=[[File:Spring troupe.png|20px|link=|]] <span style="color:#ff91b2">Spring</span>
    | summer | Summer=[[File:Summer troupe.png|20px|link=]] <span style="color:#ffc800">Summer</span>
    | autumn | Autumn=[[File:Autumn troupe.png|20px|link=]] <span style="color:#ff9b63">Autumn</span>
    | winter | Winter=[[File:Winter troupe.png|20px|link=]] <span style="color:#6ac1ff">Winter</span>
    || N/A | Other=[[File:Supporting Cast.png|20px|link=]] Other}}
|| {{{cardset|?}}}
|- style="height: 3em;"

How to use

In the case of prebloomed promo cards, please put "yes" or "1" as the "prebloomed" value. Leave blank or remove otherwise. Everything else should be self-explanatory.

To add a card, modify Template:Card List with the following attributes:

{{Card List
|number=
|prebloomed=
|character=
|rarity=
|attribute=
|cardname=
|troupe=
|cardset=
}}