Permanently protected template

Difference between revisions of "Template:Anime card"

From Yugipedia
Jump to: navigation, search
(query for the English name instead of messing with display formatting ourselves)
(include `trans_name` in name/lore table; simplify debut date logic a bit; rm check of unimplemented `ja_type_text`; track `bodystyle` and `titlestyle` and empty `type_text` and `cardclass`; track other language name/lore note params; track unknown params)
Line 555: Line 555:
 
   {{ #if: {{ #var: $ja_name }}{{{ja_lore<includeonly>|</includeonly>}}}{{{ja_material|}}}{{{ja_pendulum_effect|}}} |
 
   {{ #if: {{ #var: $ja_name }}{{{ja_lore<includeonly>|</includeonly>}}}{{{ja_material|}}}{{{ja_pendulum_effect|}}} |
 
     <tr>
 
     <tr>
         <th rowspan="{{ #if: {{{trans_lore<includeonly>|</includeonly>}}}{{{trans_pendulum_effect|}}} | 3 | 2 }}" scope="row">Japanese</th>
+
         <th rowspan="{{ #if: {{{trans_name<includeonly>|</includeonly>}}}{{{trans_lore|}}}{{{trans_pendulum_effect|}}} | 3 | 2 }}" scope="row">Japanese</th>
 
         <td lang="ja">{{ #var: $ja_name }}{{{ja_name_note|}}}</td>
 
         <td lang="ja">{{ #var: $ja_name }}{{{ja_name_note|}}}</td>
 
     {{ #if: {{ #var: $is_pendulum }} |
 
     {{ #if: {{ #var: $is_pendulum }} |
Line 569: Line 569:
 
     </tr>
 
     </tr>
 
   }}
 
   }}
   {{ #if: {{{trans_lore<includeonly>|</includeonly>}}}{{{trans_pendulum_effect|}}} |
+
   {{ #if: {{{trans_name<includeonly>|</includeonly>}}}{{{trans_lore|}}}{{{trans_pendulum_effect|}}} |
 
     <tr>
 
     <tr>
         <td></td>
+
         <td>{{{trans_name<includeonly>|</includeonly>}}}</td>
 
     {{ #if: {{ #var: $is_pendulum }} |
 
     {{ #if: {{ #var: $is_pendulum }} |
 
         <td>{{{trans_pendulum_effect<includeonly>|</includeonly>}}}</td>
 
         <td>{{{trans_pendulum_effect<includeonly>|</includeonly>}}}</td>
Line 685: Line 685:
 
-->{{ #ifeq: {{ #var: $debut_date }} | unknown
 
-->{{ #ifeq: {{ #var: $debut_date }} | unknown
 
|  
 
|  
| [[Debut date::{{ #if: {{ #var: $film_debut_date }}
+
| [[Debut date::{{ #if: {{ #var: $debut_date }}{{ #var: $film_debut_date }}
  | {{ #if: {{ #var: $debut_date }}
+
  | {{ #ifexpr: {{ #time: U | {{ #var: $film_debut_date | today + 5 years<!-- surely we'll never get ep/film announcements more than five years in advance --> }} }} <= {{ #time: U | {{ #var: $debut_date | today + 5 years }} }}
    | {{ #ifexpr: {{ #time: U | {{ #var: $film_debut_date }} }} <= {{ #time: U | {{ #var: $debut_date }} }}
 
      | {{ #var: $film_debut_date }}
 
      | {{ #var: $debut_date }}<!-- earliest episode appearance (defined in {{Anime card/appears}} → {{ctaama}} -->
 
      }}
 
 
     | {{ #var: $film_debut_date }}
 
     | {{ #var: $film_debut_date }}
 +
    | {{ #var: $debut_date }}<!-- earliest episode appearance (defined in {{Anime card/appears}} → {{ctaama}} -->
 
     }}
 
     }}
  | {{ #var: $debut_date }}
 
 
   }}| ]]
 
   }}| ]]
 
}}<!--
 
}}<!--
 
-->{{ #if: {{NAMESPACE}}
 
-->{{ #if: {{NAMESPACE}}
|| [[Category:Anime cards]][[Medium::Anime| ]]{{ #if: {{{type_text|}}}{{{ja_type_text|}}} | [[Category:Unusable cards]][[Category:Card table parameter tracking (type_text)]]
+
|| [[Category:Anime cards]][[Medium::Anime| ]]{{ #ifeq: {{{type_text|¬}}} | ¬ || [[Category:Unusable cards]][[Category:Card table parameter tracking (type_text)]]
 
   }}{{ #ifeq: {{ lc: {{{yugioh_site}}} }} | none | [[Category:Cards with a suppressed yugioh.com link]]
 
   }}{{ #ifeq: {{ lc: {{{yugioh_site}}} }} | none | [[Category:Cards with a suppressed yugioh.com link]]
   }}{{ #if: {{{cardclass|}}} | [[Category:Card table parameter tracking (cardclass)]]
+
   }}{{ #ifeq: {{{cardclass|¬}}} | ¬ || [[Category:Card table parameter tracking (cardclass)]]
   }}{{ #if: {{{name_note|}}}{{{ja_name_note|}}}{{{ko_name_note|}}}{{{card_type_note|}}}{{{property_note|}}}{{{attribute_note|}}}{{{types_note|}}}{{{level-rank_note|}}}{{{atk_note|}}}{{{def_note|}}}{{{atk-def_note|}}}{{{pendulum_scale_note|}}}{{{lore_note|}}}{{{ja_lore_note|}}}{{{ko_lore_note|}}} | [[Category:Cards with notes]]
+
  }}{{ #ifeq: {{{bodystyle|¬}}} | ¬ || [[Category:Card table parameter tracking (bodystyle)]]
 +
  }}{{ #ifeq: {{{titlestyle|¬}}} | ¬ || [[Category:Card table parameter tracking (titlestyle)]]
 +
   }}{{ #if: {{{name_note|}}}{{{fr_name_note|}}}{{{de_name_note|}}}{{{it_name_note|}}}{{{pt_name_note|}}}{{{es_name_note|}}}{{{ja_name_note|}}}{{{ko_name_note|}}}{{{card_type_note|}}}{{{property_note|}}}{{{attribute_note|}}}{{{types_note|}}}{{{level-rank_note|}}}{{{atk_note|}}}{{{def_note|}}}{{{atk-def_note|}}}{{{pendulum_scale_note|}}}{{{lore_note|}}}{{{fr_lore_note|}}}{{{de_lore_note|}}}{{{it_lore_note|}}}{{{pt_lore_note|}}}{{{es_lore_note|}}}{{{ja_lore_note|}}}{{{ko_lore_note|}}} | [[Category:Cards with notes]]
 
   }}{{ #if: {{ #var: $main }}
 
   }}{{ #if: {{ #var: $main }}
 
   | {{ #if: {{ #ask: [[{{ #var: $main }}]] <q>[[Category:OCG cards]] OR [[Category:TCG cards]] OR [[Category:Unusable cards]]</q> }} || [[Category:Anime cards with no OCG/TCG counterpart]] }}
 
   | {{ #if: {{ #ask: [[{{ #var: $main }}]] <q>[[Category:OCG cards]] OR [[Category:TCG cards]] OR [[Category:Unusable cards]]</q> }} || [[Category:Anime cards with no OCG/TCG counterpart]] }}
Line 711: Line 709:
 
   }}{{ #if: {{{appears_in_dm|}}}{{{appears_in_cm|}}}{{{appears_in_gx|}}}{{{appears_in_5d|}}}{{{appears_in_zx|}}}{{{appears_in_av|}}}{{{appears_in_vr|}}}{{{appears_in_gr|}}}{{{appears_in_sv|}}}{{{appears_in_mov|}}}{{{appears_in_mov2|}}}{{{appears_in_mov3|}}} || [[Category:Anime cards with no appearances]]
 
   }}{{ #if: {{{appears_in_dm|}}}{{{appears_in_cm|}}}{{{appears_in_gx|}}}{{{appears_in_5d|}}}{{{appears_in_zx|}}}{{{appears_in_av|}}}{{{appears_in_vr|}}}{{{appears_in_gr|}}}{{{appears_in_sv|}}}{{{appears_in_mov|}}}{{{appears_in_mov2|}}}{{{appears_in_mov3|}}} || [[Category:Anime cards with no appearances]]
 
   }}
 
   }}
}}<noinclude>{{documentation}}</noinclude>
+
}}<!--
 +
check for unknown parameters
 +
-->{{ #invoke: check for unknown parameters | check
 +
| unknown = [[Category:((Anime card)) transclusions using unknown parameters]]
 +
| showblankpositional = 1
 +
| preview = unknown <nowiki>{{Anime card}}</nowiki> parameter "_VALUE_"
 +
| italic_title | main | rush_duel_main | non-card | article_messages | reconstructed_lore | cardclass | bodystyle | titlestyle
 +
| image | dub_image | ja_image | ko_image | astral_image | barian_image | image_ca | image_nc | image_other
 +
| name | fr_name | de_name | it_name | pt_name | es_name | ja_name | romaji_name | trans_name | ko_name | ko_rr_name | ko_trans_name | alt_names
 +
| card_type | property | attribute | types | level | rank | atk | def | link_arrows | pendulum_scale | effect_types | ritual_card | token_summon
 +
| type_text | description | deck_master_ability
 +
| pendulum_effect | fr_pendulum_effect | de_pendulum_effect | it_pendulum_effect | pt_pendulum_effect | es_pendulum_effect | ja_pendulum_effect | trans_pendulum_effect | ko_pendulum_effect
 +
| material | fr_material | de_material | it_material | pt_material | es_material | ja_material | ko_material
 +
| lore | 4k_lore | fr_lore | de_lore | it_lore | pt_lore | es_lore | ja_lore | trans_lore | ko_lore
 +
| appears_in_dm | appears_in_cm | appears_in_gx | appears_in_5d | appears_in_zx | appears_in_av | appears_in_vr | appears_in_sv | appears_in_gr | appears_in_mov | appears_in_mov2 | appears_in_mov3
 +
| yugioh_site | yugioh_site_raw
 +
| decks
 +
| mentions | supports | anti-supports | archseries | supports_archetypes | anti-supports_archetypes | related_to_archseries | counter | action | stat_change | m/s/t | summoning | attack | banished | life_points | fm_for | sm_for | misc
 +
| name_note | fr_name_note | de_name_note | it_name_note | pt_name_note | es_name_note | ja_name_note | ko_name_note
 +
| card_type_note | property_note | attribute_note | level-rank_note | pendulum_scale_note | types_note | atk_note | def_note | atk-def_note
 +
| lore_note | fr_lore_note | de_lore_note | it_lore_note | pt_lore_note | es_lore_note | ja_lore_note | ko_lore_note
 +
}}<!--
 +
--><noinclude>{{documentation}}</noinclude>

Revision as of 17:56, 2 December 2023

{{{article_messages}}}

Anime card
Japanese
{{{ja_name}}}
Rōmaji
{{{romaji_name}}}
Translated
{{{trans_name}}}
Card type [[{{{card_type}}} Card|{{{card_type}}}]]
Property [[File:{{{property}}}.svg|18px|alt=|class=noviewer]] [[{{{property}}} {{{card_type}}} Card|{{{property}}}]]
Attribute {{{ATTRIBUTE}}}
Link Arrows

 
Effect types

  • [[{{{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.
Ritual Card ""
Material
  • ""
Summoned by the effect of

  • ""
{{{non-card}}}
Description {{{description}}}
Pendulum Scale [[Pendulum Scale {{{pendulum_scale}}} Monster Cards|{{{pendulum_scale}}}]]
{{{pendulum_scale}}}
{{{pendulum_effect}}}
{{{pendulum_scale}}}
[
[[{{{types}}}|{{{types}}}]]
]
  • ""

{{{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}}}
Deck Master ability {{{deck_master_ability}}}
Appearances
Links yugioh.com
  • [[Card Gallery:{{{main}}}|Gallery]]
  • [[Card Artworks:{{{main}}}|Artworks]]
  • [[Card Trivia:{{{main}}}|Trivia]]
  • [[Card Appearances:{{{main}}}|Appearances]]
  • [[Card Names:{{{main}}}|Names]]
  • [[Card Lores:{{{main}}}|Lores]]

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}}}
{{{trans_name}}} {{{trans_pendulum_effect}}}{{{trans_lore}}}
Korean {{{ko_name}}} {{{ko_pendulum_effect}}}

{{{ko_material}}}

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

Images

Decks

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

Search categories

Mentions
"[[{{{mentions}}}|{{{mentions}}}]]"
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}}}]]

In other media