Difference between revisions of "Template:Card List/Row"

From A3! Wiki
m
 
(32 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
|| {{{number|?}}}
+
| style="text-align: center" | '''{{{number|}}}'''
 +
|| {{#switch: {{{prebloomed|}}} | yes | 1 | Yes = [[File:({{#ifeq: {{{cardname|}}}|Tales of Chivalry: Ginji the Wanderer|Tales of Chivalry Ginji the Wanderer|{{{cardname|}}}}}) {{{character}}} {{{attribute}}} {{{rarity}}} Icon Bloomed.png|center|33px]]
 +
| no | No | 0 = [[File:({{#ifeq: {{{cardname|}}}|Tales of Chivalry: Ginji the Wanderer|Tales of Chivalry Ginji the Wanderer|{{{cardname|}}}}}) {{{character}}} {{{attribute}}} {{{rarity}}} Icon Unbloomed.png|33px]] [[File:({{#ifeq: {{{cardname|}}}|Tales of Chivalry: Ginji the Wanderer|Tales of Chivalry Ginji the Wanderer|{{{cardname|}}}}}) {{{character}}} {{{attribute}}} {{{rarity}}} Icon Bloomed.png|33px]]
 +
| #default = [[File:({{#ifeq: {{{cardname|}}}|Tales of Chivalry: Ginji the Wanderer|Tales of Chivalry Ginji the Wanderer|{{{cardname|}}}}}) {{{character}}} {{{attribute}}} {{{rarity}}} Icon Unbloomed.png|33px]] [[File:({{#ifeq: {{{cardname|}}}|Tales of Chivalry: Ginji the Wanderer|Tales of Chivalry Ginji the Wanderer|{{{cardname|}}}}}) {{{character}}} {{{attribute}}} {{{rarity}}} Icon Bloomed.png|33px]]}}
 
| style="text-transform: capitalize" |[[{{{character|?}}}]]
 
| style="text-transform: capitalize" |[[{{{character|?}}}]]
 
| style="text-transform: uppercase" | {{{rarity|?}}}
 
| style="text-transform: uppercase" | {{{rarity|?}}}
 
|| {{#if: {{{attribute|?}}} | [[File:{{{attribute}}}.png|20px|link=|{{{attribute}}}]] {{{attribute}}}}}
 
|| {{#if: {{{attribute|?}}} | [[File:{{{attribute}}}.png|20px|link=|{{{attribute}}}]] {{{attribute}}}}}
|| {{{cardname|?}}}
+
|| [[Card/{{{character}}}/{{{cardname}}}|{{{cardname}}}]]
 
|| {{#switch: {{{troupe}}} | spring | Spring=[[File:Spring troupe.png|20px|link=|]] <span style="color:#ff91b2">Spring</span>
 
|| {{#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>
 
     | summer | Summer=[[File:Summer troupe.png|20px|link=]] <span style="color:#ffc800">Summer</span>
Line 11: Line 14:
 
     || N/A | Other=[[File:Supporting Cast.png|20px|link=]] Other}}
 
     || N/A | Other=[[File:Supporting Cast.png|20px|link=]] Other}}
 
|| {{{cardset|?}}}
 
|| {{{cardset|?}}}
|-
+
|- style="height: 3em;"
 
</includeonly>
 
</includeonly>
  
 
<noinclude>
 
<noinclude>
{| class="wikitable a3table sortable"
+
==Code==
|-
+
<pre>
! #
+
| style="text-align: center" | '''{{{number|?}}}'''
! Character
+
|| {{#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]] }}
! Rarity
+
| style="text-transform: capitalize" |[[{{{character|?}}}]]
! Attribute
+
| style="text-transform: uppercase" | {{{rarity|?}}}
! Card Name
+
|| {{#if: {{{attribute|?}}} | [[File:{{{attribute}}}.png|20px|link=|{{{attribute}}}]] {{{attribute}}}}}
! Troupe
+
|| {{{cardname|?}}}
! Card Set
+
|| {{#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>
{{Card List/Row
+
    | autumn | Autumn=[[File:Autumn troupe.png|20px|link=]] <span style="color:#ff9b63">Autumn</span>
|number=1
+
    | winter | Winter=[[File:Winter troupe.png|20px|link=]] <span style="color:#6ac1ff">Winter</span>
|character=Sakuya Sakuma
+
    || N/A | Other=[[File:Supporting Cast.png|20px|link=]] Other}}
|rarity=SSR
+
|| {{{cardset|?}}}
|attribute=Comedy
+
|- style="height: 3em;"
|cardname=Example Card
+
</pre>
|troupe=
+
 
|cardset=Non-Existent
+
==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:
  
<pre>{{Card List/Row
+
<pre>{{Card List
 
|number=
 
|number=
 +
|prebloomed=
 
|character=
 
|character=
 
|rarity=
 
|rarity=

Latest revision as of 08:14, 26 October 2017


Code[edit]

| 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[edit]

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=
}}