Difference between revisions of "Template:EDS card"
(Automatically get second password for alternate artworks) |
(fix to only apply to cards with multiple artworks) |
||
Line 24: | Line 24: | ||
// Alternate artwork cards' password is their original password with every second digit replaced with 0. | // Alternate artwork cards' password is their original password with every second digit replaced with 0. | ||
− | -->{{ #vardefine: $password2 | {{#invoke:string|replace|{{{password|}}}|(%d)%d|%10|4|false}} }}<!-- | + | -->{{ #vardefine: $password2 | {{ #if: {{ #var: $number2 }} | {{#invoke:string|replace|{{{password|}}}|(%d)%d|%10|4|false}} }} }}<!-- |
-->{{ #vardefine: $is_alt_card | {{ #pos: {{PAGENAME}} | alternate password }} }}<!-- | -->{{ #vardefine: $is_alt_card | {{ #pos: {{PAGENAME}} | alternate password }} }}<!-- | ||
Line 100: | Line 100: | ||
| Password = {{{password|}}} | | Password = {{{password|}}} | ||
}}<!-- | }}<!-- | ||
− | -->{{ #if: {{ #var: $number2 | + | -->{{ #if: {{ #var: $number2 }} |
| {{ #subobject: artwork_2 | | {{ #subobject: artwork_2 | ||
| Subobject of = {{FULLPAGENAME}} | | Subobject of = {{FULLPAGENAME}} |
Revision as of 12:42, 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]]