Difference between revisions of "Template:EDS card"
(Fix password2 for when password doesn't exist) |
(Support calling "Divine-Beast" "Divine", remove Type icon for Divine monsters.) |
||
Line 11: | Line 11: | ||
-->{{ #vardefine: $attribute | {{ uc: {{{attribute|}}} }} }}<!-- | -->{{ #vardefine: $attribute | {{ uc: {{{attribute|}}} }} }}<!-- | ||
-->{{ #vardefine: $type | {{ #explode: {{{types<includeonly>|</includeonly>}}} | / }} }}<!-- | -->{{ #vardefine: $type | {{ #explode: {{{types<includeonly>|</includeonly>}}} | / }} }}<!-- | ||
+ | -->{{ #vardefine: $type_link | {{ #ifeq: {{ #var: $type }} | Divine | Divine-Beast | {{ #var: $type }} }} }}<!-- | ||
-->{{ #vardefine: $type2 | {{ #explode: {{{types|}}} | / | 1 }} }}<!-- | -->{{ #vardefine: $type2 | {{ #explode: {{{types|}}} | / | 1 }} }}<!-- | ||
-->{{ #vardefine: $type3 | {{ #explode: {{{types|}}} | / | 2 }} }}<!-- | -->{{ #vardefine: $type3 | {{ #explode: {{{types|}}} | / | 2 }} }}<!-- | ||
Line 85: | Line 86: | ||
}}<!-- | }}<!-- | ||
-->[[Attribute::{{ #var: $attribute }}| ]]<!-- | -->[[Attribute::{{ #var: $attribute }}| ]]<!-- | ||
− | -->[[Type::{{ #var: $ | + | -->[[Type::{{ #var: $type_link }}| ]]<!-- |
-->{{ #set: Lore = {{{lore|}}} }}<!-- | -->{{ #set: Lore = {{{lore|}}} }}<!-- | ||
-->{{ #if: {{{level|}}} | {{Star properties}} }}<!-- | -->{{ #if: {{{level|}}} | {{Star properties}} }}<!-- | ||
Line 144: | Line 145: | ||
| label4 = [[Type]] | | label4 = [[Type]] | ||
| data4 = {{ #if: {{{types<includeonly>|</includeonly>}}} | | | data4 = {{ #if: {{{types<includeonly>|</includeonly>}}} | | ||
− | [[File:{{ #var: $type }}-TF06.png|16px|alt=]] | + | {{ #ifeq: {{ #var: $type }} | Divine || [[File:{{ #var: $type }}-TF06.png|16px|alt=]] }} |
− | [[{{ #var: $ | + | [[{{ #var: $type_link }}|{{ #var: $type }}]] {{ #if: {{ #var: $type2_page }} | |
 / [[{{ #var: $type2_page }}|{{ #var: $type2 }}]] }}{{ #if: {{ #var: $type3_page }} | |  / [[{{ #var: $type2_page }}|{{ #var: $type2 }}]] }}{{ #if: {{ #var: $type3_page }} | | ||
 / [[{{ #var: $type3_page }}|{{ #var: $type3 }}]] }} |  / [[{{ #var: $type3_page }}|{{ #var: $type3 }}]] }} |
Revision as of 15:28, 18 May 2019
EDS card
Type |
[[File:{{{types}}}-TF06.png|16px|alt=]] [[{{{types}}}|{{{types}}}]] |
---|---|
ATK / DEF | {{{atk}}} / {{{def}}} |
Effect type |
|
Number |
|
Internal number |
|
Password | {{{password}}} |
{{{lore}}} |
- [[Card Gallery:{{{main}}}|Gallery]]
- [[Card Artworks:{{{main}}}|Artworks]]
- [[Card Tips:{{{main}}}|Tips]]
- [[Card Trivia:{{{main}}}|Trivia]]
- [[Card Appearances:{{{main}}}|Appearances]]
- [[Card Names:{{{main}}}|Names]]
- [[Card Lores:{{{main}}}|Lores]]