Template:Infobox species: Difference between revisions
Admin Jeremy (talk | contribs) No edit summary Tag: Reverted |
Admin Jeremy (talk | contribs) No edit summary Tag: Manual revert |
||
| Line 1: | Line 1: | ||
{| class="infobox infobox-species" | {| class="infobox infobox-species" | ||
|- | |- | ||
! colspan="2" class="infobox-header" | {{{name|Piñata}}} | ! colspan="2" class="infobox-header" | | ||
{{{name|Piñata}}} | |||
|- | |- | ||
| colspan="2" | | colspan="2" style="text-align:center;" | | ||
[[File:{{{image|}}}|250px|center|{{{name}}}]] | |||
<i>{{{journal_entry|}}}</i> | |||
|- | |- | ||
! Level | |||
| | | {{{level|}}} | ||
|- | |- | ||
! Base value | |||
| | | {{{base_value|}}} chocolate coins | ||
|- | |- | ||
! Animal | |||
| | | {{{real_animal|}}} | ||
|- | |- | ||
! Candy | |||
| | | {{{candy|}}} | ||
|- | |- | ||
! Attack object | |||
| | | {{{attack_object|}}} | ||
|} | |} | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"description": "Infobox for a piñata species", | |||
"params": { | |||
"name": {"label": "Piñata name", "description": "Species name of the piñata", "type": "string", "required": true}, | |||
"image": {"label": "Image filename", "description": "Image file of the piñata (without 'File:' prefix e.g. Whirlm.webp)", "type": "string"}, | |||
"level": {"label": "Level", "description": "Species level (1–11)", "type": "number"}, | |||
"base_value": {"label": "Base value", "description": "Value in Chocolate Coins", "type": "number"}, | |||
"real_animal": {"label": "Real animal", "description": "Real-life animal the piñata is based on", "type": "string"}, | |||
"candy": {"label": "Candy origin", "description": "Type of candy it's named after", "type": "string"}, | |||
"attack_object": {"label": "Attack object", "description": "Object used when fighting or attacking", "type": "string"}, | |||
"journal_entry": { | |||
"label": "Journal entry", | |||
"description": "Journal entry displayed under the image", | |||
"type": "string" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Revision as of 03:08, 23 October 2025
|
Piñata | |
|---|---|
|
[[File:|250px|center|{{{name}}}]] | |
| Level | |
| Base value | chocolate coins |
| Animal | |
| Candy | |
| Attack object | |
Infobox for a piñata species
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Piñata name | name | Species name of the piñata | String | required |
| Image filename | image | Image file of the piñata (without 'File:' prefix e.g. Whirlm.webp) | String | optional |
| Level | level | Species level (1–11) | Number | optional |
| Base value | base_value | Value in Chocolate Coins | Number | optional |
| Real animal | real_animal | Real-life animal the piñata is based on | String | optional |
| Candy origin | candy | Type of candy it's named after | String | optional |
| Attack object | attack_object | Object used when fighting or attacking | String | optional |
| Journal entry | journal_entry | Journal entry displayed under the image | String | optional |