Permanently protected template

Difference between revisions of "Template:Anime card"

From Yugipedia
Jump to: navigation, search
(use equals signs instead of pipes for #set)
(fix Attribute/Type tracking categories being added to all monsters without a main OCG/TCG page (the code for those categories makes me itchy >_> ); mobile-hide --> nomobile)
Line 203: Line 203:
 
}}<!--
 
}}<!--
 
-->{{ #ifeq: {{ #var: $card_type }} | Monster | {{ #vardefine: $card_type }} }}<!--
 
-->{{ #ifeq: {{ #var: $card_type }} | Monster | {{ #vardefine: $card_type }} }}<!--
-->[[Attribute::{{ #var: $attribute }}| ]]<includeonly>{{#switch: {{ #var: $attribute }} | | ??? = | {{#ifeq: {{#show: {{ #var: $main }} |?Attribute |default = {{ #var: $attribute }} |link = none }} | {{ #var: $attribute }} || [[Category:Monster Cards with a different Attribute from their main counterpart]]}} }}</includeonly><!--
+
-->[[Attribute::{{ #var: $attribute }}| ]]<includeonly>{{ #if: {{ #var: $main }} | {{ #switch: {{ #var: $attribute }} || ??? = | {{ #ifeq: {{ #show: {{ #var: $main }} |?Attribute |default = {{ #var: $attribute }} |link = none }} | {{ #var: $attribute }} || [[Category:Monster Cards with a different Attribute from their main counterpart]]}} }} }}</includeonly><!--
-->[[Type::{{ #var: $type }}| ]]<includeonly>{{#switch: {{ #var: $type }} | | ??? = | {{#ifeq: {{#show: {{ #var: $main }} |?Type |default = {{ #var: $type }} |link = none }} | {{ #var: $type }} || [[Category:Monster Cards with a different monster Type from their main counterpart]]}} }}</includeonly><!--
+
-->[[Type::{{ #var: $type }}| ]]<includeonly>{{ #if: {{ #var: $main }} | {{ #switch: {{ #var: $type }} | | ??? = | {{ #ifeq: {{ #show: {{ #var: $main }} |?Type |default = {{ #var: $type }} |link = none }} | {{ #var: $type }} || [[Category:Monster Cards with a different monster Type from their main counterpart]]}} }} }}</includeonly><!--
 
-->{{ #if: {{{type_text|}}} | [[Type text::{{{type_text}}}| ]] }}<!--
 
-->{{ #if: {{{type_text|}}} | [[Type text::{{{type_text}}}| ]] }}<!--
 
-->[[Description::{{{description|}}}| ]]<!--
 
-->[[Description::{{{description|}}}| ]]<!--
Line 260: Line 260:
 
| max_width = {{ #ifexpr: {{ #imgw: {{ #var: $image }} }} > 200 | 200 | {{ #imgw: {{ #var: $image }} }} }}
 
| max_width = {{ #ifexpr: {{ #imgw: {{ #var: $image }} }} > 200 | 200 | {{ #imgw: {{ #var: $image }} }} }}
 
| below_image = {{ #if: {{ #arrayindex: images | 1 }} |
 
| below_image = {{ #if: {{ #arrayindex: images | 1 }} |
<div class="hlist image-switcher mobile-hide" style="min-width: 5em;">
+
<div class="hlist image-switcher nomobile" style="min-width: 5em;">
 
{{ #if: {{ #var: $en_image }} |
 
{{ #if: {{ #var: $en_image }} |
 
* {{Image dimensions|{{ #var: $en_image}}|en}}
 
* {{Image dimensions|{{ #var: $en_image}}|en}}
Line 359: Line 359:
 
   | <div class="lore">{{ #if: {{{pendulum_effect<includeonly>|</includeonly>}}}{{{pendulum_scale|}}}
 
   | <div class="lore">{{ #if: {{{pendulum_effect<includeonly>|</includeonly>}}}{{{pendulum_scale|}}}
 
     | <div class="lorebox lorebox--pendulum">
 
     | <div class="lorebox lorebox--pendulum">
         <div class="lorebox-pendulum_scale mobile-hide" aria-hidden="true">{{{pendulum_scale<includeonly>|</includeonly>}}}</div>
+
         <div class="lorebox-pendulum_scale nomobile" aria-hidden="true">{{{pendulum_scale<includeonly>|</includeonly>}}}</div>
 
         <div class="lorebox-lore lorebox-lore--pendulum">{{{pendulum_effect<includeonly>|</includeonly>}}}</div>
 
         <div class="lorebox-lore lorebox-lore--pendulum">{{{pendulum_effect<includeonly>|</includeonly>}}}</div>
         <div class="lorebox-pendulum_scale mobile-hide" aria-hidden="true">{{{pendulum_scale<includeonly>|</includeonly>}}}</div>
+
         <div class="lorebox-pendulum_scale nomobile" aria-hidden="true">{{{pendulum_scale<includeonly>|</includeonly>}}}</div>
 
       </div>
 
       </div>
 
     }}<div class="lorebox lorebox--main">{{ #if: {{{types<includeonly>|</includeonly>}}} |<!--
 
     }}<div class="lorebox lorebox--main">{{ #if: {{{types<includeonly>|</includeonly>}}} |<!--
Line 376: Line 376:
 
{{ #if: {{{4k_lore<includeonly>|</includeonly>}}} |
 
{{ #if: {{{4k_lore<includeonly>|</includeonly>}}} |
 
{{ #if: {{{lore<includeonly>|</includeonly>}}} | <hr /> }}
 
{{ #if: {{{lore<includeonly>|</includeonly>}}} | <hr /> }}
[[4K Media]] lore<span class="explain mobile-hide" title="{{ #var: $4k_text }}" style="vertical-align: super;">?</span>: <span class="mobile-show">({{ #var: $4k_text }}):</span> {{{4k_lore}}}
+
[[4K Media]] lore<span class="explain nomobile" title="{{ #var: $4k_text }}" style="vertical-align: super;">?</span>: <span class="mobile-show">({{ #var: $4k_text }}):</span> {{{4k_lore}}}
 
     }}</div><!--
 
     }}</div><!--
  

Revision as of 23:34, 15 December 2017

{{{article_messages}}}

Anime card
Japanese
{{{ja_name}}}
Rōmaji
{{{romaji_name}}}
Translated
{{{trans_name}}}
Attribute [[File:{{{ATTRIBUTE}}}.svg|28px|alt=]] [[{{{ATTRIBUTE}}}]]
Level ???
Link Arrows

 
Ritual Card [[{{{ritual_card}}}|{{{ritual_card}}}]]
Material
  • "[[{{{material}}}|{{{material}}}]]"
Pendulum Scale [[Pendulum Scale {{{pendulum_scale}}} Monster Cards|{{{pendulum_scale}}}]]
{{{pendulum_scale}}}
{{{pendulum_effect}}}
{{{pendulum_scale}}}
[
]
  • "[[{{{material}}}|{{{material}}}]]"

{{{lore}}}
4K Media lore?: (The English card uses the same lore as the OCG/TCG card. The Japanese card and reference sources state the effect differently.): {{{4k_lore}}}
ATK / ???   DEF / ???
Appearances
Links yugioh.com
  • [[Card Gallery:{{{main}}}|Gallery]]
  • [[Card Appearances:{{{main}}}|Appearances]]
  • [[Card Trivia:{{{main}}}|Trivia]]
  • [[Card Lores:{{{main}}}|Lores]]
  • [[Card Artworks:{{{main}}}|Artworks]]
  • [[Card Names:{{{main}}}|Names]]

Other languages

Name Pendulum EffectLore
French {{{fr_name}}} {{{fr_pendulum_effect}}}

{{{fr_material}}}

{{{fr_lore}}}
German {{{de_name}}} {{{de_pendulum_effect}}}

{{{de_material}}}

{{{de_lore}}}
Italian {{{it_name}}} {{{it_pendulum_effect}}}

{{{it_material}}}

{{{it_lore}}}
Portuguese {{{pt_name}}} {{{pt_pendulum_effect}}}

{{{pt_material}}}

{{{pt_lore}}}
Spanish {{{es_name}}} {{{es_pendulum_effect}}}

{{{es_material}}}

{{{es_lore}}}
Japanese {{{ja_name}}} {{{ja_pendulum_effect}}}

{{{ja_material}}}

{{{ja_lore}}}
{{{romaji_name}}}
Korean {{{ko_name}}} {{{ko_pendulum_effect}}}

{{{ko_material}}}

{{{ko_lore}}}
{{{ko_rr_name}}}

Images

Decks

  • [[{{{decks}}}|{{{decks}}}]]

Search categories

Supports
[[{{{supports}}}|{{{supports}}}]]
Anti-supports
[[{{{anti-supports}}}|{{{anti-supports}}}]]
Archetypes and series
[[{{{archseries}}}|{{{archseries}}}]]
Supports archetypes
"[[{{{supports archetypes}}}|{{{supports archetypes}}}]]"
Anti-supports archetypes
"[[{{{anti-supports archetypes}}}|{{{anti-supports archetypes}}}]]"
Related to archetypes and series
[[{{{related to archseries}}}|{{{related to archseries}}}]]
Counters
[[{{{counter}}}|{{{counter}}}]]
Actions
[[{{{action}}}|{{{action}}}]]
Stat changes
[[{{{stat_change}}}|{{{stat_change}}}]]
Monster/Spell/Trap categories
[[{{{m/s/t}}}|{{{m/s/t}}}]]
Summoning categories
[[{{{summoning}}}|{{{summoning}}}]]
Attack categories
[[{{{attack}}}|{{{attack}}}]]
Banished categories
[[{{{banished}}}|{{{banished}}}]]
LP
[[{{{life_points}}}|{{{life_points}}}]]
Fusion Material for
"[[{{{fm for}}}|{{{fm for}}}]]"
Synchro Material for
"[[{{{sm for}}}|{{{sm for}}}]]"
Miscellaneous
[[{{{misc}}}|{{{misc}}}]]