Difference between revisions of "Template:EDS card"

From Yugipedia
Jump to: navigation, search
(fix properties)
(I don't care about these {{autolink}} values)
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOEDITSECTION__{{ #if: {{ #pos: {{PAGENAME}} | (EDS }} | {{Italic dab|{{ #replace: {{PAGENAME}} | (EDS | (<i>EDS</i> }}|t=1}} }}{{ #if: {{NAMESPACE}}
+
{{ #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  | {{{{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
| Token
 
 
| 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|{{ #var: $url-name }}}}-EDS-NA-VG{{ #if: {{ #var: $is_alt_card }} | -alt }}.png
+
| {{ #ifexist: File:{{Card image name|{{PAGENAME}}}}-EDS-NA-VG{{ #if: {{ #var: $is_alt_card }} | -alt }}.png
   | {{Card image name|{{ #var: $url-name }}}}-EDS-NA-VG{{ #if: {{ #var: $is_alt_card }} | -alt }}.png
+
   | {{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|{{ #var: $url-name }}}}-EDS-NA-VG-2.png
+
   | {{ #ifexist: File:{{Card image name|{{PAGENAME}}}}-EDS-NA-VG-2.png
     | {{Card image name|{{ #var: $url-name }}}}-EDS-NA-VG-2.png
+
     | {{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::Yu-Gi-Oh! The Eternal Duelist Soul| ]]<!--
+
   -->[[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 }}
   | Card image     = {{ #var: $image }}
+
   | 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 }}
     | Card image     = {{ #var: $image2 }}
+
     | 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    = {{ #var: $image | EDS-VideoGameEN.jpg }}
+
| image_raw = {{ #if: {{ #var: $image2 }}
| max_width = 240
+
   | <div class="switcher-container" style="margin: 0 auto; max-width: 240px; text-align: left;"><!--
| below_image = {{ #if: {{ #var: $image2 }}
+
      --><div style="margin-bottom: .5rem;"><!--
   |<div class="hlist image-switcher">
+
        -->[[File:{{ #var: $image | EDS-VideoGame-NA.jpg }}|240px|alt=]]<!--
{{Image dimensions|{{ #var: $image }}|artwork 1}} '''·''' {{Image dimensions|{{ #var: $image2 }}|artwork 2}}
+
        --><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 }} |
 
&#32;/ [[{{ #var: $type2_page }}|{{ #var: $type2 }}]] }}{{ #if: {{ #var: $type3_page }} |
 
&#32;/ [[{{ #var: $type2_page }}|{{ #var: $type2 }}]] }}{{ #if: {{ #var: $type3_page }} |
Line 169: Line 187:
  
 
| label8    = Number
 
| label8    = Number
| class8    = list-noicon
+
| class8    = plainlist
 
| data8    = {{ #if: {{ #var: $number2 }}
 
| data8    = {{ #if: {{ #var: $number2 }}
 
   |  
 
   |  
Line 178: Line 196:
  
 
| label9    = Internal number
 
| label9    = Internal number
| class9    = list-noicon
+
| class9    = plainlist
 
| data9    = {{ #if: {{ #var: $internal_number2 }}
 
| data9    = {{ #if: {{ #var: $internal_number2 }}
 
   |  
 
   |  
Line 188: Line 206:
  
 
| label10  = [[Password]]
 
| label10  = [[Password]]
| class10  = list-noicon
+
| class10  = plainlist
 
| data10    = {{ #if: {{ #var: $password2 }}
 
| data10    = {{ #if: {{ #var: $password2 }}
 
|  
 
|  
Line 221: Line 239:
  
 
-->{{ #if: {{ #ask: [[Set contains::{{PAGENAME}}]] }} | &#32;
 
-->{{ #if: {{ #ask: [[Set contains::{{PAGENAME}}]] }} | &#32;
==Sets==
+
<h2>Sets</h2>
 +
<!--
 +
 
 +
  -->{{ #if: {{ #ask: [[Set contains::{{PAGENAME}}]][[-Has subobject.Set type::!Initial Deck]] }} | &#32;
 
<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]]
|?Subobject of.Page name = Page name
+
    |?-Has subobject.Page name = Page name
|?Subobject of.English name
+
    |?-Has subobject.English name
|?Rarity
+
    |?Rarity
|?Uses artwork
+
    |?Uses artwork
|mainlabel  = -
+
    |mainlabel  = -
|format    = plainlist
+
    |format    = plainlist
|template  = DM5 card/set row
+
    |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> | |&#32;
 
-->{{ #ifeq: {{ #ask: [[Deck contains::{{PAGENAME}}]] |format=count}} | <includeonly>0</includeonly> | |&#32;
==Opponents' Decks==
+
<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

  • [[{{{effect_types}}}|{{{effect_types}}}]]Property "Effect type" (as page type) with input value "{{{effect_types}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
Number
  • {{{number}}} (artwork 1)
  • {{{number2}}} (artwork 2)
Internal number
  • {{{internal_number}}} (artwork 1)
  • {{{internal_number2}}} (artwork 2)
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