Template:Infobox species: Difference between revisions

From Viva Piñata Wiki
No edit summary
No edit summary
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" style="text-align:center;" | [[File:{{{image|}}}|250px|center|{{{name}}}]]
| colspan="2" style="text-align:center;" |
[[File:{{{image|}}}|250px|center|{{{name}}}]]
<br><i>{{{journal_entry|}}}</i>
|-
|-
! Level
! Level
Line 31: Line 34:
     "real_animal": {"label": "Real animal", "description": "Real-life animal the piñata is based on", "type": "string"},
     "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"},
     "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"}
     "attack_object": {"label": "Attack object", "description": "Object used when fighting or attacking", "type": "string"},
"journal_entry": {
  "label": "Journal entry",
  "description": "Caption or short journal entry displayed under the image",
  "type": "string"
}
   }
   }
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 21:14, 22 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:' prefix e.g. Whirlm.webp)

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

Caption or short journal entry displayed under the image

Stringoptional