Difference between pages "Template:Charmers" and "Template:EDS card"

From Yugipedia
(Difference between pages)
Jump to: navigation, search
 
(I don't care about these {{autolink}} values)
 
Line 1: Line 1:
{| class="wikitable" style="font-size: 88%;"
+
{{ #if: {{ #pos: {{PAGENAME}} | (EDS }} | {{Italic dab|{{ #replace: {{PAGENAME}} | (EDS | (<i>EDS</i> }}|t=1}} }}{{ #if: {{NAMESPACE}}
|-
+
|
! {{Navbar|Charmers}}
+
| [[Category:Yu-Gi-Oh! The Eternal Duelist Soul cards]]
! scope="col" | {{Attribute|EARTH|size=24}}
+
}}<!--
! scope="col" | {{Attribute|FIRE |size=24}}
+
 
! scope="col" | {{Attribute|WATER|size=24}}
+
## Variables ##
! scope="col" | {{Attribute|WIND |size=24}}
+
-->{{ #vardefine: $release    | Yu-Gi-Oh! The Eternal Duelist Soul }}<!--
! scope="col" | {{Attribute|DARK |size=24}}
+
-->{{ #vardefine: $pagename  | {{ #explode: {{PAGENAME}} | ( }}                  }}<!--
! scope="col" | {{Attribute|LIGHT|size=24}}
+
-->{{ #vardefine: $name      | {{ #if: {{{name|}}} | {{{name}}} | {{ #titleparts: {{ #var: $pagename }} }} }} }}<!--
|-
+
-->{{ #vardefine: $url-name  | {{ #replace: {{ #var: $name }} | # }}              }}<!--
! scope="row" | [[Charmer]]
+
-->{{ #vardefine: $attribute  | {{ uc: {{{attribute|}}} }}                        }}<!--
| [[Aussa the Earth Charmer|Aussa]]
+
-->{{ #vardefine: $property  | {{{property|}}}                                    }}<!--
| [[Hiita the Fire Charmer|Hiita]]
+
-->{{ #vardefine: $type      | {{ #explode: {{{types<includeonly>|</includeonly>}}} | / }} }}<!--
| [[Eria the Water Charmer|Eria]]
+
-->{{ #vardefine: $type_link  | {{ #ifeq: {{ #var: $type }} | Divine | Divine-Beast | {{ #var: $type }} }} }}<!--
| [[Wynn the Wind Charmer|Wynn]]
+
-->{{ #vardefine: $type2      | {{ #explode: {{{types|}}} | / | 1 }}              }}<!--
| [[Dharc the Dark Charmer|Dharc]]
+
-->{{ #vardefine: $type3      | {{ #explode: {{{types|}}} | / | 2 }}              }}<!--
| [[Lyna the Light Charmer|Lyna]]
+
-->{{ #vardefine: $atk        | {{{atk|}}}                                        }}<!--
|-
+
-->{{ #vardefine: $def        | {{{def|}}}                                        }}<!--
! scope="row" | Familiar
+
-->{{ #vardefine: $stars      | {{{level|}}}                                      }}<!--
| [[Archfiend Marmot of Nefariousness]]
+
-->{{ #vardefine: $level-rank | Level                                              }}<!-- needed for {{Star properties}}
| [[Fox Fire]]
+
-->{{ #vardefine: $star_icon  | <includeonly>{{Repeat|[[File:CG Star.svg|18px|alt=|class=noviewer]]|{{ #var: $stars }}}}</includeonly> }}<!--
| [[Gigobyte]]
+
-->{{ #vardefine: $number    | {{ #if: {{{number<includeonly>|</includeonly>}}}  | {{ padleft: {{{number}}}  | 3 | 0 }} }} }}<!--
| [[Petit Dragon]]
+
-->{{ #vardefine: $number2    | {{ #if: {{{number2<includeonly>|</includeonly>}}} | {{ padleft: {{{number2}}} | 3 | 0 }} }} }}<!--
| [[Meda Bat]]
+
-->{{ #vardefine: $internal_number  | {{ #if: {{{internal_number<includeonly>|</includeonly>}}}  | {{ padleft: {{{internal_number}}}  | 3 | 0 }} }} }}<!--
| [[Happy Lover]]
+
-->{{ #vardefine: $internal_number2 | {{ #if: {{{internal_number2<includeonly>|</includeonly>}}} | {{ padleft: {{{internal_number2}}} | 3 | 0 }} }} }}<!--
|-
+
 
! scope="row" | Familiar Final Forms
+
// Alternate artwork cards' password is the first four digits of original password, with an extra 0 after each digit.
| [[Nefarious Archfiend Eater of Nefariousness]]
+
-->{{ #vardefine: $password2 | {{ #if: {{ #var: $number2 }} | {{#invoke:string|replace|{{ #sub: {{{password|}}} || 4 }}|(%d)|%10|4|false}} }} }}<!--
| [[Inari Fire]]
+
 
| [[Jigabyte]]
+
-->{{ #vardefine: $is_alt_card | {{ #pos: {{PAGENAME}} | alternate password }} }}<!--
| ''<span style="color: grey;">None yet</span>''
+
 
| ''<span style="color: grey;">None yet</span>''
+
-->{{ #switch: {{ lc: {{{card_type|}}} }}
| ''<span style="color: grey;">None yet</span>''
+
| magic | spell = {{ #vardefine: $card_type | Spell  }}{{ #vardefine: $card_type_name | Magic  }}
|-
+
| trap          = {{ #vardefine: $card_type | Trap  }}{{ #vardefine: $card_type_name | Trap  }}
! scope="row" | [[Familiar-Possessed]]
+
| ticket        = {{ #vardefine: $card_type | Ticket }}{{ #vardefine: $card_type_name | Ticket }}
| [[Familiar-Possessed - Aussa|Aussa]]
+
|              = {{ #vardefine: $monster_type | {{ #if: {{ #var: $type2 }} | {{ #var: $type2 }} | Normal }} }}
| [[Familiar-Possessed - Hiita|Hiita]]
+
}}<!--
| [[Familiar-Possessed - Eria|Eria]]
+
 
| [[Familiar-Possessed - Wynn|Wynn]]
+
-->{{ #if: {{{main<includeonly>|</includeonly>}}}{{ #explode: {{PAGENAME}} | ( | 1 }} | {{ #vardefine: $main | {{ #if: {{{main<includeonly>|</includeonly>}}} | {{ #replace: {{{main}}} | # }} | {{ #var: $url-name }} }} }} }}<!--
| [[Familiar-Possessed - Dharc|Dharc]]
+
-->{{ #if: {{ #pos: {{{main}}}{{ #var: $name }} | # }} | {{ #vardefine: $main_text | {{ #if: {{{main|}}} | {{{main}}} | {{ #var: $name }} }} }} }}<!--
| ''<span style="color: grey;">None yet</span>''
+
 
|-
+
-->{{ #switch: {{ #var: $type2 }}
! scope="row" | [[Cataclysmic Charmer]]
+
|          = {{ #vardefine: $monster_type | Normal                    }}
| [[Avalanching Aussa]]
+
| Effect
| [[Blazing Hiita]]
+
| Fusion
| [[Raging Eria]]
+
| Ritual  = {{ #vardefine: $monster_type | {{ #var: $type2 }}        }}<!--
| [[Storming Wynn]]
+
          -->{{ #vardefine: $type2_page  | {{ #var: $type2 }} Monster }}
| ''<span style="color: grey;">None yet</span>''
+
 
| ''<span style="color: grey;">None yet</span>''
+
| Token    = {{ #vardefine: $monster_type | {{ #var: $type2 }}        }}<!--
|-
+
          -->{{ #vardefine: $type2_page  | Monster {{ #var: $type2 }} }}
! scope="row" | [[Spiritual Art]]
+
 
| [[Spiritual Earth Art - Kurogane|Kurogane]]
+
| Spirit
| [[Spiritual Fire Art - Kurenai|Kurenai]]
+
| Toon    = {{ #vardefine: $monster_type | Effect                    }}<!--
| [[Spiritual Water Art - Aoi|Aoi]]
+
          -->{{ #vardefine: $ability      | {{ #var: $type2 }}        }}<!--
| [[Spiritual Wind Art - Miyabi|Miyabi]]
+
          -->{{ #vardefine: $type2_page  | {{ #var: $type2 }} Monster }}<!--
| [[Dark Spirit Art - Greed|Greed]]
+
          -->{{ #vardefine: $has_effect  | 1                          }}
| [[Spiritual Light Art - Hijiri|Hijiri]]
+
}}<!--
|-
+
 
! scope="row" | Related<!-- meh -->
+
-->{{ #if: {{ #var: $type3 }}
| &ndash;
+
| {{ #vardefine: $type3_page | Effect Monster }}{{ #vardefine: $has_effect | 1 }}
| &ndash;
+
}}<!--
| [[Gishki Ariel]]
+
 
| [[Winda, Priestess of Gusto]]
+
-->{{ #vardefine: $image
| &ndash;
+
| {{ #ifexist: File:{{Card image name|{{PAGENAME}}}}-EDS-NA-VG{{ #if: {{ #var: $is_alt_card }} | -alt }}.png
| &ndash;
+
  | {{Card image name|{{PAGENAME}}}}-EDS-NA-VG{{ #if: {{ #var: $is_alt_card }} | -alt }}.png
|-
+
  }}
|}<noinclude>
+
}}<!--
[[Category:Archetype Templates]]
+
 
</noinclude>
+
-->{{ #vardefine: $image2
 +
| {{ #if: {{ #var: $number2 }}
 +
  | {{ #ifexist: File:{{Card image name|{{PAGENAME}}}}-EDS-NA-VG-2.png
 +
    | {{Card image name|{{PAGENAME}}}}-EDS-NA-VG-2.png
 +
    }}
 +
  }}
 +
}}<!--
 +
 
 +
## Properties ##
 +
-->{{IfSemantics|<!--
 +
  -->[[Debut date::October 15, 2002| ]]<!--
 +
  -->[[English name::{{ #var: $name }}| ]]<!--
 +
  -->{{ #set: English name (linked) = [[{{PAGENAME}}|{{ #var: $name }}]] }}<!--
 +
  -->[[Main card page::{{ #var: $main }}| ]]<!--
 +
  -->[[Card image::{{ #var: $image }}| ]]<!--
 +
  -->[[Card type::{{ #var: $card_type | Monster }} Card| ]]<!--
 +
  -->{{ #set: Card type (short) = [[{{ #var: $card_type | Monster }} Card|{{ #var: $card_type_name | Monster }}]] }}<!--
 +
  -->{{ #switch: {{ #var: $card_type }}
 +
  | Ticket =
 +
  | Spell | Trap = [[Property::{{ #var: $property | Normal }} {{ #var: $card_type }} Card| ]]<!--
 +
    -->{{ #set: Property (short) = [[{{ #var: $property | Normal }} {{ #var: $card_type }} Card|{{ #var: $property | Normal }}]] }}
 +
 
 +
  | {{ #ifeq: {{ #var: $attribute }} | DIVINE
 +
    |
 +
    | [[Monster type::{{ #var: $monster_type }} Monster| ]]<!--
 +
      -->{{ #set: Monster type (short) = [[{{ #var: $monster_type }} Monster|{{ #var: $monster_type }}]] }}
 +
    }}
 +
  }}<!--
 +
  -->[[Attribute::{{ #var: $attribute }}| ]]<!--
 +
  -->[[Type::{{ #var: $type_link }}| ]]<!--
 +
  -->{{ #set: Lore = {{{lore|}}} }}<!--
 +
  -->{{ #if: {{{level|}}} | {{Star properties}} }}<!--
 +
  -->{{ #if: {{{atk|}}}{{{def|}}} | {{ATK DEF properties|{{{atk|}}}|{{{def|}}}}} }}<!--
 +
  -->[[Medium::Video game| ]]<!--
 +
  -->[[Release::{{ #var: $release }}| ]]<!--
 +
 
 +
  # Artwork subobjects
 +
  -->{{ #subobject: artwork_1
 +
  | Subobject of    = {{FULLPAGENAME}}
 +
  | Card number    = {{ #var: $number }}
 +
  | Internal number = {{ #var: $internal_number }}
 +
  | North American English image = {{ #var: $image }}
 +
  | Password        = {{{password|}}}
 +
  }}<!--
 +
  -->{{ #if: {{ #var: $number2 }}
 +
  | {{ #subobject: artwork_2
 +
    | Subobject of    = {{FULLPAGENAME}}
 +
    | Card number    = {{ #var: $number2 }}
 +
    | Internal number = {{ #var: $internal_number2 }}
 +
    | North American English image = {{ #var: $image2 }}
 +
    | Password        = {{ #var: $password2 }}
 +
    }}
 +
  }}
 +
}}<!--
 +
 
 +
-->{{ #if: {{ #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) }}}}
 +
    }}
 +
  }}
 +
}}<!--
 +
 
 +
-->{{Card table
 +
| bodyclass = {{ #if: {{{cardclass|}}}
 +
  | {{{cardclass}}}
 +
  | {{ #switch: {{ #var: $card_type | {{ #var: $monster_type }} }}
 +
    | Token | Ticket | = yellow
 +
    | #default        = {{ lc: {{ #var: $card_type | {{ #var: $monster_type }} }} }}
 +
    }}
 +
  }}-card
 +
| 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;"><!--
 +
        -->[[File:{{ #var: $image | EDS-VideoGame-NA.jpg }}|240px|alt=]]<!--
 +
        --><span class="switcher-label">Artwork 1</span><!--
 +
      --></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=]]
 +
  }}
 +
 
 +
| label1    = [[Card type]]
 +
| data1    = {{ #if: {{ #var: $card_type }} | [[{{ #var: $card_type }} Card|{{ #var: $card_type_name }}]] }}
 +
 
 +
| label2    = [[Property]]
 +
| data2    = {{ #if: {{{property|}}} | [[{{{property}}} {{ #var: $card_type }} Card|{{{property}}}]] [[File:{{{property}}}.svg|18px|alt=|class=noviewer]] }}
 +
 
 +
| label3    = [[Attribute]]
 +
| data3    = {{ #if: {{{attribute|}}} | [[{{ #var: $attribute }}]] [[File:{{ #var: $attribute }}.svg|24px|alt=|class=noviewer]] }}
 +
 
 +
| label4    = [[Type]]
 +
| data4    = {{ #if: {{{types<includeonly>|</includeonly>}}} |
 +
{{ #ifeq: {{ #var: $type }} | Divine || [[File:{{ #var: $type }}-TF06.png|16px|alt=|class=noviewer]] }}
 +
[[{{ #var: $type_link        }}|{{ #var: $type  }}]] {{  #if: {{ #var: $type2_page }} |
 +
&#32;/ [[{{ #var: $type2_page }}|{{ #var: $type2 }}]] }}{{ #if: {{ #var: $type3_page }} |
 +
&#32;/ [[{{ #var: $type3_page }}|{{ #var: $type3 }}]] }}
 +
  }}
 +
 
 +
| label5    = [[Level]]
 +
| data5    = {{ #if: {{{level<includeonly>|</includeonly>}}} | {{ #var: $stars }} {{ #var: $star_icon }} }}
 +
 
 +
| label6    = [[ATK]] / [[DEF]]
 +
| data6    = {{ #if: {{{atk|}}}{{{def<includeonly>|</includeonly>}}} | {{{atk<includeonly>|</includeonly>}}} / {{{def<includeonly>|</includeonly>}}} }}
 +
 
 +
| label7    = Effect type
 +
| class7    = hlist hcomma
 +
| data7    = {{ #if: {{{effect_types<includeonly>|</includeonly>}}} | {{CardTable2/effect|{{{effect_types}}}}} }}
 +
 
 +
| label8    = Number
 +
| class8    = plainlist
 +
| data8    = {{ #if: {{ #var: $number2 }}
 +
  |
 +
* {{ #var: $number  }} (artwork 1)
 +
* {{ #var: $number2 }} (artwork 2)
 +
  | {{ #var: $number }}
 +
  }}
 +
 
 +
| label9    = Internal number
 +
| class9    = plainlist
 +
| data9    = {{ #if: {{ #var: $internal_number2 }}
 +
  |
 +
* {{ #var: $internal_number  }} (artwork 1)
 +
* {{ #var: $internal_number2 }} (artwork 2)
 +
  | {{ #var: $internal_number }}
 +
  }}
 +
 
 +
 
 +
| label10  = [[Password]]
 +
| class10  = plainlist
 +
| data10    = {{ #if: {{ #var: $password2 }}
 +
|
 +
* {{{password}}} (artwork 1)
 +
* {{ #var: $password2 }} (artwork 2)
 +
| {{{password<includeonly>|</includeonly>}}}
 +
}}
 +
 
 +
| data11    = {{ #if: {{{lore<includeonly>|</includeonly>}}} |
 +
<div class="lore main-lore">
 +
<p>{{{lore}}}</p>
 +
</div>
 +
  }}
 +
 
 +
| label12    = [[Status]]
 +
| data12    = {{ #if: {{{status<includeonly>|</includeonly>}}} | [[{{{status}}}]] }}
 +
 
 +
| below      =
 +
  {{Enumeration/sandbox
 +
  |
 +
  |{{ #var: $number }}
 +
  |{{ #var: $number2 }}
 +
  |last      = 820
 +
  |curr      = ''[[Yu-Gi-Oh! The Eternal Duelist Soul]]'' cards ([[List of Yu-Gi-Oh! The Eternal Duelist Soul cards|list]] '''·''' [[Gallery of Yu-Gi-Oh! The Eternal Duelist Soul cards|gallery]])
 +
  |curr2      = none
 +
  |padded    = true
 +
  |subobjects = true
 +
  }}
 +
}}
 +
 
 +
{{Card info links|{{ #var: $main | {{ #var: $pagename }} }}|medium=vg}}<!--
 +
 
 +
-->{{ #if: {{ #ask: [[Set contains::{{PAGENAME}}]] }} | &#32;
 +
<h2>Sets</h2>
 +
<!--
 +
 
 +
  -->{{ #if: {{ #ask: [[Set contains::{{PAGENAME}}]][[-Has subobject.Set type::!Initial Deck]] }} | &#32;
 +
<table class="wikitable">
 +
  <tr>
 +
    <th scope="col">Set</th>{{ #if: {{ #var: $number2 }}
 +
    | <th scope="col">Artwork</th>
 +
    }}
 +
    <th scope="col">Rarity</th>
 +
  </tr><!--
 +
    -->{{ #ask: [[Set contains::{{PAGENAME}}]][[-Has subobject.Set type::!Initial Deck]]
 +
    |?-Has subobject.Page name = Page name
 +
    |?-Has subobject.English name
 +
    |?Rarity
 +
    |?Uses artwork
 +
    |mainlabel  = -
 +
    |format    = plainlist
 +
    |template  = EDS card/set row
 +
    |named args = true
 +
    }}
 +
</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;
 +
<h2>Opponents' Decks</h2>
 +
The following characters use "{{ #var: $name }}" in their Deck.
 +
<table class="wikitable">
 +
  <tr>
 +
    <th scope="col">Character</th>
 +
    <th scope="col"><abbr title="Quantity">Qty</abbr></th>
 +
  </tr>
 +
{{ #ask: [[Deck contains::{{PAGENAME}}]]
 +
|?Subobject of
 +
|?English name
 +
|?Amount
 +
|format    = plainlist
 +
|template  = DM1 card/Decks
 +
|link      = none
 +
|userparam = Victory bonus<!-- Not true! But not worth creating/modifying a display template to better handle this. Template:Infobox character should be given "Property:English name (linked)", so this won't need a template. -->
 +
}}
 +
</table>
 +
}}<!--
 +
 
 +
--><includeonly>{{Card navigation}}</includeonly><!--
 +
 
 +
--><noinclude>{{documentation}}</noinclude>

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