Template:MastersInfobox/doc: Difference between revisions
m fix categorization issue |
TemplateData, some updates |
||
Line 4: | Line 4: | ||
==Parameters== | ==Parameters== | ||
{| class="wikitable" style="background-color:#e5f1ec" | {| class="wikitable" style="margin:auto; background-color:#e5f1ec" | ||
|- | |- | ||
! Parameter | ! Parameter | ||
! | ! Allowed values | ||
! Notes | ! Notes | ||
|- | |- | ||
| type | | type | ||
| <code>Normal</code> • <code>Fire</code> • <code>Fighting</code> • <code>Water</code> • <code>Flying</code> • <code>Grass</code> • <code>Poison</code> • <code>Electric</code> • <code>Ground</code> • <code>Psychic</code> • <code>Rock</code> • <code>Ice</code> • <code>Bug</code> • <code>Dragon</code> • <code>Ghost</code> • <code>Dark</code> • <code>Steel</code> • <code>Fairy</code> | |style="max-width:550px;"| <code>Normal</code> • <code>Fire</code> • <code>Fighting</code> • <code>Water</code> • <code>Flying</code> • <code>Grass</code> • <code>Poison</code> • <code>Electric</code> • <code>Ground</code> • <code>Psychic</code> • <code>Rock</code> • <code>Ice</code> • <code>Bug</code> • <code>Dragon</code> • <code>Ghost</code> • <code>Dark</code> • <code>Steel</code> • <code>Fairy</code> | ||
| The sync move type of the first sync pair this version of the character formed. | | The sync move type of the first sync pair this version of the character formed. | ||
|- | |- | ||
Line 27: | Line 27: | ||
|- | |- | ||
| image | | image | ||
| '' | | ''Filename'' | ||
| The filename for the character's model, including the <code>.png</code> extension. Do '''not''' include <code>File:</code>. | | The filename for the character's model, including the <code>.png</code> extension. Do '''not''' include <code>File:</code>. | ||
|- | |- | ||
Line 53: | Line 53: | ||
| ''String'' | | ''String'' | ||
| The description of the character from the in-game Dex. | | The description of the character from the in-game Dex. | ||
|- | |||
| nocat | |||
| <code>yes</code> | |||
| Set to <code>1</code>, <code>yes</code>, <code>true</code> or any non-empty string to supress [[:Category:Masters EX characters]]. | |||
|} | |} | ||
===TemplateData=== | |||
<templatedata> | |||
{ | |||
"params": { | |||
"type": { | |||
"label": "Type", | |||
"description": "The sync move type of the first sync pair this version of the character formed.", | |||
"type": "line", | |||
"suggestedvalues": [ "Normal", "Fire", "Fighting", "Water", "Flying", "Grass", "Poison", "Electric", "Ground", "Psychic", "Rock", "Ice", "Bug", "Dragon", "Ghost", "Dark", "Steel", "Fairy" ], | |||
"default": "Unknown", | |||
"required": true | |||
}, | |||
"name": { | |||
"label": "English name", | |||
"description": "The character's English name.", | |||
"type": "line", | |||
"required": true | |||
}, | |||
"jname": { | |||
"label": "Japanese name", | |||
"description": "The character's Japanese name, in Japanese script.", | |||
"type": "line", | |||
"required": true | |||
}, | |||
"jtrans": { | |||
"label": "Japanese name romanization", | |||
"description": "The character's romanized Japanese name, in English script.", | |||
"type": "line", | |||
"required": true | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "The filename for the character's model, including the .png extension", | |||
"type": "wiki-file-name", | |||
"required": true | |||
}, | |||
"size": { | |||
"label": "Image size.", | |||
"description": "The image size.", | |||
"suggestedvalues": [ "200px" ], | |||
"autovalue": "200px", | |||
"suggested": true | |||
}, | |||
"caption": { | |||
"label": "Caption", | |||
"description": "The image caption", | |||
"example": "<name>'s model", | |||
"type": "line", | |||
"required": true | |||
}, | |||
"num": { | |||
"label": "Dex number.", | |||
"description": "The character's in-game Dex number.", | |||
"type": "number", | |||
"required": true | |||
}, | |||
"enva": { | |||
"label": "English VA", | |||
"description": "The character's English voice actor. Should also include a reference.", | |||
"type": "line", | |||
"default": "Unknown", | |||
"suggested": true | |||
}, | |||
"java": { | |||
"label": "Japanese VA", | |||
"description": "The character's Japanese voice actor. Should also include a reference.", | |||
"type": "line", | |||
"default": "Unknown", | |||
"suggested": true | |||
}, | |||
"desc": { | |||
"label": "Dex Description", | |||
"description": "The description of the character from the in-game Dex.", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"nocat": { | |||
"label": "NoCategory", | |||
"description": "Set to any non empty string to supress default \"Category:Masters EX characters\"", | |||
"type": "line", | |||
"suggestedvalues": [ "1", "yes", "true" ] | |||
} | |||
}, | |||
"description": "{{MastersInfobox}} is used to display information about a Trainer from Pokémon Masters EX.", | |||
"format": "block" | |||
} | |||
</templatedata> | |||
==Examples== | ==Examples== |
Revision as of 19:54, 14 March 2024
{{MastersInfobox}}
is used to display information about a Trainer from Pokémon Masters EX.
This template will automatically add Category:Masters EX characters to the page.
Parameters
Parameter | Allowed values | Notes |
---|---|---|
type | Normal • Fire • Fighting • Water • Flying • Grass • Poison • Electric • Ground • Psychic • Rock • Ice • Bug • Dragon • Ghost • Dark • Steel • Fairy
|
The sync move type of the first sync pair this version of the character formed. |
name | String | The character's English name. |
jname | String | The character's Japanese name, in Japanese script. |
jtrans | String | The character's romanized Japanese name, in English script. |
image | Filename | The filename for the character's model, including the .png extension. Do not include File: .
|
size | String | The image size. |
caption | String | The image caption. Ideally should be similar to <name>'s model
|
num | Number | The character's in-game Dex number. |
enva | String | The character's English voice actor. Should also include a reference. |
java | String | The character's Japanese voice actor. Should also include a reference. |
desc | String | The description of the character from the in-game Dex. |
nocat | yes
|
Set to 1 , yes , true or any non-empty string to supress Category:Masters EX characters.
|
TemplateData
{{MastersInfobox}} is used to display information about a Trainer from Pokémon Masters EX.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Type | type | The sync move type of the first sync pair this version of the character formed.
| Line | required |
English name | name | The character's English name. | Line | required |
Japanese name | jname | The character's Japanese name, in Japanese script. | Line | required |
Japanese name romanization | jtrans | The character's romanized Japanese name, in English script. | Line | required |
Image | image | The filename for the character's model, including the .png extension | File | required |
Image size. | size | The image size.
| Unknown | suggested |
Caption | caption | The image caption
| Line | required |
Dex number. | num | The character's in-game Dex number. | Number | required |
English VA | enva | The character's English voice actor. Should also include a reference.
| Line | suggested |
Japanese VA | java | The character's Japanese voice actor. Should also include a reference.
| Line | suggested |
Dex Description | desc | The description of the character from the in-game Dex. | Line | suggested |
NoCategory | nocat | Set to any non empty string to supress default "Category:Masters EX characters"
| Line | optional |
Examples
Sygna Suit Blue マジコス グリーン Serious Costume Green | |
![]() Sygna Suit Blue's model | |
No. | 65 |
---|---|
English voice actor | Billy Kametz |
Japanese voice actor | Ryōta Ōsaka |
Description | Blue is looking stylish in his sygna suit. With his Blastoise by his side, he has faced many strong opponents in his pursuit to become the greatest Trainer. |
{{MastersInfobox |type=water |name=Sygna Suit Blue |jname=マジコス グリーン |jtrans=Serious Costume Green |image=Spr Masters Blue Sygna.png |size=200px |caption=Sygna Suit Blue's model |num=65 |enva=[[Billy Kametz]] |java=Ryōta Ōsaka |desc=Blue is looking stylish in his sygna suit. With his Blastoise by his side, he has faced many strong opponents in his pursuit to become the greatest Trainer. }}