Changes

Jump to: navigation, search

Template:Anime card

2,584 bytes added, 4 months ago
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
{{ #if: {{ #var: $ja_name }}{{{ja_lore<includeonly>|</includeonly>}}}{{{ja_material|}}}{{{ja_pendulum_effect|}}} |
<tr>
<th rowspan="{{ #if: {{{trans_loretrans_name<includeonly>|</includeonly>}}}{{{trans_lore|}}}{{{trans_pendulum_effect|}}} | 3 | 2 }}" scope="row">Japanese</th>
<td lang="ja">{{ #var: $ja_name }}{{{ja_name_note|}}}</td>
{{ #if: {{ #var: $is_pendulum }} |
</tr>
}}
{{ #if: {{{trans_loretrans_name<includeonly>|</includeonly>}}}{{{trans_lore|}}}{{{trans_pendulum_effect|}}} |
<tr>
<td>{{{trans_name<includeonly>|</includeonly>}}}</td>
{{ #if: {{ #var: $is_pendulum }} |
<td>{{{trans_pendulum_effect<includeonly>|</includeonly>}}}</td>
-->{{ #ifeq: {{ #var: $debut_date }} | unknown
|
| [[Debut date::{{ #if: {{ #var: $film_debut_date debut_date }} | {{ #if: {{ #var: $debut_date film_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 }} }} | {{ #var: $film_debut_date }} | {{ #var: $debut_date today + 5 years }}<!-- earliest episode appearance (defined in {{Anime card/appears}} → {{ctaama}} --> }}
| {{ #var: $film_debut_date }}
| {{ #var: $debut_date }}<!-- earliest episode appearance (defined in {{Anime card/appears}} → {{ctaama}} -->
}}
| {{ #var: $debut_date }}
}}| ]]
}}<!--
-->{{ #if: {{NAMESPACE}}
|| [[Category:Anime cards]][[Medium::Anime| ]]{{ #ififeq: {{{type_text|¬}}}{{{ja_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]]
}}{{ #ififeq: {{{cardclass|¬}}} | ¬ || [[Category:Card table parameter tracking (cardclass)]] }}{{ #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: {{ #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: {{{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]]
}}
}}<!--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>

Navigation menu