Difference between revisions of "Template:Labyrinth card"
m (spacing (by most, I meant one more.)) |
Dinoguy1000 (talk | contribs) (I don't care about these {{autolink}} values) |
||
(20 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | <!-- |
− | | | + | -->{{ #vardefine: $name | {{ #if: {{{name|}}} | {{{name}}} | {{ #titleparts: {{ #explode: {{PAGENAME}} | ( }} }} }} }}<!-- |
− | |||
− | | | + | -->{{ #set: English name (linked) = [[{{PAGENAME}}|{{ #var: $name }}]] }}<!-- |
− | + | -->{{ #vardefine: $main | |
− | + | | {{ #if: {{ #pos: {{PAGENAME}} | (Labyrinth) }}{{{main<includeonly>|</includeonly>}}} | |
+ | | {{ #if: {{{main|}}} | {{{main}}} | {{ #var: $name }} }} | ||
+ | }} | ||
+ | }}<!-- | ||
− | + | -->{{ #if: {{{ja_name<includeonly>|</includeonly>}}}{{ #var: $main }} | |
− | + | | {{ #vardefine: $above | |
− | + | | {{Japanese names<!-- | |
− | + | -->| {{{ja_name<includeonly>|</includeonly>}}}<!-- | |
− | + | -->| {{{romaji_name<includeonly>|</includeonly>}}}<!-- | |
− | + | -->| {{{trans_name<includeonly>|</includeonly>}}}<!-- | |
− | + | -->| main = {{ #if: {{{ja_name<includeonly>|</includeonly>}}} | | {{ #var: $main }} }} | |
− | + | }} | |
− | | | + | }} |
− | + | }}<!-- | |
− | |||
− | |||
+ | -->{{ #vardefine: $image | {{ #if: {{{image|}}} | ||
+ | | {{{image}}} | ||
+ | | {{Card image name|{{PAGENAME}}}}-EN-Manga-DM-Lab.png | ||
+ | }} | ||
+ | }}{{ #vardefine: $ja_image | {{ #if: {{{ja_image|}}} | ||
+ | | {{{ja_image}}} | ||
+ | | {{ #if: {{{image|}}} | ||
+ | | {{{image}}} | ||
+ | | {{Card image name|{{ #var: $name }}}}-JP-Manga-DM-Lab.png | ||
+ | }} | ||
+ | }} | ||
+ | }}{{ #ifeq: {{ #var: $image }} | {{ #var: $ja_image }} | {{ #vardefine: $ja_image }} }}<!-- | ||
+ | -->{{ #if: {{ #var: $main }} | ||
+ | | {{Main|type=card page|"[[{{ #var: $main }}]]"|t=1}}[[Main card page::{{ #var: $main }}| ]] | ||
+ | }} | ||
+ | <!-- | ||
− | | label1 = | + | -->{{Card table |
− | | data1 = {{ #if: {{{ | + | | bodyclass = manga-card |
+ | | title = [[English name::{{ #var: $name }}]] | ||
+ | | above = {{ #var: $above }} | ||
+ | | image = <includeonly>{{ #var: $image }}</includeonly> | ||
+ | |||
+ | | label1 = [[Level]] | ||
+ | | data1 = {{ #if: {{{level<includeonly>|</includeonly>}}} | ||
+ | | {{{level}}} {{Repeat|★|{{{level}}}}} [[Level::{{{level}}}| ]] | ||
+ | }} | ||
− | | label2 = | + | | label2 = [[ATK]]/[[DEF]] |
− | | data2 = {{ #if: {{{ | + | | data2 = {{ #if: {{{atk<includeonly>|</includeonly>}}}{{{def|}}} |
− | | < | + | | {{{atk<includeonly>|</includeonly>}}} / {{{def<includeonly>|</includeonly>}}}<!-- |
+ | -->{{ATK DEF properties|{{{atk|}}}|{{{def|}}}}} | ||
}} | }} | ||
− | | label3 = | + | | label3 = [[Attack name]] |
− | | data3 = {{{ | + | | data3 = {{ #if: {{{attack_name<includeonly>|</includeonly>}}} | {{{attack_name}}} [[Attack name::{{{attack_name}}}| ]]{{ #if: {{{ja_attack_name<includeonly>|</includeonly>}}} | <br /> }} }}{{ #if: {{{ja_attack_name<includeonly>|</includeonly>}}} | <span lang="ja">{{{ja_attack_name}}}</span> [[Japanese attack name::{{{ja_attack_name}}}| ]] }} |
− | + | | data4 = {{ #if: {{{lore<includeonly>|</includeonly>}}} | |
− | | data4 = {{ #if: {{{ | + | | <div class="lore">{{{lore}}}{{ #set: Lore = {{{lore}}} }}</div> |
− | | {{{ | + | }}{{ #if: {{{ja_lore<includeonly>|</includeonly>}}} |
+ | | <div class="lore" lang="ja">{{{ja_lore}}}{{ #set: Japanese lore = {{{ja_lore}}} }}</div> | ||
}} | }} | ||
− | | | + | | below = [[List of Labyrinth Battle Game cards|Labyrinth Battle Game cards]] |
− | + | }} | |
− | + | {{Card info links|{{ #var: $main | {{PAGENAME}} }}|medium=labyrinth}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | ==Gallery== | |
− | + | {{ #tag: gallery | |
− | + | | {{ #var: $image }} {{!}} English | |
+ | {{ #var: $ja_image }} {{!}} Japanese | ||
+ | | mode="nolines" | ||
+ | | widths="177" | ||
+ | | heights="231" | ||
+ | }} | ||
− | + | {{In other media}}<!-- | |
− | |||
− | + | --><includeonly>{{Card navigation}}</includeonly><!-- | |
− | + | -->{{ #if: {{NAMESPACE}} | |
− | [[Game::Labyrinth Battle Game| ]] | + | | |
− | [[Category:Labyrinth Battle Game cards]] | + | | [[Game::Labyrinth Battle Game| ]][[Medium::Labyrinth Battle Game| ]][[Debut date::January 8, 1999| ]]<!-- Yu-Gi-Oh! Volume 11 release date --> |
+ | [[Category:Labyrinth Battle Game cards]]{{ #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> | <noinclude> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> |
Latest revision as of 11:29, 2 May 2023
Labyrinth card
- Japanese
- {{{ja_name}}}
- Rōmaji
- {{{romaji_name}}}
- Translated
- {{{trans_name}}}
Level | {{{level}}}String Module Error: function rep expects a number as second parameter, received "{{{level}}}" |
---|---|
ATK/DEF | {{{atk}}} / {{{def}}} |
Attack name |
{{{attack_name}}} {{{ja_attack_name}}} |
{{{lore}}} {{{ja_lore}}} |
Gallery[edit]
- Labyrinthcard-EN-Manga-DM-Lab.png
English
- Labyrinthcard-JP-Manga-DM-Lab.png
Japanese
In other media
{{Labyrinth card}}
is used to create tables for cards from the Labyrinth Battle Game.
Usage[edit]
{{Labyrinth card | name = | ja_name = | romaji_name = | trans_name = | image = | ja_image = | level = | atk = | def = | attack_name = | ja_attack_name = | lore = | ja_lore = }}
- name: The English name of the card if different than the page name before any bracketed text.
- ja_name: The Japanese name of the card.
- romaji_name: The romaji name of the card.
- trans_name: The Japanese name of the card translated into English, if different than the official English name.
- image: The image name, excluding the "File:" prefix. This is usually inserted by default.
- ja_image: The Japanese image name. This is usually inserted by default.
- level: The monster's Level.
- atk: The monster's ATK.
- def: The monster's DEF.
- attack_name: The monster's attack name.
- ja_attack_name: The monster's Japanese attack name.
- lore: The monster's lore.
- ja_lore: The monster's Japanese lore.
Example[edit]
{{Labyrinth card | ja_name = ギミック | romaji_name = Gimikku | level = 3 | atk = 1800 | def = 2000 | lore = Can't be [[attack]]ed by six-[[Level|star]] monsters | ja_lore = 星6つのモンスターの攻撃は受けつけない }}
Gimmick
- Japanese
- ギミック
- Rōmaji
- Gimikku
Gallery[edit]
- Labyrinthcard-EN-Manga-DM-Lab.png
English