Editing Template:Manga DDM 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:
<!-- ## Variables ##
+
__NOEDITSECTION__<!--
-->{{ #vardefine: $name            | {{ #if: {{{name|}}} | {{{name}}} | {{ #titleparts: {{ #explode:{{PAGENAME}} | (}} }} }} }}<!--
 
-->{{ #vardefine: $url-name        | {{ #replace: {{ #var: $name }} | # }} }}<!--
 
  
-->{{ #vardefine: $dungeon_master | {{{dungeon_master<includeonly>|</includeonly>}}}   }}<!--
+
## Variables ##
-->{{ #vardefine: $type           | {{{type<includeonly>|</includeonly>}}}             }}<!--
+
-->{{ #vardefine: $name      | {{ #if: {{{name|}}} | {{{name}}} | {{ #titleparts: {{ #explode: {{PAGENAME}} | (}} }} }} }}<!--
-->{{ #vardefine: $type-link      | {{ #switch: {{ #var: $type }}
+
-->{{ #vardefine: $url-name  | {{ #replace: {{ #var: $name }} | # }} }}<!--
  | Spellcaster    = Magic (Type)
+
-->{{ #vardefine: $image      | {{ #if: {{{image|}}}    | {{{image}}}    | Back-JP-Manga.png  }} }}<!--
  | Zombie | Undead = Invincible
+
-->{{ #vardefine: $ja_image  | {{ #if: {{{ja_image|}}} | {{{ja_image}}} | {{ #var: $image }} }} }}<!--
  | #default        = {{ #var: $type }}
+
-->{{ #vardefine: $dungeon_master | {{{dungeon_master<includeonly>|</includeonly>}}} }}<!--
  }}
+
-->{{ #vardefine: $type       | {{{type<includeonly>|</includeonly>}}}               }}<!--
}}<!--
+
-->{{ #vardefine: $level      | {{{level<includeonly>|</includeonly>}}}              }}<!--
 +
-->{{ #vardefine: $atk        | {{{atk<includeonly>|</includeonly>}}}                }}<!--
 +
-->{{ #vardefine: $def        | {{{def<includeonly>|</includeonly>}}}                 }}<!--
  
-->{{ #vardefine: $level          | {{{level<includeonly>|</includeonly>}}}            }}<!--
+
-->{{ #vardefine: @item | Item }}<!-- temporary until something with card strings is sorted out
-->{{ #vardefine: $atk            | {{{atk<includeonly>|</includeonly>}}}              }}<!--
 
-->{{ #vardefine: $def            | {{{def<includeonly>|</includeonly>}}}              }}<!--
 
 
 
-->{{ #vardefine: $image_base_name | {{Card image name|{{Normalized pagename}}}}          }}<!--
 
-->{{ #vardefine: $en-image        | {{ #var: $image_base_name }}-EN-Manga-DDM.png      }}<!--
 
-->{{ #vardefine: $fr-image        | {{ #var: $image_base_name }}-FR-Manga-DDM.png      }}<!--
 
-->{{ #vardefine: $de-image        | {{ #var: $image_base_name }}-DE-Manga-DDM.png      }}<!--
 
-->{{ #vardefine: $it-image        | {{ #var: $image_base_name }}-IT-Manga-DDM.png      }}<!--
 
-->{{ #vardefine: $es-image        | {{ #var: $image_base_name }}-SP-Manga-DDM.png      }}<!--
 
-->{{ #vardefine: $ja-image        | {{ #var: $image_base_name }}-JP-Manga-DDM.png      }}<!--
 
-->{{ #vardefine: $ja-color-image  | {{ #var: $image_base_name }}-JP-Manga-DDM-color.png }}<!--
 
 
 
## Clear these variables if the images does not exist
 
-->{{ #ifexist: File:{{ #var: $en-image }}      || {{ #vardefine: $en-image      | }} }}<!--
 
-->{{ #ifexist: File:{{ #var: $fr-image }}      || {{ #vardefine: $fr-image      | }} }}<!--
 
-->{{ #ifexist: File:{{ #var: $de-image }}      || {{ #vardefine: $de-image      | }} }}<!--
 
-->{{ #ifexist: File:{{ #var: $it-image }}      || {{ #vardefine: $it-image      | }} }}<!--
 
-->{{ #ifexist: File:{{ #var: $es-image }}      || {{ #vardefine: $es-image      | }} }}<!--
 
-->{{ #ifexist: File:{{ #var: $ja-image }}      || {{ #vardefine: $ja-image      | }} }}<!--
 
-->{{ #ifexist: File:{{ #var: $ja-color-image }} || {{ #vardefine: $ja-color-image | }} }}<!--
 
 
 
-->{{ #vardefine: $image | {{ #if: {{ #var: $ja-color-image }}
 
  | {{ #var: $ja-color-image }}
 
  | {{ #if: {{ #var: $en-image }}
 
    | {{ #var: $en-image }}
 
    | {{ #if: {{ #var: $ja-image }}
 
      | {{ #var: $ja-image }}
 
      | DDD packs.png
 
      }}
 
    }}
 
  }}
 
}}<!--
 
  
 
-->{{ #vardefine: $main
 
-->{{ #vardefine: $main
Line 68: Line 36:
 
## Properties ##
 
## Properties ##
 
-->[[English name::{{ #var: $name }}| ]]<!--
 
-->[[English name::{{ #var: $name }}| ]]<!--
-->{{ #set: English name (linked) = [[{{PAGENAME}}|{{ #var: $name }}]] }}<!--
+
-->[[English name (linked)::[[{{PAGENAME}}|{{ #var: $name }}]]| ]]<!--
 
-->[[Card image::{{{image|}}}| ]]<!--
 
-->[[Card image::{{{image|}}}| ]]<!--
-->[[Type::{{ #var: $type-link }}| ]]<!--
+
-->[[Type::{{ #var: $type }}| ]]<!--
-->{{ #set: Lore = {{{lore1|}}}{{ #if: {{{lore2|}}} | {{ #if: {{{lore1|}}} | <br /> }}{{{lore2}}} }}{{ #if: {{{lore3|}}} | {{ #if: {{{lore1|}}}{{{lore2|}}} | <br /> }}{{{lore3}}} }} }}<!--
+
-->[[Lore::{{{lore1|}}}{{ #if: {{{lore2|}}} | {{ #if: {{{lore1|}}} | <br /> }}{{{lore2}}} }}{{ #if: {{{lore3|}}} | {{ #if: {{{lore1|}}}{{{lore2|}}} | <br /> }}{{{lore3}}} }}| ]]<!--
 
-->{{ #iferror: {{ #expr: {{ #var: $level }} }} || [[Level::{{ #var: $level }}| ]] }}<!--
 
-->{{ #iferror: {{ #expr: {{ #var: $level }} }} || [[Level::{{ #var: $level }}| ]] }}<!--
 
-->{{ #if: {{ #var: $atk }}{{ #var: $def }} | {{ATK DEF properties|{{ #var: $atk }}|{{ #var: $def }}}} }}<!--
 
-->{{ #if: {{ #var: $atk }}{{ #var: $def }} | {{ATK DEF properties|{{ #var: $atk }}|{{ #var: $def }}}} }}<!--
 +
 +
## Tabs ##
 +
-->{{ #arraydefine: $languages | en, ja }}<!--
  
 
-->{{ #if: {{ #var: $main }}
 
-->{{ #if: {{ #var: $main }}
| {{Main|type=card page|""{{ #var: $main }}""|t=1}}[[Main card page::{{ #var: $main }}| ]]
+
| {{Main|type=card page|"[[Main card page::{{ #var: $main }}]]"}}
 
}}<!--
 
}}<!--
  
-->{{Card table
+
-->{{ #tag: tabber
| main       = {{ #var: $main }}
+
| {{ #arrayprint: $languages
| bodyclass   = ddm-card {{ #if: {{{dungeon_master|}}} | ddm-diemaster-card | {{ #if: {{ #var: $type }} | ddm-{{ lc: {{ #var: $type }} }}-card }} }} plainlist {{{bodyclass|}}}
+
  |
 +
  | $ln$
 +
  | {{!-!}} $ln$ = <!--
 +
    -->{{ #vardefine: $prefix | {{ #ifeq: $ln$ | en | | $ln$_ }} }}<!--
 +
    -->{{ #vardefine: $ln    | $ln$                    }}<!--
 +
    -->{{ #vardefine: $lang  | {{lang|$ln$|short=true}} }}<!--
 +
    -->{{Card strings/$ln$}}<!--
 +
    -->{{Card table
 +
    | main     = {{ #var: $main }}
 +
    | bodyclass = ddm-card {{ #if: {{{dungeon_master|}}} | ddm-diemaster-card | {{ #if: {{ #var: $type }} | ddm-{{ lc: {{ #var: $type }} }}-card }} }} list-noicon {{{bodyclass|}}} {{ #ifeq: $ln$ | en || mobile-hide }}
  
| title       = {{ #var: $name }}
+
    | title     = {{ #var: ${{ #var: $prefix }}name }}
| above      = {{ #var: $above }}
+
    | image     = {{ #var: ${{ #var: $prefix }}image }}
| image      = {{ #var: $image }}
+
    | width    = {{{width|}}}  
| below_image = <includeonly><div class="hlist image-switcher">
+
    | above    = {{ #var: $above }}
{{  #if: {{ #var: $ja-color-image }} |
 
* {{Image dimensions|{{ #var: $ja-color-image}}|2=<span title="Japanese color">ja color</span>}}
 
}}{{ #if: {{ #var: $en-image }} |
 
* {{Image dimensions|{{ #var: $en-image}}|2=<span title="English">en</span>}}
 
}}{{ #if: {{ #var: $fr-image }} |
 
* {{Image dimensions|{{ #var: $fr-image}}|2=<span title="French">fr</span>}}
 
}}{{ #if: {{ #var: $de-image }} |
 
* {{Image dimensions|{{ #var: $de-image}}|2=<span title="German">de</span>}}
 
}}{{ #if: {{ #var: $it-image }} |
 
* {{Image dimensions|{{ #var: $it-image}}|2=<span title="Italian">it</span>}}
 
}}{{ #if: {{ #var: $es-image }} |
 
* {{Image dimensions|{{ #var: $es-image}}|2=<span title="Spanish">es</span>}}
 
}}{{ #if: {{ #var: $ja-image }} |
 
* {{Image dimensions|{{ #var: $ja-image}}|2=<span title="Japanese">ja</span>}}
 
}}
 
</div></includeonly>
 
  
| label1    = Type
+
    | label1    = {{ #var: @type }}
| data1    = {{ #if: {{{dungeon_master|}}}
+
    | data1    = {{ #if: {{{dungeon_master|}}}
  | [[Monster Lord|Dungeon Master]]
+
      | [[Monster Lord|Dungeon Master]]
  | [[{{ #var: $type-link }}|{{ #var: $type }}]]
+
      | {{ #if: {{ #var: $type }} | [[{{ #var: $type }}|{{ #var: @{{ lc: {{ #var: $type }} }} }}]] }}
  }}
+
      }}
  
| label2    = Level
+
    | label2    = {{ #var: @level }}
| data2    = {{ #var: $level }}
+
    | data2    = {{ #var: $level }}
  
| label3    = [[ATK]] / [[DEF]]
+
    | label3    = [[ATK]] / [[DEF]]
| data3    = {{ #if: {{ #var: $atk }}{{ #var: $def }}
+
    | data3    = {{ #if: {{ #var: $atk }}{{ #var: $def }}
  | {{ #var: $atk }} / {{ #var: $def }}{{{atk-def_note|}}}
+
      | {{ #var: $atk }} / {{ #var: $def }}{{{atk-def_note|}}}
  }}
+
      }}
  
| data4    = {{ #if: {{{cost1|}}}{{{cost2|}}}{{{cost3|}}}{{{lore1|}}}{{{lore2|}}}{{{lore3<includeonly>|</includeonly>}}}
+
    | data4    = {{ #if: {{{cost1|}}}{{{cost2|}}}{{{cost3|}}}{{{{{ #var: $prefix }}lore1|}}}<!--
  |
+
      -->{{{{{ #var: $prefix }}lore2|}}}{{{{{ #var: $prefix }}lore3<includeonly>|</includeonly>}}}
 +
      |
 
<div class="lore">
 
<div class="lore">
 
<!--
 
<!--
    -->{{Manga DDM card/lore|{{{cost1|}}}|{{{lore1<includeonly>|</includeonly>}}}|{{{lore1_note|}}}}}<!--
+
        -->{{Manga DDM card/lore|{{{cost1|}}}|{{{{{ #var: $prefix }}lore1<includeonly>|</includeonly>}}}|{{{lore1_note|}}}}}<!--
    -->{{Manga DDM card/lore|{{{cost2|}}}|{{{lore2<includeonly>|</includeonly>}}}|{{{lore2_note|}}}}}<!--
+
        -->{{Manga DDM card/lore|{{{cost2|}}}|{{{{{ #var: $prefix }}lore2<includeonly>|</includeonly>}}}|{{{lore2_note|}}}}}<!--
    -->{{Manga DDM card/lore|{{{cost3|}}}|{{{lore3<includeonly>|</includeonly>}}}|{{{lore3_note|}}}}}
+
        -->{{Manga DDM card/lore|{{{cost3|}}}|{{{{{ #var: $prefix }}lore3<includeonly>|</includeonly>}}}|{{{lore3_note|}}}}}
 
</div>
 
</div>
  }}
+
      }}
  
| data5    = {{ #if: {{{ja_lore1|}}}{{{ja_lore2|}}}{{{ja_lore3<includeonly>|</includeonly>}}}
+
    | label5    = Appearances
  |
+
    | data5    = {{ #if: {{{appearances<includeonly>|</includeonly>}}} |
<div class="lore" lang="ja">
+
<div style="display: inline-block;">''[[Yu-Gi-Oh! Duelist]]'': </div>
<!--
+
<div style="display: inline-block;">
    -->{{Manga DDM card/lore|{{{cost1|}}}|{{{ja_lore1<includeonly>|</includeonly>}}}}}<!--
+
{{ctaama|{{{appearances}}} |series = Duelist | type = Duel}}
    -->{{Manga DDM card/lore|{{{cost2|}}}|{{{ja_lore2<includeonly>|</includeonly>}}}}}<!--
 
    -->{{Manga DDM card/lore|{{{cost3|}}}|{{{ja_lore3<includeonly>|</includeonly>}}}}}
 
 
</div>
 
</div>
 +
      }}
 +
 +
    | below    = [[List of manga Dungeon Dice Monsters pieces|Manga ''Dungeon Dice Monsters'' pieces]]
 +
    }}
 
   }}
 
   }}
 +
}}<!--
  
| label6    = Appearances
+
<!--
| data6    = {{ #if: {{{appearances<includeonly>|</includeonly>}}} |
+
-->{{ #vardefine: $lang | English }}{{ #vardefine: $ln | en }}
<div class="hlist">
+
{{ #if: {{NAMESPACE}} ||
* {{Manga card/appears| {{{appearances}}} | (manga) | DM | Duel }}
+
<div class="hlist" style="text-align: center;">
 +
* {{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 Artworks    | {{ #var: $main | {{PAGENAME}} }} | label = Artworks    }}
 +
* {{Related page link | Card Names      | {{ #var: $main | {{PAGENAME}} }} | label = Names      }}
 
</div>
 
</div>
  }}
 
 
| below    = [[List of manga Dungeon Dice Monsters pieces|Manga ''Dungeon Dice Monsters'' pieces]] ([[Gallery of manga Dungeon Dice Monsters pieces|gallery]])
 
 
}}<!--
 
}}<!--
 
-->{{Card info links|{{ #var: $main | {{PAGENAME}} }}|medium=manga DDM}}<!--
 
 
-->{{In other media}}<!--
 
  
 
--><includeonly>{{Card navigation}}</includeonly><!--
 
--><includeonly>{{Card navigation}}</includeonly><!--
  
-->[[Medium::Manga Dungeon Dice Monsters| ]]<!--
+
-->[[Medium::Manga Dungeon Dice Monsters| ]][[Game::Dungeon Dice Monsters| ]]{{ #if: {{NAMESPACE}} || [[Category:Manga Dungeon Dice Monsters pieces]] }}<noinclude>
-->[[Game::Dungeon Dice Monsters| ]]<!--
 
 
 
# $debut_date is defined in {{ctaama}}
 
-->{{ #ifeq: {{ #var: $debut_date }} | unknown || [[Debut date::{{ #var: $debut_date }}| ]] }}<!--
 
 
 
-->{{ #if: {{NAMESPACE}} || [[Category:Manga Dungeon Dice Monsters pieces]] }}<!--
 
 
 
-->{{ #if: {{NAMESPACE}} || {{ #if: {{ #var: $main }}
 
  | {{ #if: {{ #ask: <q>[[Category:OCG cards]] OR [[Category:TCG cards]] OR [[Category:Unusable cards]]</q>[[{{ #var: $main }}]] }} || [[Category:Manga cards with no OCG/TCG counterpart]] }}
 
  | [[Category:Manga 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: