Difference between revisions of "Template:EDS card"
(fix properties) |
Dinoguy1000 (talk | contribs) (I don't care about these {{autolink}} values) |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{ #if: {{ #pos: {{PAGENAME}} | (EDS }} | {{Italic dab|{{ #replace: {{PAGENAME}} | (EDS | (<i>EDS</i> }}|t=1}} }}{{ #if: {{NAMESPACE}} | |
| | | | ||
| [[Category:Yu-Gi-Oh! The Eternal Duelist Soul cards]] | | [[Category:Yu-Gi-Oh! The Eternal Duelist Soul cards]] | ||
Line 10: | Line 10: | ||
-->{{ #vardefine: $url-name | {{ #replace: {{ #var: $name }} | # }} }}<!-- | -->{{ #vardefine: $url-name | {{ #replace: {{ #var: $name }} | # }} }}<!-- | ||
-->{{ #vardefine: $attribute | {{ uc: {{{attribute|}}} }} }}<!-- | -->{{ #vardefine: $attribute | {{ uc: {{{attribute|}}} }} }}<!-- | ||
− | -->{{ #vardefine: $property | | + | -->{{ #vardefine: $property | {{{property|}}} }}<!-- |
-->{{ #vardefine: $type | {{ #explode: {{{types<includeonly>|</includeonly>}}} | / }} }}<!-- | -->{{ #vardefine: $type | {{ #explode: {{{types<includeonly>|</includeonly>}}} | / }} }}<!-- | ||
-->{{ #vardefine: $type_link | {{ #ifeq: {{ #var: $type }} | Divine | Divine-Beast | {{ #var: $type }} }} }}<!-- | -->{{ #vardefine: $type_link | {{ #ifeq: {{ #var: $type }} | Divine | Divine-Beast | {{ #var: $type }} }} }}<!-- | ||
Line 19: | Line 19: | ||
-->{{ #vardefine: $stars | {{{level|}}} }}<!-- | -->{{ #vardefine: $stars | {{{level|}}} }}<!-- | ||
-->{{ #vardefine: $level-rank | Level }}<!-- needed for {{Star properties}} | -->{{ #vardefine: $level-rank | Level }}<!-- needed for {{Star properties}} | ||
− | -->{{ #vardefine: $star_icon | <includeonly>{{Repeat|[[File:CG Star.svg|18px|alt=]]|{{ #var: $stars }}}}</includeonly> }}<!-- | + | -->{{ #vardefine: $star_icon | <includeonly>{{Repeat|[[File:CG Star.svg|18px|alt=|class=noviewer]]|{{ #var: $stars }}}}</includeonly> }}<!-- |
-->{{ #vardefine: $number | {{ #if: {{{number<includeonly>|</includeonly>}}} | {{ padleft: {{{number}}} | 3 | 0 }} }} }}<!-- | -->{{ #vardefine: $number | {{ #if: {{{number<includeonly>|</includeonly>}}} | {{ padleft: {{{number}}} | 3 | 0 }} }} }}<!-- | ||
-->{{ #vardefine: $number2 | {{ #if: {{{number2<includeonly>|</includeonly>}}} | {{ padleft: {{{number2}}} | 3 | 0 }} }} }}<!-- | -->{{ #vardefine: $number2 | {{ #if: {{{number2<includeonly>|</includeonly>}}} | {{ padleft: {{{number2}}} | 3 | 0 }} }} }}<!-- | ||
Line 44: | Line 44: | ||
| Effect | | Effect | ||
| Fusion | | Fusion | ||
− | |||
| Ritual = {{ #vardefine: $monster_type | {{ #var: $type2 }} }}<!-- | | Ritual = {{ #vardefine: $monster_type | {{ #var: $type2 }} }}<!-- | ||
-->{{ #vardefine: $type2_page | {{ #var: $type2 }} Monster }} | -->{{ #vardefine: $type2_page | {{ #var: $type2 }} Monster }} | ||
+ | |||
+ | | Token = {{ #vardefine: $monster_type | {{ #var: $type2 }} }}<!-- | ||
+ | -->{{ #vardefine: $type2_page | Monster {{ #var: $type2 }} }} | ||
| Spirit | | Spirit | ||
Line 60: | Line 62: | ||
-->{{ #vardefine: $image | -->{{ #vardefine: $image | ||
− | | {{ #ifexist: File:{{Card image name|{{ | + | | {{ #ifexist: File:{{Card image name|{{PAGENAME}}}}-EDS-NA-VG{{ #if: {{ #var: $is_alt_card }} | -alt }}.png |
− | | {{Card image name|{{ | + | | {{Card image name|{{PAGENAME}}}}-EDS-NA-VG{{ #if: {{ #var: $is_alt_card }} | -alt }}.png |
}} | }} | ||
}}<!-- | }}<!-- | ||
Line 67: | Line 69: | ||
-->{{ #vardefine: $image2 | -->{{ #vardefine: $image2 | ||
| {{ #if: {{ #var: $number2 }} | | {{ #if: {{ #var: $number2 }} | ||
− | | {{ #ifexist: File:{{Card image name|{{ | + | | {{ #ifexist: File:{{Card image name|{{PAGENAME}}}}-EDS-NA-VG-2.png |
− | | {{Card image name|{{ | + | | {{Card image name|{{PAGENAME}}}}-EDS-NA-VG-2.png |
}} | }} | ||
}} | }} | ||
Line 75: | Line 77: | ||
## Properties ## | ## Properties ## | ||
-->{{IfSemantics|<!-- | -->{{IfSemantics|<!-- | ||
+ | -->[[Debut date::October 15, 2002| ]]<!-- | ||
-->[[English name::{{ #var: $name }}| ]]<!-- | -->[[English name::{{ #var: $name }}| ]]<!-- | ||
-->{{ #set: English name (linked) = [[{{PAGENAME}}|{{ #var: $name }}]] }}<!-- | -->{{ #set: English name (linked) = [[{{PAGENAME}}|{{ #var: $name }}]] }}<!-- | ||
Line 86: | Line 89: | ||
-->{{ #set: Property (short) = [[{{ #var: $property | Normal }} {{ #var: $card_type }} Card|{{ #var: $property | Normal }}]] }} | -->{{ #set: Property (short) = [[{{ #var: $property | Normal }} {{ #var: $card_type }} Card|{{ #var: $property | Normal }}]] }} | ||
− | | {{ #ifeq: {{ var: $attribute }} | DIVINE | + | | {{ #ifeq: {{ #var: $attribute }} | DIVINE |
| | | | ||
| [[Monster type::{{ #var: $monster_type }} Monster| ]]<!-- | | [[Monster type::{{ #var: $monster_type }} Monster| ]]<!-- | ||
Line 97: | Line 100: | ||
-->{{ #if: {{{level|}}} | {{Star properties}} }}<!-- | -->{{ #if: {{{level|}}} | {{Star properties}} }}<!-- | ||
-->{{ #if: {{{atk|}}}{{{def|}}} | {{ATK DEF properties|{{{atk|}}}|{{{def|}}}}} }}<!-- | -->{{ #if: {{{atk|}}}{{{def|}}} | {{ATK DEF properties|{{{atk|}}}|{{{def|}}}}} }}<!-- | ||
− | -->[[Medium:: | + | -->[[Medium::Video game| ]]<!-- |
-->[[Release::{{ #var: $release }}| ]]<!-- | -->[[Release::{{ #var: $release }}| ]]<!-- | ||
Line 105: | Line 108: | ||
| Card number = {{ #var: $number }} | | Card number = {{ #var: $number }} | ||
| Internal number = {{ #var: $internal_number }} | | Internal number = {{ #var: $internal_number }} | ||
− | | | + | | North American English image = {{ #var: $image }} |
| Password = {{{password|}}} | | Password = {{{password|}}} | ||
}}<!-- | }}<!-- | ||
Line 113: | Line 116: | ||
| Card number = {{ #var: $number2 }} | | Card number = {{ #var: $number2 }} | ||
| Internal number = {{ #var: $internal_number2 }} | | Internal number = {{ #var: $internal_number2 }} | ||
− | | | + | | North American English image = {{ #var: $image2 }} |
| Password = {{ #var: $password2 }} | | Password = {{ #var: $password2 }} | ||
}} | }} | ||
Line 120: | Line 123: | ||
-->{{ #if: {{ #var: $main }} | -->{{ #if: {{ #var: $main }} | ||
− | | {{Main|type=card page|"[[{{ #var: $main }}|{{ #var: $main_text | {{ #var: $main }} }}]]"}} | + | | {{Main|type=card page|"[[{{ #var: $main }}|{{ #var: $main_text | {{ #var: $main }} }}]]"|t=1}} |
+ | }}<!-- | ||
+ | |||
+ | -->{{ #if: {{ #var: $is_alt_card }} | ||
+ | | {{See also|{{ #replace: {{PAGENAME}} | (EDS alternate password) | (''EDS'') }}}} | ||
+ | | {{ #if: {{ #pos: {{PAGENAME}} | (EDS) }} | ||
+ | | {{ #ifexist: {{ #replace: {{PAGENAME}} | (EDS) | (EDS alternate password) }} | ||
+ | | {{See also|{{ #replace: {{PAGENAME}} | (EDS) | (''EDS'' alternate password) }}}} | ||
+ | }} | ||
+ | }} | ||
}}<!-- | }}<!-- | ||
Line 133: | Line 145: | ||
| title = {{ #var: $name }} | | title = {{ #var: $name }} | ||
− | | | + | | image_raw = {{ #if: {{ #var: $image2 }} |
− | + | | <div class="switcher-container" style="margin: 0 auto; max-width: 240px; text-align: left;"><!-- | |
− | + | --><div style="margin-bottom: .5rem;"><!-- | |
− | |<div class=" | + | -->[[File:{{ #var: $image | EDS-VideoGame-NA.jpg }}|240px|alt=]]<!-- |
− | + | --><span class="switcher-label">Artwork 1</span><!-- | |
− | </div> | + | --></div><!-- |
+ | --><div style="margin-bottom: .5rem;"><!-- | ||
+ | -->[[File:{{ #var: $image2 }}|240px|alt=]]<!-- | ||
+ | --><span class="switcher-label">Artwork 2</span><!-- | ||
+ | --></div><!-- | ||
+ | --></div> | ||
+ | | [[File:{{ #var: $image | EDS-VideoGame-NA.jpg }}|240px|alt=]] | ||
}} | }} | ||
Line 145: | Line 163: | ||
| label2 = [[Property]] | | label2 = [[Property]] | ||
− | | data2 = {{ #if: {{{property|}}} | [[{{{property}}} {{ #var: $card_type }} Card|{{{property}}}]] [[File:{{{property}}}.svg|18px|alt=]] }} | + | | data2 = {{ #if: {{{property|}}} | [[{{{property}}} {{ #var: $card_type }} Card|{{{property}}}]] [[File:{{{property}}}.svg|18px|alt=|class=noviewer]] }} |
| label3 = [[Attribute]] | | label3 = [[Attribute]] | ||
− | | data3 = {{ #if: {{{attribute|}}} | [[{{ #var: $attribute }}]] [[File:{{ #var: $attribute }}.svg|24px|alt=]] }} | + | | data3 = {{ #if: {{{attribute|}}} | [[{{ #var: $attribute }}]] [[File:{{ #var: $attribute }}.svg|24px|alt=|class=noviewer]] }} |
| label4 = [[Type]] | | label4 = [[Type]] | ||
| data4 = {{ #if: {{{types<includeonly>|</includeonly>}}} | | | data4 = {{ #if: {{{types<includeonly>|</includeonly>}}} | | ||
− | {{ #ifeq: {{ #var: $type }} | Divine || [[File:{{ #var: $type }}-TF06.png|16px|alt=]] }} | + | {{ #ifeq: {{ #var: $type }} | Divine || [[File:{{ #var: $type }}-TF06.png|16px|alt=|class=noviewer]] }} |
[[{{ #var: $type_link }}|{{ #var: $type }}]] {{ #if: {{ #var: $type2_page }} | | [[{{ #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 }} | | ||
Line 169: | Line 187: | ||
| label8 = Number | | label8 = Number | ||
− | | class8 = | + | | class8 = plainlist |
| data8 = {{ #if: {{ #var: $number2 }} | | data8 = {{ #if: {{ #var: $number2 }} | ||
| | | | ||
Line 178: | Line 196: | ||
| label9 = Internal number | | label9 = Internal number | ||
− | | class9 = | + | | class9 = plainlist |
| data9 = {{ #if: {{ #var: $internal_number2 }} | | data9 = {{ #if: {{ #var: $internal_number2 }} | ||
| | | | ||
Line 188: | Line 206: | ||
| label10 = [[Password]] | | label10 = [[Password]] | ||
− | | class10 = | + | | class10 = plainlist |
| data10 = {{ #if: {{ #var: $password2 }} | | data10 = {{ #if: {{ #var: $password2 }} | ||
| | | | ||
Line 221: | Line 239: | ||
-->{{ #if: {{ #ask: [[Set contains::{{PAGENAME}}]] }} |   | -->{{ #if: {{ #ask: [[Set contains::{{PAGENAME}}]] }} |   | ||
− | + | <h2>Sets</h2> | |
+ | <!-- | ||
+ | |||
+ | -->{{ #if: {{ #ask: [[Set contains::{{PAGENAME}}]][[-Has subobject.Set type::!Initial Deck]] }} |   | ||
<table class="wikitable"> | <table class="wikitable"> | ||
<tr> | <tr> | ||
Line 229: | Line 250: | ||
<th scope="col">Rarity</th> | <th scope="col">Rarity</th> | ||
</tr><!-- | </tr><!-- | ||
− | -->{{ #ask: [[Set contains::{{PAGENAME}}]] | + | -->{{ #ask: [[Set contains::{{PAGENAME}}]][[-Has subobject.Set type::!Initial Deck]] |
− | |? | + | |?-Has subobject.Page name = Page name |
− | |? | + | |?-Has subobject.English name |
− | |?Rarity | + | |?Rarity |
− | |?Uses artwork | + | |?Uses artwork |
− | |mainlabel = - | + | |mainlabel = - |
− | |format = plainlist | + | |format = plainlist |
− | |template = | + | |template = EDS card/set row |
− | |named args = true | + | |named args = true |
− | }} | + | }} |
</table> | </table> | ||
+ | }}<!-- | ||
+ | |||
+ | -->{{ #if: {{ #ask: [[Set contains::{{PAGENAME}}]][[Subobject of.Set type::Initial Deck]] }} | ||
+ | | <p>"{{ #var: $name }}" can be included in the [[Initial Deck (EDS)|Initial Deck]].</p> | ||
+ | }} | ||
}}<!-- | }}<!-- | ||
-->{{ #ifeq: {{ #ask: [[Deck contains::{{PAGENAME}}]] |format=count}} | <includeonly>0</includeonly> | |  | -->{{ #ifeq: {{ #ask: [[Deck contains::{{PAGENAME}}]] |format=count}} | <includeonly>0</includeonly> | |  | ||
− | + | <h2>Opponents' Decks</h2> | |
The following characters use "{{ #var: $name }}" in their Deck. | The following characters use "{{ #var: $name }}" in their Deck. | ||
<table class="wikitable"> | <table class="wikitable"> |
Latest revision as of 12:54, 2 May 2023
EDS card
Type |
[[File:{{{types}}}-TF06.png|16px|alt=|class=noviewer]] [[{{{types}}}|{{{types}}}]] |
---|---|
ATK / DEF | {{{atk}}} / {{{def}}} |
Effect type |
|
Number |
|
Internal number |
|
Password | {{{password}}} |
{{{lore}}} | |
Status | [[{{{status}}}]] |
- [[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]]
Opponents' Decks
The following characters use "EDS card" in their Deck.
Character | Qty |
---|