Difference between revisions of "Template:DDM card"
Dinoguy1000 (talk | contribs) ({{Card info links}}) |
("Dark" refers to "Magic (Type)", rather than "Spellcaster". "Invincible" refers to "Invincible", rather than "Zombie". Can't see why `$type-page` and `$type-property-value` have separate variables.) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{ #if: {{ #pos: {{PAGENAME}} | DDM }} | {{Italic title|{{ #replace: {{FULLPAGENAME}} | (DDM) | (''DDM'') }}|t=1}} }}{{ #if: {{NAMESPACE}} | |
| | | | ||
| [[Category:Dungeon Dice Monsters cards]] | | [[Category:Dungeon Dice Monsters cards]] | ||
Line 8: | Line 8: | ||
-->{{ #vardefine: $name | {{ #if: {{{name|}}} | {{{name}}} | {{ #titleparts: {{ #explode: {{PAGENAME}} | (}} }} }} }}<!-- | -->{{ #vardefine: $name | {{ #if: {{{name|}}} | {{{name}}} | {{ #titleparts: {{ #explode: {{PAGENAME}} | (}} }} }} }}<!-- | ||
-->{{ #vardefine: $url-name | {{ #replace: {{ #var: $name }} | # }} }}<!-- | -->{{ #vardefine: $url-name | {{ #replace: {{ #var: $name }} | # }} }}<!-- | ||
− | |||
-->{{ #vardefine: $tribe | {{ #if: {{{tribe<includeonly>|</includeonly>}}} | {{{tribe}}} | {{{type|}}} }} }}<!-- | -->{{ #vardefine: $tribe | {{ #if: {{{tribe<includeonly>|</includeonly>}}} | {{{tribe}}} | {{{type|}}} }} }}<!-- | ||
-->{{ #vardefine: $level | {{{level<includeonly>|</includeonly>}}} }}<!-- | -->{{ #vardefine: $level | {{{level<includeonly>|</includeonly>}}} }}<!-- | ||
Line 14: | Line 13: | ||
-->{{ #vardefine: $atk | {{{atk<includeonly>|</includeonly>}}} }}<!-- | -->{{ #vardefine: $atk | {{{atk<includeonly>|</includeonly>}}} }}<!-- | ||
-->{{ #vardefine: $def | {{{def<includeonly>|</includeonly>}}} }}<!-- | -->{{ #vardefine: $def | {{{def<includeonly>|</includeonly>}}} }}<!-- | ||
− | -->{{ #vardefine: $tribe-page | + | -->{{ #vardefine: $tribe-page | {{ #ifeq: {{ #var: $tribe }} | Dark | Magic (Type) | {{ #var: $tribe }} }} |
− | |||
− | |||
− | |||
− | |||
}}<!-- | }}<!-- | ||
Line 34: | Line 29: | ||
| {{ #switch: {{ lc: {{{main}}} }} | | {{ #switch: {{ lc: {{{main}}} }} | ||
| no | none | false = | | no | none | false = | ||
− | | {{ #if: {{{main<includeonly>|</includeonly>}}} | {{{main}}} | {{ #var: $url-name }} }} | + | | {{ #if: {{{main<includeonly>|</includeonly>}}} | {{ #replace: {{{main}}} | # }} | {{ #var: $url-name }} }} |
}} | }} | ||
}} | }} | ||
− | }}<!-- | + | }}{{ #if: {{ #var: $main }} | {{ #vardefine: $main | {{ #show: {{ #var: $main }} |?Page name | default = {{ #var: $main }} }} }} }}<!-- |
-->{{ #if: {{{ja_name<includeonly>|</includeonly>}}}{{ #var: $main }} | -->{{ #if: {{{ja_name<includeonly>|</includeonly>}}}{{ #var: $main }} | ||
Line 54: | Line 49: | ||
-->{{ #set: English name (linked) = [[{{PAGENAME}}|{{ #var: $name }}]] }}<!-- | -->{{ #set: English name (linked) = [[{{PAGENAME}}|{{ #var: $name }}]] }}<!-- | ||
-->[[Card image::{{{image|}}}| ]]<!-- | -->[[Card image::{{{image|}}}| ]]<!-- | ||
− | -->[[Type::{{ #var: $tribe }}| ]]<!-- | + | -->[[Type::{{ #var: $tribe-page}}| ]]<!-- |
-->[[Movement::{{{movement|}}}| ]]<!-- | -->[[Movement::{{{movement|}}}| ]]<!-- | ||
-->[[Level::{{{level|}}}| ]]<!-- | -->[[Level::{{{level|}}}| ]]<!-- | ||
Line 63: | Line 58: | ||
-->{{ #if: {{ #var: $main }} | -->{{ #if: {{ #var: $main }} | ||
− | | {{Main|type=card page|"[[Main card page::{{ #var: $main }}]] | + | | {{Main|type=card page|""{{ #var: $main }}""|t=1}}[[Main card page::{{ #var: $main }}| ]] |
}}<!-- | }}<!-- | ||
Line 83: | Line 78: | ||
| label3 = Level | | label3 = Level | ||
| data3 = {{ #if: {{ #var: $level }} | | data3 = {{ #if: {{ #var: $level }} | ||
− | | [[File:SummonCrestIconLevel{{ #var: $level }}.svg|28px]] {{ #var: $level }} | + | | [[File:SummonCrestIconLevel{{ #var: $level }}.svg|28px|class=noviewer]] {{ #var: $level }} |
}} | }} | ||
Line 119: | Line 114: | ||
-->{{ #if: {{{en_sets|}}}{{{jp_sets<includeonly>|</includeonly>}}} |   | -->{{ #if: {{{en_sets|}}}{{{jp_sets<includeonly>|</includeonly>}}} |   | ||
− | + | <h2>Sets</h2> | |
<table class="wikitable"> | <table class="wikitable"> | ||
<tr> | <tr> | ||
+ | <th scope="col">Date</th> | ||
<th scope="col">Language</th> | <th scope="col">Language</th> | ||
<th scope="col">Number</th> | <th scope="col">Number</th> | ||
Line 128: | Line 124: | ||
{{ #if: {{{en_sets<includeonly>|</includeonly>}}} | | {{ #if: {{{en_sets<includeonly>|</includeonly>}}} | | ||
<tr> | <tr> | ||
+ | <td>{{ #show: {{ #explode: {{{en_sets}}} | ; | 1 }} |?English release date#ISO }}</td> | ||
<td>English</td> | <td>English</td> | ||
<td>[[{{ #explode: {{{en_sets}}} | ; }}]]</td> | <td>[[{{ #explode: {{{en_sets}}} | ; }}]]</td> | ||
Line 135: | Line 132: | ||
{{ #if: {{{jp_sets<includeonly>|</includeonly>}}} | | {{ #if: {{{jp_sets<includeonly>|</includeonly>}}} | | ||
<tr> | <tr> | ||
+ | <td>{{ #vardefineecho: $debut_date | {{ #show: {{ #explode: {{{jp_sets}}} | ; | 1 }} |?Japanese release date#ISO }} }}</td><!-- assuming the Japanese release date always predates any English release date (no idea if this is true) --> | ||
<td>Japanese</td> | <td>Japanese</td> | ||
− | <td>[[{{ #explode: {{{jp_sets}}} | ; }}]]</td> | + | <td>{{ #if: {{ #explode: {{{jp_sets}}} | ; }} | [[{{ #explode: {{{jp_sets}}} | ; }}]] }}</td> |
<td>''[[{{ #explode: {{{jp_sets}}} | ; | 1 }}|{{ #explode: {{ #explode: {{{jp_sets}}} | ; | 1 }} | ( }}]]''</td> | <td>''[[{{ #explode: {{{jp_sets}}} | ; | 1 }}|{{ #explode: {{ #explode: {{{jp_sets}}} | ; | 1 }} | ( }}]]''</td> | ||
</tr> | </tr> | ||
}} | }} | ||
− | </table> | + | </table>[[Debut date::{{ #var: $debut_date }}| ]] |
}}<!-- | }}<!-- | ||
Line 146: | Line 144: | ||
-->{{ #if: {{{ja_lore<includeonly>|</includeonly>}}} |   | -->{{ #if: {{{ja_lore<includeonly>|</includeonly>}}} |   | ||
− | + | <h2>Other languages</h2> | |
<table class="wikitable"> | <table class="wikitable"> | ||
<tr> | <tr> | ||
Line 166: | Line 164: | ||
}}<!-- | }}<!-- | ||
+ | |||
+ | -->{{In other media}}<!-- | ||
--><includeonly>{{Card navigation}}</includeonly><!-- | --><includeonly>{{Card navigation}}</includeonly><!-- | ||
Line 173: | Line 173: | ||
| {{ #if: {{{lore|}}} | | {{ #if: {{{lore|}}} | ||
| {{ #if: {{{ja_lore|}}} || [[Category:Dungeon Dice Monsters missing Japanese text]] }} | | {{ #if: {{{ja_lore|}}} || [[Category:Dungeon Dice Monsters missing Japanese text]] }} | ||
+ | }}{{ #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]] | ||
}} | }} | ||
}}<!-- | }}<!-- |
Latest revision as of 22:47, 19 April 2024
DDM card
- Japanese
- {{{ja_name}}}
- Rōmaji
- {{{romaji_name}}}
- Translated
- {{{trans_name}}}
Tribe | [[{{{tribe}}}|{{{tribe}}}]] |
---|---|
Movement | [[{{{movement}}}]] |
Level | [[File:SummonCrestIconLevel{{{level}}}.svg|28px|class=noviewer]] {{{level}}} |
HP / ATK / DEF | {{{hp}}} / {{{atk}}} / {{{def}}} |
Crests on die | [[File:{{{crests}}}CrestIcon.png|28px|alt={{{crests}}}|link={{{crests}}} Crest]] |
[[File:{{{cost}}}Crest-DDM.svg|25px|link={{{cost}}} Crest|alt={{{cost}}} Crest]]
{{{lore}}}
[[File:{{{cost2}}}Crest-DDM.svg|25px|link={{{cost2}}} Crest|alt={{{cost2}}} Crest]]
{{{lore2}}}
|
- [[Card Gallery:{{{main}}}|Gallery]]
- [[Card Artworks:{{{main}}}|Artworks]]
- [[Card Tips:{{{main}}}|Tips]]
- [[Card Trivia:{{{main}}}|Trivia]]
- [[Card Appearances:{{{main}}}|Appearances]]
- [[Card Names:{{{main}}}|Names]]
- [[Card Lores:{{{main}}}|Lores]]
Sets
Date | Language | Number | Set |
---|---|---|---|
English | [[{{{en_sets}}}]] | [[|]] | |
Japanese | [[{{{jp_sets}}}]] | [[|]] |
Other languages
Name | Lore | ||
---|---|---|---|
Japanese | {{{ja_name}}} | {{{ja_lore}}} | {{{ja_lore2}}} |