Difference between revisions of "Template:CM card"

From Yugipedia
Jump to: navigation, search
(rm ability - Blue-Eyes is the only CM monster with an ability, so we're just using the lore for it)
(pass card name to {{Enumeration}})
 
(17 intermediate revisions by 3 users not shown)
Line 2: Line 2:
  
 
## Variables ##
 
## Variables ##
-->{{ #vardefine: $name | {{ #if: {{{name|}}} | {{{name}}} | {{ #titleparts: {{ #if: {{ #pos: {{PAGENAME}} | (2) }} | {{PAGENAME}} | {{ #explode: {{PAGENAME}} | ( }} }} }} }} }}<!--
+
-->{{ #vardefine: $is2 | {{ #if: {{ #pos: {{PAGENAME}} | (2) }} | 1 }} }}<!--
 +
-->{{ #vardefine: $name | {{ #if: {{{name|}}} | {{{name}}} | {{ #titleparts: {{ #if: {{ #var: $is2 }} | {{PAGENAME}} | {{ #explode: {{PAGENAME}} | ( }} }} }} }} }}<!--
 
-->{{ #vardefine: $url-name | {{ #replace: {{ #var: $name }} | # }} }}<!--
 
-->{{ #vardefine: $url-name | {{ #replace: {{ #var: $name }} | # }} }}<!--
 +
-->{{ #vardefine: $card-image-name | {{Card image name|{{ #explode: {{PAGENAME}} | ( }}{{ #if: {{ #var: $is2 }} | 2 }}}} }}<!--
  
-->{{ #if: {{ #pos: {{PAGENAME}} | (CM) }}{{ #pos: {{PAGENAME}} | (2) }}{{{main<includeonly>|</includeonly>}}}
+
-->{{ #if: {{ #pos: {{PAGENAME}} | (CM) }}{{ #var: $is2 }}{{{main<includeonly>|</includeonly>}}}
 
| {{ #switch: {{ lc: {{{main|}}} }}
 
| {{ #switch: {{ lc: {{{main|}}} }}
 
   | no | none | false =  
 
   | no | none | false =  
Line 14: Line 16:
 
## Properties ##
 
## Properties ##
 
-->{{IfSemantics|[[English name::{{ #var: $name }}| ]]<!--
 
-->{{IfSemantics|[[English name::{{ #var: $name }}| ]]<!--
-->[[English name (linked)::[[{{PAGENAME}}|{{ #var: $name }}]]| ]]<!--
+
-->{{ #set: English name (linked) = [[{{PAGENAME}}|{{ #var: $name }}]] }}<!--
 +
-->[[Debut date::2005| ]]<!--
 
-->[[Main card page::{{ #var: $main }}| ]]<!--
 
-->[[Main card page::{{ #var: $main }}| ]]<!--
 
-->{{ #if: {{{faction|}}} | [[Faction::{{{faction}}}| ]] }}<!--
 
-->{{ #if: {{{faction|}}} | [[Faction::{{{faction}}}| ]] }}<!--
Line 27: Line 30:
 
-->{{ #if: {{{attack_cost|}}} | [[Attack Cost::{{{attack_cost}}}| ]] }}<!--
 
-->{{ #if: {{{attack_cost|}}} | [[Attack Cost::{{{attack_cost}}}| ]] }}<!--
 
-->{{ #if: {{{attack_pattern|}}} | [[Attack Pattern::{{{attack_pattern}}}| ]] }}<!--
 
-->{{ #if: {{{attack_pattern|}}} | [[Attack Pattern::{{{attack_pattern}}}| ]] }}<!--
-->{{ #if: {{{attack_range|}}} } [[Attack Range::{{{attack_range}}}| ]] }}<!--
+
-->{{ #if: {{{attack_range|}}} | [[Attack Range::{{{attack_range}}}| ]] }}<!--
-->[[CM number::{{{number}}}| ]]}}<!--
+
-->[[Card number::{{{number}}}| ]]}}<!--
  
 
-->{{ #if: {{ #var: $main }}
 
-->{{ #if: {{ #var: $main }}
 
| {{Main|type=card page|"[[{{ #var: $main }}]]"}}
 
| {{Main|type=card page|"[[{{ #var: $main }}]]"}}
 
}}<!--
 
}}<!--
 +
 +
-->{{ #if: {{ #pos: {{PAGENAME}} | (CM) }} | {{Italic title|{{ #replace: {{FULLPAGENAME}} | (CM) | (''CM'') }}|t=1}} }}<!--
  
 
-->{{Card table
 
-->{{Card table
| bodyclass  = cm{{ #if: {{ #pos: {{PAGENAME}} | (2) }}{{{mp|}}}{{{ap|}}} | 2 }}-card
+
| bodyclass  = cm{{ #if: {{ #var: $is2 }}{{{mp|}}}{{{ap|}}} | 2 }}-card
  
 
| title      = {{ #var: $name }}
 
| title      = {{ #var: $name }}
  
 
| image_raw  = {{ #tag: tabber |
 
| image_raw  = {{ #tag: tabber |
   {{!-!}} Card  = [[File:{{ #if: {{{image|}}} | {{PAGENAME:{{{image}}}}} | {{Card image name|{{ #var: $url-name }}}}Set1-CM-EN.png }}|205px|Card]]
+
   {{!-!}} Card  = [[File:{{ #if: {{{image|}}}
   {{!-!}} Figure = [[File:{{ #if: {{{figure_image|}}} | {{PAGENAME:{{{figure_image}}}}} | {{Card image name|{{ #var: $url-name }}}}-CM-FIGURE.png }}|205px|Figure]]
+
    | {{PAGENAME:{{{image}}}}}
 +
    | {{ #ifexist: File:{{ #var: $card-image-name }}Set1-CM-EN.png
 +
      | {{ #var: $card-image-name }}Set1-CM-EN.png
 +
      | Yu-Gi-OhCapsuleMonsters.png
 +
      }}
 +
    }}|205px|Card]]
 +
   {{!-!}} Figure = [[File:{{ #if: {{{figure_image|}}}
 +
    | {{PAGENAME:{{{figure_image}}}}}
 +
    | {{ #ifexist: File:{{ #var: $card-image-name }}-CM-FIGURE.png
 +
      | {{ #var: $card-image-name }}-CM-FIGURE.png
 +
      | Yu-Gi-OhCapsuleMonsters.png
 +
      }}
 +
    }}|205px|Figure]]
 
   }}
 
   }}
  
 
| label1      = [[Faction]]
 
| label1      = [[Faction]]
| data1      = [[File:{{{faction}}}Faction.svg|34px|alt=]] {{{faction}}}
+
| data1      = [[File:{{{faction}}}Faction.svg|34px|alt=|class=noviewer]] {{{faction}}}
  
 
| label2      = [[Monster Cost]]
 
| label2      = [[Monster Cost]]
 
| data2      = {{ #if: {{{monster_cost<includeonly>|</includeonly>}}}
 
| data2      = {{ #if: {{{monster_cost<includeonly>|</includeonly>}}}
   | [[File:MonsterCost{{{monster_cost}}}.svg|{{{monster_cost}}}|22px|alt={{{monster_cost}}}]]
+
   | [[File:MonsterCost{{{monster_cost}}}.svg|{{{monster_cost}}}|22px|alt={{{monster_cost}}}|class=noviewer]]
 
   }}
 
   }}
  
 
| label3      = [[HP|Hit Points]]
 
| label3      = [[HP|Hit Points]]
 
| data3      = {{ #if: {{{hp<includeonly>|</includeonly>}}}
 
| data3      = {{ #if: {{{hp<includeonly>|</includeonly>}}}
   | [[File:HitPoints{{{hp}}}.svg|{{{hp}}}|22px|alt={{{hp}}}]]
+
   | [[File:HitPoints{{{hp}}}.svg|{{{hp}}}|22px|alt={{{hp}}}|class=noviewer]]
 
   }}
 
   }}
  
 
| label4      = [[Damage Value]]
 
| label4      = [[Damage Value]]
 
| data4      = {{ #if: {{{dv<includeonly>|</includeonly>}}}
 
| data4      = {{ #if: {{{dv<includeonly>|</includeonly>}}}
   | [[File:DamageValue{{{dv}}}.svg|{{{dv}}}|22px|alt={{{dv}}}]]
+
   | [[File:DamageValue{{{dv}}}.svg|{{{dv}}}|22px|alt={{{dv}}}|class=noviewer]]
 
   }}
 
   }}
  
Line 76: Line 93:
 
| data7      = {{ #if: {{{move_cost<includeonly>|</includeonly>}}}{{{move_pattern|}}}{{{move_range|}}} |
 
| data7      = {{ #if: {{{move_cost<includeonly>|</includeonly>}}}{{{move_pattern|}}}{{{move_range|}}} |
 
<div class="hlist hslash">
 
<div class="hlist hslash">
* [[File:MovementCost{{{move_cost}}}.svg|{{{move_cost}}}|22px|alt={{{move_cost}}}]]
+
* [[File:MovementCost{{{move_cost<includeonly>|</includeonly>}}}.svg|{{ #if: {{{move_cost<includeonly>|</includeonly>}}} | {{{move_cost}}} | Unknown }}|22px|alt={{ #if: {{{move_cost<includeonly>|</includeonly>}}} | {{{move_cost}}} | Unknown }}|class=noviewer]]
* [[File:MovePattern{{{move_pattern}}}.svg|{{{move_pattern}}}|x22px|alt={{{move_pattern}}}]]
+
* [[File:MovePattern{{{move_pattern<includeonly>|</includeonly>}}}.svg|{{ #if: {{{move_pattern<includeonly>|</includeonly>}}} | {{{move_pattern}}} | Unknown }}|x22px|alt={{ #if: {{{move_pattern<includeonly>|</includeonly>}}} | {{{move_pattern}}} | Unknown }}|class=noviewer]]
* [[File:MovementRange{{{move_range}}}.svg|{{{move_range}}}|x22px|alt={{{move_range}}}]]
+
* [[File:MovementRange{{{move_range<includeonly>|</includeonly>}}}.svg|{{ #if: {{{move_range<includeonly>|</includeonly>}}} | {{{move_range}}} | Unknown }}|x22px|alt={{ #if: {{{move_range<includeonly>|</includeonly>}}} | {{{move_range}}} | Unknown }}|class=noviewer]]
 
</div>
 
</div>
 
   }}
 
   }}
Line 90: Line 107:
 
| data8      = {{ #if: {{{attack_cost<includeonly>|</includeonly>}}}{{{attack_pattern|}}}{{{attack_range|}}} |
 
| data8      = {{ #if: {{{attack_cost<includeonly>|</includeonly>}}}{{{attack_pattern|}}}{{{attack_range|}}} |
 
<div class="hlist hslash">
 
<div class="hlist hslash">
* [[File:AttackCost{{{attack_cost}}}.svg|{{{attack_cost}}}|22px|alt={{{attack_cost}}}]]
+
* [[File:AttackCost{{{attack_cost<includeonly>|</includeonly>}}}.svg|{{ #if: {{{attack_cost<includeonly>|</includeonly>}}} | {{{attack_cost}}} | Unknown }}|22px|alt={{ #if: {{{attack_cost<includeonly>|</includeonly>}}} | {{{attack_cost}}} | Unknown }}|class=noviewer]]
* [[File:AttackPattern{{{attack_pattern}}}.svg|{{{attack_pattern}}}|x22px|alt={{{attack_pattern}}}]]
+
* [[File:AttackPattern{{{attack_pattern<includeonly>|</includeonly>}}}.svg|{{ #if: {{{attack_pattern<includeonly>|</includeonly>}}} | {{{attack_pattern}}} | Unknown }}|x22px|alt={{ #if: {{{attack_pattern<includeonly>|</includeonly>}}} | {{{attack_pattern}}} | Unknown }}|class=noviewer]]
* [[File:AttackRange{{{attack_range}}}.svg|{{{attack_range}}}|x22px|alt={{{attack_range}}}]]
+
* [[File:AttackRange{{{attack_range<includeonly>|</includeonly>}}}.svg|{{ #if: {{{attack_range<includeonly>|</includeonly>}}} | {{{attack_range}}} | Unknown }}|x22px|alt={{ #if: {{{attack_range<includeonly>|</includeonly>}}} | {{{attack_range}}} | Unknown }}|class=noviewer]]
 
</div>
 
</div>
  
Line 98: Line 115:
  
 
| data9      = {{ #if: {{{lore<includeonly>|</includeonly>}}}
 
| data9      = {{ #if: {{{lore<includeonly>|</includeonly>}}}
   | <div class="lore">{{ #ifeq: {{{dv}}} | Special | [[File:DVnote.svg]] }} {{{lore<includeonly>|</includeonly>}}}</div>
+
   | <div class="lore">{{ #ifeq: {{{dv}}} | Special | [[File:DVnote.svg|class=noviewer]] }} {{{lore<includeonly>|</includeonly>}}}</div>
 
   }}
 
   }}
  
| below      = {{Enumeration|CM number|{{{number|}}}|first=101|last=144|curr=[[List of Yu-Gi-Oh! Capsule Monsters Collectible Figure Game monsters|''Capsule Monsters Collectible Figure Game'' monsters]]|curr2=''[[Set 1]]''}}
+
| below      = {{Enumeration|Card number|{{{number|}}}|name={{ #var: $name }}|first=101|last=144|curr=[[List of Yu-Gi-Oh! Capsule Monsters Collectible Figure Game monsters|''Capsule Monsters Collectible Figure Game'' monsters]]|curr2=''[[Set 1]]''|release=Yu-Gi-Oh! Capsule Monsters Collectible Figure Game}}
 
}}
 
}}
<div class="hlist" style="text-align: center;">
+
{{Card info links|{{ #var: $main | {{PAGENAME}} }}|medium=cm}}<!--
* {{Related page link| Card Gallery    | {{ #var: $main | {{PAGENAME}} }} | label = Gallery    }}
 
* {{Related page link| Card Appearances | {{ #var: $main | {{PAGENAME}} }} | label = Appearances }}
 
* {{Related page link| Card Trivia      | {{ #var: $main | {{PAGENAME}} }} | label = Trivia      }}
 
* {{Related page link| Card Lores      | {{ #var: $main | {{PAGENAME}} }} | label = Lores      }}
 
* {{Related page link| Card Artworks    | {{ #var: $main | {{PAGENAME}} }} | label = Artworks    }}
 
* {{Related page link| Card Names      | {{ #var: $main | {{PAGENAME}} }} | label = Names      }}
 
</div><!--
 
  
-->[[Medium::Yu-Gi-Oh! Capsule Monsters Collectible Figure Game| ]][[Game::Capsule Monsters| ]]<!--
+
-->{{ #if: {{{misnumber|}}}
 +
| Similar to several other ''Capsule Monsters Collectible Figure Game'' cards, this card appears to have a misprinted card number, {{ #if: {{{misnumber_for|}}}
 +
  | having the same number ({{{misnumber}}}) as "[[{{{misnumber_for}}}|{{Trim|{{ #explode: {{{misnumber_for}}} | (CM) }}}}]]"
 +
  | {{{odd_number}}}
 +
  }}.
 +
}}<!--
 +
 
 +
-->{{Card navigation}}<!--
 +
 
 +
-->[[Medium::Board game| ]][[Release::Yu-Gi-Oh! Capsule Monsters Collectible Figure Game| ]][[Game::Capsule Monsters| ]]<!--
  
 
-->{{
 
-->{{
 
   #if: {{NAMESPACE}}
 
   #if: {{NAMESPACE}}
   || [[Category:Yu-Gi-Oh! Capsule Monsters Collectible Figure Game monsters]][[Category:Capsule Monsters cards]]
+
   || [[Category:Yu-Gi-Oh! Capsule Monsters Collectible Figure Game monsters]]
}}<noinclude>
+
}}<noinclude><!--
 +
 
 +
--><includeonly>{{Card navigation}}</includeonly><!--
  
{{documentation}}</noinclude>
+
-->{{documentation}}</noinclude>

Latest revision as of 19:24, 15 March 2024

CM card

Card

Figure

Faction [[File:{{{faction}}}Faction.svg|34px|alt=|class=noviewer]] {{{faction}}}
Monster Cost [[File:MonsterCost{{{monster_cost}}}.svg|{{{monster_cost}}}|22px|alt={{{monster_cost}}}|class=noviewer]]
Hit Points [[File:HitPoints{{{hp}}}.svg|{{{hp}}}|22px|alt={{{hp}}}|class=noviewer]]
Damage Value [[File:DamageValue{{{dv}}}.svg|{{{dv}}}|22px|alt={{{dv}}}|class=noviewer]]
MP {{{mp}}}
AP {{{ap}}}
Move:
  • [[File:MovementCost{{{move_cost}}}.svg|{{{move_cost}}}|22px|alt={{{move_cost}}}|class=noviewer]]
  • [[File:MovePattern{{{move_pattern}}}.svg|{{{move_pattern}}}|x22px|alt={{{move_pattern}}}|class=noviewer]]
  • [[File:MovementRange{{{move_range}}}.svg|{{{move_range}}}|x22px|alt={{{move_range}}}|class=noviewer]]
Attack:
  • [[File:AttackCost{{{attack_cost}}}.svg|{{{attack_cost}}}|22px|alt={{{attack_cost}}}|class=noviewer]]
  • [[File:AttackPattern{{{attack_pattern}}}.svg|{{{attack_pattern}}}|x22px|alt={{{attack_pattern}}}|class=noviewer]]
  • [[File:AttackRange{{{attack_range}}}.svg|{{{attack_range}}}|x22px|alt={{{attack_range}}}|class=noviewer]]
{{{lore}}}
  • [[Card Gallery:{{{main}}}|Gallery]]
  • [[Card Artworks:{{{main}}}|Artworks]]
  • [[Card Trivia:{{{main}}}|Trivia]]
  • [[Card Appearances:{{{main}}}|Appearances]]
  • [[Card Names:{{{main}}}|Names]]
  • [[Card Lores:{{{main}}}|Lores]]