Template:MastersInfobox/doc: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
TemplateData, some updates
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
! 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 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
| ''String''
| ''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==

Navigation menu