Editing Template:CMC card

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page is not enabled for semantic in-text annotations due to namespace restrictions. Details about how to enable the namespace can be found on the configuration help page.

Latest revision Your text
Line 1: Line 1:
<templatestyles src="Template:CMC card/styles.css" /><!--
+
{{Card tabs
## Variables ##
+
| en        = true
-->{{ #vardefine: $name          | {{ #if: {{{name|}}} | {{{name}}} | {{ #titleparts: {{ #explode: {{PAGENAME}} | ( }} }} }} }}<!--
+
| ja        = {{{ja_name<includeonly>|</includeonly>}}}{{{ja_image|}}}{{{ja_abilities}}}
-->{{ #vardefine: $pagename      | {{ #explode: {{PAGENAME}} | ( }}                         }}<!--
 
-->{{ #vardefine: $url-name      | {{ #replace: {{ #var: $name }} | # }}                   }}<!--
 
-->{{ #vardefine: $image-name    | {{Card image name| {{ #var: $url-name }} }}              }}<!--
 
  
-->{{ #vardefine: $en-image      | {{PNG JPG fallback|{{ #var: $image-name }}-CapMon-EN-Manga}}      }}<!--
+
| bodyclass = manga-card list-noicon
-->{{ #vardefine: $ja-image      | {{PNG JPG fallback|{{ #var: $image-name }}-CapMon-JP-Manga}}      }}<!--
 
-->{{ #vardefine: $ja-color-image | {{PNG JPG fallback|{{ #var: $image-name }}-CapMon-JP-Manga-color}} }}<!--
 
-->{{ #vardefine: $image          | {{ #var: $en-image | {{ #var: $ja-image | {{ #var: $ja-color-image }} }} }} }}<!--
 
  
  # CMC with multiple abilities have taller images
+
| title    = {{ #if: {{{name|}}} | {{{name}}}[[English name::{{{name}}}| ]] | {{PAGENAME}}[[English name::{{PAGENAME}}| ]] }}
-->{{ #vardefine: $image_size    | x{{ #ifexpr: {{ #rpos: {{{abilities|}}} | * }} > 1 | 290 | 190 }}px  }}<!--
+
| ja_title  = {{ #if: {{{ja_name<includeonly>|</includeonly>}}} | {{{ja_name}}} }}
  
-->{{ #if: {{ #pos: {{PAGENAME}} | ( }}{{{main<includeonly>|</includeonly>}}}
+
| image    = {{ #if: {{{image<includeonly>|</includeonly>}}}
| {{ #switch: {{ lc: {{{main|}}} }}
+
  | {{{image}}}
  | no | none | false =  
+
  | {{ #replace: {{ #replace: {{PAGENAME}} | &#34; }} }}-CapMon-EN-Manga.jpg
   | {{ #vardefine: $main | {{ #if: {{{main<includeonly>|</includeonly>}}} | {{{main}}} | {{ #var: $url-name }} }} }}
+
  }}
 +
| ja_image  = {{ #if: {{{ja_image<includeonly>|</includeonly>}}}
 +
  | {{{ja_image}}}
 +
  | {{ #replace: {{ #replace: {{PAGENAME}} | &#34; }} }}-CapMon-JP-Manga.jpg
 +
  }}
 +
| width    = {{ #if: {{{width|}}} | {{{width}}} | 100 }}
 +
 
 +
| label1    = Japanese
 +
| data1    = {{IfSemantics
 +
   | {{ #ifeq: {{{ja_name}}} | {{Ruby/split|{{{ja_name}}}}} || {{Ruby/split|{{{ja_name<includeonly>|</includeonly>}}}|top}}<br /> }}[[Japanese name::{{Ruby/split|{{{ja_name<includeonly>|</includeonly>}}}}}]]
 +
  | {{{ja_name|}}}
 
   }}
 
   }}
}}<!--
 
  
-->{{ #if: {{{ja_name<includeonly>|</includeonly>}}}{{ #var: $main }}
+
| label2    = Romaji
| {{ #vardefine: $above
+
| data2    = {{ #if: {{{romaji_name<includeonly>|</includeonly>}}}
  | {{Japanese names<!--
+
  | ''{{{romaji_name}}}'' [[Romaji name::{{{romaji_name}}}| ]]
    -->| {{{ja_name<includeonly>|</includeonly>}}}<!--
 
    -->| {{{romaji_name<includeonly>|</includeonly>}}}<!--
 
    -->| {{{trans_name<includeonly>|</includeonly>}}}<!--
 
    -->| main = {{ #if: {{{ja_name<includeonly>|</includeonly>}}} | | {{ #var: $main }} }}
 
    }}
 
 
   }}
 
   }}
}}<!--
 
 
## Properties ##
 
-->{{IfSemantics|<!--
 
  -->[[English name::{{ #var: $name }}| ]]<!--
 
  -->{{ #set: English name (linked) = [[{{PAGENAME}}|{{ #var: $name }}]] }}<!--
 
  -->[[Main card page::{{ #var: $main }}| ]]<!--
 
  -->[[Card image::{{ #var: $image }}| ]]<!--
 
  -->{{Star properties|{{{level|}}}}}<!--
 
  -->[[Medium::Manga| ]]<!--
 
  -->[[Game::Capsule Monster Chess| ]]
 
}}<!--
 
  
-->{{ #if: {{{italic_title|}}}
+
| label3    = Translated
  | {{Italic title|{{{italic_title}}}}}
+
| data3    = {{ #if: {{{trans_name<includeonly>|</includeonly>}}}
  | {{ #if: {{ #explode: {{PAGENAME}} | ( | 1 }}
+
  | {{{trans_name}}} [[Translated Japanese name::{{{trans_name}}}| ]]
    | {{ #vardefine: $dabtext | {{Normalized pagename|{{ #replace: {{ #explode: {{PAGENAME}} | ( | 1 }} | ) }}}}
 
    }}{{ #vardefine: $dabtext
 
      | {{ #switch: {{ #var: $dabtext }}
 
        | CMC      | Capsule Monster Chess      = ''{{ #var: $dabtext }}''
 
        | Manga CMC | Manga Capsule Monster Chess = manga ''{{ #explode: {{ #var: $dabtext }} }}''
 
      }}
 
    }}{{ #if: {{ #var: $dabtext }} | {{Italic title|{{ #var: $pagename }} ({{ #var: $dabtext }})|t=1}} }}
 
 
   }}
 
   }}
}}<!--
 
  
-->{{ #if: {{ #var: $main }} | {{Main|type=card page|"[[{{ #var: $main }}]]"|t=1}} }}<!--
+
| label4    = Game
 +
| data4    = {{ #if: {{{suppress_game|}}} || ''[[Capsule Monster Chess]]'' }}
 +
| ja_data4  = {{ #if: {{{suppress_game|}}} || カプセル・モンスター・チェス }}
  
-->{{{article_messages<includeonly>|</includeonly>}}}<!--
+
| label5    = Level
 
+
| data5    = {{ #if: {{{level<includeonly>|</includeonly>}}}
-->{{Card table
+
  | {{{level}}} [[File:CapMonLevel{{{level}}}.svg|18px|alt=]] [[Manga CMC Level::{{{level}}}| ]]
| bodyclass = manga-card <!--
 
-->manga-cmc-card <!--
 
-->{{ #if: {{ #pos: {{{used_by}}} | Mokuba }} | {{ #ifexpr: {{ #rpos: {{{abilities|}}} | * }} > 1
 
  | manga-cmc-card-player2<!-- Mokuba's pieces had a different background color in his Death-T battle -->
 
  }} }} <!--
 
-->{{ #if: {{{level|}}} | manga-cmc-card-lv{{{level}}} }}
 
| main      = {{ #var: $main }}
 
| above    = {{ #var: $above }}
 
| title    = {{ #var: $name }}
 
| image_raw = {{ #if: {{{image|}}}
 
  | [[File:{{{image}}}|300px|alt=]]
 
  | {{ #if: {{ #var: $en-image }}{{ #var: $ja-image }}{{ #var: $ja-color-image }} |
 
<div style="white-space: nowrap;">
 
      {{ #if: {{ #var: $en-image }} |
 
<div style="display: inline-block;">[[File:{{ #var: $en-image }}|{{ #var: $image_size }}|English|alt=]]</div>
 
      }}{{ #if: {{ #var: $ja-image }} |
 
<div style="display: inline-block;">[[File:{{ #var: $ja-image }}|{{ #var: $image_size }}|Japanese|alt=]]</div>
 
      }}{{ #if: {{ #var: $ja-color-image }} |
 
<div style="display: inline-block;">[[File:{{ #var: $ja-color-image }}|{{ #var: $image_size }}|Japanese color|alt=]]</div>
 
      }}
 
</div>
 
    }}
 
 
   }}
 
   }}
  
| label1 = Game
+
| label6    = Abilities
| data1 = ''[[Capsule Monster Chess]]''
+
| data6    = {{Value list|{{{abilities<includeonly>|</includeonly>}}}|Manga CMC ability}}
 +
| ja_data6 = {{{ja_abilities|}}}
  
| label2 = Level
+
| label7    = Appearances
| data2  = {{{level<includeonly>|</includeonly>}}}{{{level_note|}}}
+
| data7     = {{ #if: {{{appears_dm<includeonly>|</includeonly>}}} |
 
 
| label3 = Abilities
 
| class3 = plainlist
 
| data3  = {{ #if: {{{abilities<includeonly>|</includeonly>}}} | {{Value list|{{{abilities}}}|Ability}} }}
 
 
 
| label4 = Used by
 
| class4 = plainlist
 
| data4  = {{ #if: {{ #pos: {{{used_by}}} | * }}
 
  | {{ #arraydefine: $used_by | {{{used_by}}} | * }}{{ #arrayunique: $used_by }}{{ #arrayprint: $used_by
 
    |
 
    | $user
 
     | &#32;
 
* [[$user|{{ #explode: $user | ( }}]]
 
    }}&#32;
 
  | {{ #if: {{{used_by<includeonly>|</includeonly>}}}
 
    | [[{{{used_by}}}|{{ #explode: {{{used_by}}} | ( }}]]
 
    }}
 
  }}
 
 
 
| label5 = Appearances
 
| data5  = {{ #if: {{{appears_in_dm<includeonly>|</includeonly>}}} |  
 
 
<div class="hlist">
 
<div class="hlist">
* {{Manga card/appears| {{{appears_in_dm}}} | (manga) | DM | Duel }}
+
* ''[[Yu-Gi-Oh! (manga)|Yu-Gi-Oh!]]'': {{ctaama|{{{appears_dm}}} | type = Duel}}
 
</div>
 
</div>
  }}
+
  }}
 
 
| below = Manga ''[[Capsule Monster Chess]]'' pieces ([[List of Capsule Monster Chess pieces|list]] '''&middot;''' [[Gallery of Capsule Monster Chess pieces (manga)|gallery]])
 
}}<!--
 
 
 
-->{{Card info links|{{ #var: $main | {{PAGENAME}} }}|medium=cmc}}<!--
 
 
 
-->{{In other media}}<!--
 
 
 
--><includeonly>{{ #if: {{ #ask: [[Main card page::{{ #var: $main | {{PAGENAME}} }}]] }} | {{Card navigation}} }}</includeonly><!--
 
 
 
-->{{Navbox
 
| title    = Manga ''[[Capsule Monster Chess]]'' pieces
 
| state    = expanded
 
| listclass = hlist
 
| list1    = {{ #ask: [[Medium::Manga]][[Game::Capsule Monster Chess]]
 
  | ?English name (linked) =
 
  | mainlabel = -
 
  | format    = ul
 
  }}
 
 
}}<!--
 
}}<!--
  
-->{{ #if: {{NAMESPACE}} || [[Category:Manga Capsule Monster Chess pieces]]{{
+
-->[[Medium::Manga| ]][[Game::Capsule Monster Chess| ]]<noinclude>
  #if: {{{level_note|}}} | [[Category:Cards with notes]]
 
  }}{{ #if: {{ #var: $main }}
 
  | {{ #if: {{ #ask: <q>[[Category:OCG cards]] OR [[Category:TCG cards]] OR [[Category:Unusable cards]]</q>[[{{ #var: $main }}]] }} || [[Category:Miscellaneous cards with no OCG/TCG counterpart]] }}
 
  | [[Category:Miscellaneous cards with no OCG/TCG counterpart]]
 
  }}
 
}}
 
<noinclude>
 
  
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Please note that all contributions to Yugipedia are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 International License (see Yugipedia:Licensing for more details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)
Preview page with this template
Below are some commonly used wiki markup codes. Simply click on what you want to use and it will appear in the edit box above.

View this template

Templates used on this page: