Difference between revisions of "Template:Card List/Row"
From A3! Wiki
Fimbulvetr (talk | contribs) |
Fimbulvetr (talk | contribs) |
||
Line 16: | Line 16: | ||
<noinclude> | <noinclude> | ||
+ | ==Code== | ||
+ | <pre>|| {{{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|?}}} | ||
+ | |- | ||
+ | </pre> | ||
+ | |||
+ | ==How to use== | ||
+ | In the case of prebloomed promo cards, please put "yes" as the "prebloomed" value. Leave blank or remove otherwise. Everything else should be self-explanatory. | ||
+ | |||
+ | Note that this template MUST be used within the [[Card List]] table as it is just a table row. | ||
+ | |||
+ | <pre>{{Card List/Row | ||
+ | |number= | ||
+ | |prebloomed= | ||
+ | |character= | ||
+ | |rarity= | ||
+ | |attribute= | ||
+ | |cardname= | ||
+ | |troupe= | ||
+ | |cardset= | ||
+ | }}</pre> | ||
+ | |||
+ | ==Example in use== | ||
{| class="wikitable a3table sortable" | {| class="wikitable a3table sortable" | ||
|- | |- | ||
Line 48: | Line 81: | ||
}} | }} | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</noinclude> | </noinclude> |
Revision as of 01:36, 6 June 2017
Code
|| {{{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|?}}} |-
How to use
In the case of prebloomed promo cards, please put "yes" as the "prebloomed" value. Leave blank or remove otherwise. Everything else should be self-explanatory.
Note that this template MUST be used within the Card List table as it is just a table row.
{{Card List/Row |number= |prebloomed= |character= |rarity= |attribute= |cardname= |troupe= |cardset= }}
Example in use
# | Icon | Character | Rarity | Attribute | Card Name | Troupe | Card Set |
---|---|---|---|---|---|---|---|
1 | Sakuya Sakuma | SSR | Action | Secret Special Training on the Riverside | 20px Other | Non-Existent | |
2 | Sakuya Sakuma | SSR | Action | Secret Special Training on the Riverside | 20px Other | Non-Existent |