Template:Infobox species: Difference between revisions

From Viva Piñata Wiki
No edit summary
No edit summary
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox infobox-species"
{| class="infobox infobox-species"
|-
|-
! colspan="2" class="infobox-header" |
! colspan="2" class="infobox-header" | {{{name|Piñata}}}
{{{name|Piñata}}}
|-
|-
| colspan="2" style="text-align:center;" |
| colspan="2" class="infobox-image" | [[File:{{{image|}}}|250px|center|{{{name}}}]]
[[File:{{{image|}}}|250px|center|{{{name}}}]]
<br><i>{{{journal_entry|}}}</i>
|-
|-
! Level
| colspan="2" class="infobox-section infobox-journal-cell" |
| {{{level|}}}
<i>{{{journal_entry|}}}</i>
|-
|-
! Base value
| class="infobox-section infobox-label-cell" | <span class="infobox-label">Level</span>
| {{{base_value|}}} chocolate coins
| class="infobox-section infobox-value-cell" | {{{level|}}}
|-
|-
! Animal
| class="infobox-section infobox-label-cell" | <span class="infobox-label">Base Value</span>
| {{{real_animal|}}}
| class="infobox-section infobox-value-cell" | {{{base_value|}}} chocolate coins
|-
|-
! Candy
| class="infobox-section infobox-label-cell" | <span class="infobox-label">Animal</span>
| {{{candy|}}}
| class="infobox-section infobox-value-cell" | {{{real_animal|}}}
|-
|-
! Attack object
| class="infobox-section infobox-label-cell" | <span class="infobox-label">Candy</span>
| {{{attack_object|}}}
| class="infobox-section infobox-value-cell" | {{{candy|}}}
|-
| class="infobox-section infobox-label-cell" | <span class="infobox-label">Attack Object</span>
| class="infobox-section infobox-value-cell" | {{{attack_object|}}}
|}
|}
<noinclude>
<noinclude>
Line 29: Line 29:
   "params": {
   "params": {
     "name": {"label": "Piñata name", "description": "Species name of the piñata", "type": "string", "required": true},
     "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"},
     "image": {"label": "Image filename", "description": "Image file of the piñata (without 'File:')", "type": "string"},
     "level": {"label": "Level", "description": "Species level (1–11)", "type": "number"},
     "level": {"label": "Level", "description": "Species level (1–11)", "type": "number"},
     "base_value": {"label": "Base value", "description": "Value in Chocolate Coins", "type": "number"},
     "base_value": {"label": "Base value", "description": "Value in Chocolate Coins", "type": "number"},

Revision as of 23:27, 23 October 2025

Piñata
[[File:|250px|center|{{{name}}}]]

Level
Base Value chocolate coins
Animal
Candy
Attack Object

Infobox for a piñata species

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Piñata namename

Species name of the piñata

Stringrequired
Image filenameimage

Image file of the piñata (without 'File:')

Stringoptional
Levellevel

Species level (1–11)

Numberoptional
Base valuebase_value

Value in Chocolate Coins

Numberoptional
Real animalreal_animal

Real-life animal the piñata is based on

Stringoptional
Candy origincandy

Type of candy it's named after

Stringoptional
Attack objectattack_object

Object used when fighting or attacking

Stringoptional
Journal entryjournal_entry

Journal entry displayed under the image

Stringoptional