Difference between revisions of "Template:Bandai card"
(Add short=true to {{lang}}) |
m (reorder some stuff) |
||
Line 1: | Line 1: | ||
__NOEDITSECTION__<!-- | __NOEDITSECTION__<!-- | ||
− | -->{{ #vardefine: $name | {{ #if: {{{name|}}} | {{{name}}} | {{ #titleparts: {{ #explode: {{PAGENAME}} | ( }} }} }} }}<!-- | + | ## Variables ## |
− | + | -->{{ #vardefine: $name | {{ #if: {{{name|}}} | {{{name}}} | {{ #titleparts: {{ #explode: {{PAGENAME}} | ( }} }} }} }}<!-- | |
− | |||
− | |||
-->{{ #vardefine: $url-name | {{ #replace: {{ #var: $name }} | # }} }}<!-- | -->{{ #vardefine: $url-name | {{ #replace: {{ #var: $name }} | # }} }}<!-- | ||
+ | -->{{ #vardefine: $number | {{ #explode: {{{number}}} | , }} }}<!-- | ||
+ | -->{{ #vardefine: $number2 | {{ #explode: {{{number}}} | , | -1 }} }}<!-- | ||
+ | -->{{ #vardefine: $image | {{ #if: {{{image|}}} | {{{image}}} | VersoBANDAI-ANAS-1999.jpg }} }}<!-- | ||
-->{{ #if: {{ #pos: {{PAGENAME}} | Bandai }}{{{main<includeonly>|</includeonly>}}} | -->{{ #if: {{ #pos: {{PAGENAME}} | Bandai }}{{{main<includeonly>|</includeonly>}}} | ||
Line 13: | Line 14: | ||
}} | }} | ||
}}<!-- | }}<!-- | ||
− | |||
− | |||
− | |||
-->{{ #if: {{{type|}}}{{{atk|}}}{{{def|}}} | -->{{ #if: {{{type|}}}{{{atk|}}}{{{def|}}} | ||
Line 36: | Line 34: | ||
}}<!-- | }}<!-- | ||
− | + | ## Properties ## | |
− | -->{{ # | + | -->[[English name::{{ #var: $name }}| ]]<!-- |
-->[[Level::{{{level|}}}| ]]<!-- | -->[[Level::{{{level|}}}| ]]<!-- | ||
-->[[Ability::{{{ability|}}}| ]]<!-- | -->[[Ability::{{{ability|}}}| ]]<!-- | ||
Line 43: | Line 41: | ||
-->[[Japanese ability::{{{ja_ability|}}}| ]]<!-- | -->[[Japanese ability::{{{ja_ability|}}}| ]]<!-- | ||
-->[[Japanese ability description::{{{ja_ability_desc|}}}| ]]<!-- | -->[[Japanese ability description::{{{ja_ability_desc|}}}| ]]<!-- | ||
+ | -->{{ #if: {{{atk|}}}{{{def|}}} | {{ATK DEF properties|{{{atk|}}}|{{{def|}}}}} }}<!-- | ||
+ | ## Tabs ## | ||
-->{{ #arraydefine: $languages | en, ja }}<!-- | -->{{ #arraydefine: $languages | en, ja }}<!-- | ||
Revision as of 20:32, 30 October 2013
Main card page: "{{{main}}}"
Template:Bandai card strings/en
Bandai card
- Japanese
- {{{ja_name}}}
- Rōmaji
- {{{romaji_name}}}
- Translated
- {{{trans_name}}}
[[{{{card_type}}} Card|]] | |
[[Type|]] | |
---|---|
[[Level|]] | {{{level}}}String Module Error: function rep expects a number as second parameter, received "{{{level}}}" |
[[ATK|]]/[[DEF|]] | {{{atk}}} / {{{def}}} |
{{{lore}}} | |
| |
[[Yu-Gi-Oh! Bandai's Official Card Game#Rules|]] |
|
#Expression error: Unrecognized punctuation character "{".: {{{name}}}
Template:Bandai card strings/ja
{{{ja_name}}}
- Japanese
- {{{ja_name}}}
- Rōmaji
- {{{romaji_name}}}
- Translated
- {{{trans_name}}}
[[{{{card_type}}} Card|]] | |
[[Type|]] | |
---|---|
[[Level|]] | {{{level}}}String Module Error: function rep expects a number as second parameter, received "{{{level}}}" |
[[ATK|]]/[[DEF|]] | {{{atk}}} / {{{def}}} |
{{{ja_lore}}} | |
| |
[[Yu-Gi-Oh! Bandai's Official Card Game#Rules|]] |
|
#Expression error: Unrecognized punctuation character "{".: {{{name}}}
- [[Card Gallery:{{{main}}}|Gallery]]
- [[Card Appearances:{{{main}}}|Appearances]]
- [[Card Trivia:{{{main}}}|Trivia]]
- [[Card Lores:{{{main}}}|Lores]]
- [[Card Artworks:{{{main}}}|Artworks]]
- [[Card Names:{{{main}}}|Names]]
Sets
Release | Number | Set | Rarity |
---|---|---|---|
{{{rarity}}} |
Usage
{{Bandai card | main = | name = | ja_name = | romaji_name = | trans_name = | image = | card_type = | type = | level = | atk = | def = | lore = | ja_lore = | ability = | ja_ability = | ability_desc = | ja_ability_desc = | rule = | number = | rarity = }}
- main: The main card page. If this is unused, it will default to the pagename, excluding bracketed text, except for character cards, which will always treat this as being blank.
- name: The name of the card, if different than the page name, excluding bracketed text.
- ja_name: The Japanese name of the card. If this is unused, it will default to the Japanese name used on the main card page.
- romaji_name: The Japanese name of the card, in romaji. If this is unused, it will default to the romaji name used on the main card page.
- trans_name: The Japanese name of the card, translated into English. If this is unused, it will default to the translated Japanese name used on the main card page.
- image: The name of the image of the card, excluding the "File:" prefix. If unused, this will default to the backing image.
- card_type: Set equal to "Spell" or "Equip", if the card is a Spell Card or an Equip Card. Do not set equal to "Monster" or "Character" for Monster Cards or Character Cards.
- type: The Type, if the card is a monster.
- level: The Level, if the card is a monster.
- atk: The ATK, if the card is a monster.
- def: The DEF, if the card is a monster.
- lore: The card's lore, printed above the card's illustration.
- ja_lore: The card's Japanese lore.
- ability: The name of the ability, if the card is a Character Card.
- ja_ability: The Japanese name of the ability.
- ability_desc: The description of the ability.
- ja_ability_desc: The Japanese description of the ability.
- rule: The number of the rule. If it is a Special rule, enter the rule description.
- ja_rule: If the rule is a Special rule, enter the Japanese description of the rule.
- number: The card's set number.
- rarity: The card's rarity.