Difference between revisions of "Template:CardTable2/sandbox"

From Yugipedia
Jump to: navigation, search
(rm nested <includeonly/> tag (breaks output on the template pages, but not on transclusions))
(sync with main)
 
Line 82: Line 82:
 
}}<!--
 
}}<!--
 
-->{{ #vardefine: $non-en-sets-heading | {{ #if: {{ #var: $tcg-en }} | Sets in other languages | Sets }} }}<!--
 
-->{{ #vardefine: $non-en-sets-heading | {{ #if: {{ #var: $tcg-en }} | Sets in other languages | Sets }} }}<!--
 
# Overall debut date
 
-->{{ #vardefine: $debut_date | {{SMW plain|{{ #ask: [[Release::OCG||TCG||Yu-Gi-Oh! Rush Duel]][[Has subobject.Set contains::{{PAGENAME}}]][[Release date::+]]
 
    |?Release date#
 
    | sort        = Release date
 
    | mainlabel  = -
 
    | limit      = 1
 
    | searchlabel =
 
    | template    = echo
 
    }}
 
  }}
 
}}<!--
 
  
 
# TCG and TCG Speed Duel debut dates
 
# TCG and TCG Speed Duel debut dates
Line 99: Line 87:
 
| {{ #vardefine: $tcg_debut_date
 
| {{ #vardefine: $tcg_debut_date
 
   | {{SMW plain
 
   | {{SMW plain
     |{{ #ask: [[Release::TCG]][[Has subobject.Set contains::{{PAGENAME}}]][[Release date::+]]
+
     |{{ #ask: [[Has subobject.Set contains::{{PAGENAME}}]][[Release::TCG]][[Release date::+]]
 
       |?Release date#
 
       |?Release date#
 
       | sort        = Release date
 
       | sort        = Release date
Line 112: Line 100:
 
   -->{{ #vardefine: $tcg_sd_debut_date
 
   -->{{ #vardefine: $tcg_sd_debut_date
 
   | {{SMW plain
 
   | {{SMW plain
     |{{ #ask: [[Set page.Format::Speed Duel]][[Has subobject.Set contains::{{PAGENAME}}]][[Release date::+]]
+
     |{{ #ask: [[Has subobject.Set contains::{{PAGENAME}}]][[Set page.Format::Speed Duel]][[Release date::+]]
 
       |?Release date#
 
       |?Release date#
 
       | sort        = Release date
 
       | sort        = Release date
Line 129: Line 117:
 
| {{ #vardefine: $ocg_debut_date
 
| {{ #vardefine: $ocg_debut_date
 
   | {{SMW plain
 
   | {{SMW plain
     |{{ #ask: [[Release::OCG]][[Has subobject.Set contains::{{PAGENAME}}]][[Release date::+]]
+
     |{{ #ask: [[Has subobject.Set contains::{{PAGENAME}}]][[Release::OCG]][[Release date::+]]
 
       |?Release date#
 
       |?Release date#
 
       | sort        = Release date
 
       | sort        = Release date
Line 140: Line 128:
 
   }}
 
   }}
 
}}<!--
 
}}<!--
 +
 +
# Overall debut date
 +
-->{{ #vardefine: $debut_date | {{ #if: {{ #var: $ocg_debut_date }}{{ #var: $tcg_debut_date }}
 +
  | {{ #ifexpr: {{ #time: U | {{ #var: $ocg_debut_date | today + 10 years }} }} < {{ #time: U | {{ #var: $tcg_debut_date | today + 10 years }} }}
 +
    | {{ #var: $ocg_debut_date }}
 +
    | {{ #var: $tcg_debut_date }}
 +
  }}
 +
  | {{SMW plain|{{ #ask: [[Has subobject.Set contains::{{PAGENAME}}]][[Release::OCG<!-- RD card lists are currently tagged as "OCG" -->||Yu-Gi-Oh! Rush Duel]][[Release date::+]]
 +
    |?Release date#
 +
    | sort        = Release date
 +
    | mainlabel  = -
 +
    | limit      = 1
 +
    | searchlabel =
 +
    | template    = echo
 +
    }}
 +
  }}
 +
}} }}<!--
  
 
-->{{ #vardefine: $card_type  | {{ ucfirst: {{ #replace: {{ lc: {{{card_type<includeonly>|</includeonly>}}} }} | card }} }} }}<!--
 
-->{{ #vardefine: $card_type  | {{ ucfirst: {{ #replace: {{ lc: {{{card_type<includeonly>|</includeonly>}}} }} | card }} }} }}<!--
 
-->{{ #arraydefine: $types    | {{{types<includeonly>|</includeonly>}}} | / }}<!--
 
-->{{ #arraydefine: $types    | {{{types<includeonly>|</includeonly>}}} | / }}<!--
-->{{ #arraydefine: @type_list | Aqua, Beast, Beast-Warrior, Celestial Warrior<!-- RD/English -->, Creator God, Cyberse, Cyborg<!-- RD/unofficial English -->, Dinosaur, Divine-Beast, Dragon, Fairy, Fiend, Fish, Galaxy<!-- RD/unofficial? English -->, High Dragon<!-- RD/unofficial English -->, Illusion, Insect, Machine, Magical Knight<!-- RD/unofficial English -->, Omega Psychic<!-- RD/unofficial English -->, Plant, Psychic, Pyro, Reptile, Rock, Sea Serpent, Spellcaster, Thunder, Warrior, Winged Beast, Wyrm, Zombie, ? }}<!--
+
-->{{ #arraydefine: @type_list | {{Types|all}}, ? }}<!--
 
-->{{ #vardefine: $type | {{ #arrayindex: $types | 0 }} }}<!-- assume that the first item in {{{types}}} is the monster's Type
 
-->{{ #vardefine: $type | {{ #arrayindex: $types | 0 }} }}<!-- assume that the first item in {{{types}}} is the monster's Type
 
-->{{ #vardefine: $valid_type | {{ #arraysearch: @type_list | {{ #var: $type }} }} }}<!--
 
-->{{ #vardefine: $valid_type | {{ #arraysearch: @type_list | {{ #var: $type }} }} }}<!--
Line 362: Line 367:
 
Main card page
 
Main card page
 
-->{{ #if: {{ #pos: {{ #var: $pagename }} | (Rush Duel }}{{{main<includeonly>|</includeonly>}}}
 
-->{{ #if: {{ #pos: {{ #var: $pagename }} | (Rush Duel }}{{{main<includeonly>|</includeonly>}}}
      | {{ #switch: {{ lc: {{{main}}} }}
+
  | {{ #switch: {{ lc: {{{main}}} }}
          | no | none | false = <!-- No main. -->
+
    | no | none | false = <!-- No main. -->
          | {{ #if: {{{main<includeonly>|</includeonly>}}}
+
    | #default = {{ #vardefine: $main | {{target of|{{ #if: {{{main|}}} | {{ #replace: {{{main}}} | # }} | {{ #var: $url-name }} }}}} }}
                | {{ #vardefine: $main | {{ #replace: {{{main}}} | # }} }}{{ #vardefine: $main_text | {{ #show: {{{main}}} | ?English name | default = {{ #var: $url-name }} }} }}
+
  }}
                | {{ #vardefine: $main | {{ #show: {{ #var: $url-name }} | ?Page name | default = {{ #var: $url-name }} }} }}{{ #vardefine: $main_text | {{ #show: {{ #var: $url-name }} | ?English name | default = {{ #var: $url-name }} }} }}
+
}}<!--
            }}
 
      }}
 
  }}<!--
 
 
-->{{ #if: {{ #var: $main }}
 
-->{{ #if: {{ #var: $main }}
| {{Main|type=card page|"[[{{ #var: $main }}|{{ #var: $main_text }}]]"|t=1}}{{ #set: Main card page = {{ #var: $main }} }}
+
| {{Main|type=card page|"{{ #show: {{ #var: $main }} |?English name (linked) }}"|t=1}}{{ #set: Main card page = {{ #var: $main }} }}
 
}}<!--
 
}}<!--
 
TOC
 
TOC
Line 412: Line 414:
 
   -->{{ #if: {{ #var: $smw }}
 
   -->{{ #if: {{ #var: $smw }}
 
   | <!--
 
   | <!--
    -->{{ #set: Page name = {{ #var: $pagename }} }}<!--
 
 
     -->{{ #set: English name = {{ #var: $name }} }}<!--
 
     -->{{ #set: English name = {{ #var: $name }} }}<!--
 
     -->{{ #set: English name (linked) = [[{{ #var: $pagename }}|{{ #var: $name }}]] }}
 
     -->{{ #set: English name (linked) = [[{{ #var: $pagename }}|{{ #var: $name }}]] }}
Line 444: Line 445:
 
| label1 = Other names
 
| label1 = Other names
 
| class1 = plainlist
 
| class1 = plainlist
| data1  = {{ #if: {{{alt_name<includeonly>|</includeonly>}}} | &#32;
+
| data1  = {{ #if: {{{alt_name<includeonly>|</includeonly>}}} | {{ #arraymap: {{{alt_name}}} | * | $name |  
* {{{alt_name}}} }}{{ #if: {{{alt_name2<includeonly>|</includeonly>}}} |&#32;
+
* $name
* {{{alt_name2}}} }}{{ #if: {{{alt_name3<includeonly>|</includeonly>}}} |&#32;
+
| \n
* {{{alt_name3}}} }}<includeonly>{{ #if: {{{alt_name|}}}{{{alt_name2|}}}{{{alt_name3|}}} | [[Category:Card pages with an alt name]] }}</includeonly>
+
}}<includeonly>[[Category:Card pages with an alt name]]</includeonly>
 +
}}
 
| label2 = Other names (Japanese)
 
| label2 = Other names (Japanese)
 
| data2  = {{ #if: {{{ja_alt_name<includeonly>|</includeonly>}}}
 
| data2  = {{ #if: {{{ja_alt_name<includeonly>|</includeonly>}}}
Line 665: Line 667:
 
   }}
 
   }}
 
| data19  = {{ #if: {{ #if: {{ #var: $no_lore }} || {{{lore<includeonly>|</includeonly>}}} }}{{{pendulum_effect|}}}{{ #if: {{{requirement|}}} | {{{summoning_condition|}}} }}
 
| data19  = {{ #if: {{ #if: {{ #var: $no_lore }} || {{{lore<includeonly>|</includeonly>}}} }}{{{pendulum_effect|}}}{{ #if: {{{requirement|}}} | {{{summoning_condition|}}} }}
   | <div class="lore">
+
   | <div class="lore"><!--
<!--
 
 
     -->{{ #if: {{{requirement<includeonly>|</includeonly>}}}
 
     -->{{ #if: {{{requirement<includeonly>|</includeonly>}}}
         | {{#if: {{{materials|}}} | {{{materials}}}{{ #if: {{{summoning_condition|}}} | <br /> }} }}
+
         | {{ #if: {{{materials|}}} | {{{materials}}}{{ #if: {{{summoning_condition|}}} | <br /> }} }}
 
{{{summoning_condition|}}}
 
{{{summoning_condition|}}}
 
       }}<!--
 
       }}<!--
Line 1,378: Line 1,379:
 
| main | name | fr_name | fr_trans_name | de_name | de_trans_name | it_name | it_trans_name | pt_name | pt_trans_name | es_name | es_trans_name | ja_name | romaji_name | trans_name | base_romaji_name | base_trans_name | ko_name | ko_rr_name | ko_trans_name | zh_name | zh_pinyin_name | zh_trans_name | tc_name | tc_pinyin_name | tc_trans_name | sc_name | sc_pinyin_name | sc_trans_name
 
| main | name | fr_name | fr_trans_name | de_name | de_trans_name | it_name | it_trans_name | pt_name | pt_trans_name | es_name | es_trans_name | ja_name | romaji_name | trans_name | base_romaji_name | base_trans_name | ko_name | ko_rr_name | ko_trans_name | zh_name | zh_pinyin_name | zh_trans_name | tc_name | tc_pinyin_name | tc_trans_name | sc_name | sc_pinyin_name | sc_trans_name
 
| image | current_image | image2
 
| image | current_image | image2
| alt_name | alt_name2 | alt_name3 | ja_alt_name | ja_alt_romaji | ja_alt_trans
+
| alt_name | ja_alt_name | ja_alt_romaji | ja_alt_trans
 
| rush_duel | continuous_effect
 
| rush_duel | continuous_effect
 
| card_type | types | property | attribute | level | rank | link_arrows | atk | def | pendulum_scale | maximum_atk | password | limitation_text
 
| card_type | types | property | attribute | level | rank | link_arrows | atk | def | pendulum_scale | maximum_atk | password | limitation_text

Latest revision as of 02:10, 18 May 2024

The parameter `{{{default_image}}}` is not supported!
The parameter `{{{width}}}` is not supported!
CardTable2/sandbox
CardTable2/sandbox
Other names* {{{alt_name}}}
Other names (Japanese){{{ja_alt_name}}}
{{{ja_alt_romaji}}}
{{{ja_alt_trans}}}
Card type[[{{{card_type}}} Card|{{{card_type}}}]] [[File:{{{CARD_TYPE}}}.svg|28px|alt=|class=noviewer]]Property "Card type" (as page type) with input value "{{{card_type}}} Card" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
Attribute[[{{{ATTRIBUTE}}}]]Property "Attribute" (as page type) with input value "{{{ATTRIBUTE}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. [[File:{{{ATTRIBUTE}}}.svg|28px|alt=|class=noviewer]]
Types{{{types}}}
Property[[{{{property}}} {{{card_type}}} Card|{{{property}}}]] [[File:{{{property}}}.svg|28px|alt=|class=noviewer]]
Level[[Level {{{level}}} Monster Cards|{{{level}}}]] CG Star Unknown.svgTemplate:Star properties/sandbox
Link Arrows
Template:Link map/sandbox 
[[{{{link_arrows}}} Link Arrow cards|{{{link_arrows}}}]]
Pendulum ScalePendulum Scale.png [[Pendulum Scale {{{pendulum_scale}}} Monster Cards|{{{pendulum_scale}}}]]
MAXIMUM ATK{{{maximum_atk}}}Property "MAXIMUM ATK" (as page type) with input value "{{{maximum_atk}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
ATK / DEF[[{{{atk}}} ATK Monster Cards|{{{atk}}}]] / [[{{{def}}} DEF Monster Cards|{{{def}}}]]Template:ATK DEF properties/sandbox
Password[[{{{password}}}]]
Limitation text{{{limitation_text}}}
Ritual required"[[{{{ritualcard}}}]]" Property "Ritual Spell Card required" (as page type) with input value "{{{ritualcard}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.

  • "[[{{{ritualmonster}}}]]" Property "Ritual Monster required" (as page type) with input value "{{{ritualmonster}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
Summoned by the effect of
Effect types; Pendulum Effect Template:CardTable2/effect/sandbox
Monster EffectTemplate:CardTable2/effect/sandbox
Status
[[{{{tcg_speed_duel_status}}}]] (TCG Speed Duel)
Source card""
Skill activation
{{{skill_activation}}}
Effect
Pendulum Effect
{{{pendulum_effect}}}
Monster Effect
[REQUIREMENT]
{{{requirement}}}
[EFFECT]
{{{lore}}}
Use{{{use}}}

Template:Card info links/sandbox

English sets

Worldwide

  • No set name given at non-empty input line 1.
ReleaseNumberSetRarity
[[{{{en_sets}}}|{{{en_sets}}}]]

North America

  • No set name given at non-empty input line 1.
ReleaseNumberSetRarity
[[{{{na_sets}}}|{{{na_sets}}}]]

Europe

  • No set name given at non-empty input line 1.
ReleaseNumberSetRarity
[[{{{eu_sets}}}|{{{eu_sets}}}]]

Australia

  • No set name given at non-empty input line 1.
ReleaseNumberSetRarity
[[{{{au_sets}}}|{{{au_sets}}}]]

Search categories

Template:Search categories/sandbox

Other languages

Template:Card localizations/sandbox

Sets in other languages

French

Lua error in Module:Data/smw/name at line 17: invalid value (nil) at index 2 in table for 'concat'.

French-Canadian

Lua error in Module:Data/smw/name at line 17: invalid value (nil) at index 2 in table for 'concat'.

German

Lua error in Module:Data/smw/name at line 17: invalid value (nil) at index 2 in table for 'concat'.

Italian

Lua error in Module:Data/smw/name at line 17: invalid value (nil) at index 2 in table for 'concat'.

Portuguese

Lua error in Module:Data/smw/name at line 17: invalid value (nil) at index 2 in table for 'concat'.

Spanish

Lua error in Module:Data/smw/name at line 17: invalid value (nil) at index 2 in table for 'concat'.

Japanese

Lua error in Module:Data/smw/name at line 17: invalid value (nil) at index 2 in table for 'concat'.

Japanese Asian

Lua error in Module:Data/smw/name at line 17: invalid value (nil) at index 2 in table for 'concat'.

Asian-English

  • No set name given at non-empty input line 1.
ReleaseNumberSetRarity
[[{{{ae_sets}}}|{{{ae_sets}}}]]

Korean

Lua error in Module:Data/smw/name at line 17: invalid value (nil) at index 2 in table for 'concat'.

Traditional Chinese

Lua error in Module:Data/smw/name at line 17: invalid value (nil) at index 2 in table for 'concat'.

Simplified Chinese

Lua error in Module:Data/smw/name at line 17: invalid value (nil) at index 2 in table for 'concat'.

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21{{{ntr_name}}}Present
Online2005-11-04Present
GX Spirit Caller2006-11-30{{{gx03_name}}}[[{{{gx03_status}}}]]
Duel Arena2014-06-26Present

Lores and sets

Video gameLoreSets
Nightmare Troubadour{{{ntr_sets}}}
Online{{{ygo_lore}}}{{{ygo_sets}}}
GX Spirit Caller{{{gx03_sets}}}
Duel Arena{{{dar_lore}}}