Template:MastersInfobox/doc: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
⧼bulbapediamonobook-jumptonavigation⧽⧼bulbapediamonobook-jumptosearch⧽
Documentation for {{MastersInfobox}}
 
m TemplateData: correction
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{template|MastersInfobox}} is used to display information about a character from [[Pokémon Masters EX]].
{{template|MastersInfobox}} is used to display information about a Trainer from [[Pokémon Masters EX]].


This template will automatically add [[:Category:Masters EX characters]].
This template will automatically add [[:Category:Masters EX characters]] to the page.


==Parameters==
==Parameters==
{| class="wikitable" style="background-color:#e5f1ec"
{| class="wikitable" style="margin:auto; background-color:#e5f1ec"
|-
|-
! Parameter
! Parameter
! width=50% | Allowed values
! 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 type of the first sync pair's sync move this version of the character debuted with.
| The sync move type of the first sync pair this version of the character formed.
|-
|-
| name
| name
| ''String''
| ''String''
| The character's English name
| The character's English name.
|-
|-
| jname
| jname
Line 28: Line 28:
| image
| image
| ''Filename''
| ''Filename''
| The filename for the character's model, including 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>.
|-
|-
| size
| size
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.",
"type": "line",
"default": "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==
Line 68: Line 160:
|java=Ryōta Ōsaka
|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.
|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.
|nocat=true
}}
}}
<pre>
<pre>
Line 84: Line 177:
}}
}}
</pre>
</pre>
[[Category:Documentation templates]]
<noinclude>[[Category:Documentation templates]]</noinclude>

Latest revision as of 20:57, 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 NormalFireFightingWaterFlyingGrassPoisonElectricGroundPsychicRockIceBugDragonGhostDarkSteelFairy 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.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Typetype

The sync move type of the first sync pair this version of the character formed.

Suggested values
Normal Fire Fighting Water Flying Grass Poison Electric Ground Psychic Rock Ice Bug Dragon Ghost Dark Steel Fairy
Default
Unknown
Linerequired
English namename

The character's English name.

Linerequired
Japanese namejname

The character's Japanese name, in Japanese script.

Linerequired
Japanese name romanizationjtrans

The character's romanized Japanese name, in English script.

Linerequired
Imageimage

The filename for the character's model, including the .png extension

Filerequired
Image size.size

The image size.

Default
200px
Linesuggested
Captioncaption

The image caption

Example
<name>'s model
Linerequired
Dex number.num

The character's in-game Dex number.

Numberrequired
English VAenva

The character's English voice actor. Should also include a reference.

Default
Unknown
Linesuggested
Japanese VAjava

The character's Japanese voice actor. Should also include a reference.

Default
Unknown
Linesuggested
Dex Descriptiondesc

The description of the character from the in-game Dex.

Linesuggested
NoCategorynocat

Set to any non empty string to supress default "Category:Masters EX characters"

Suggested values
1 yes true
Lineoptional

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.
}}