Template:Infobox species: Difference between revisions

From Viva Piñata Wiki
No edit summary
Tag: Reverted
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" class="infobox-image" | [[File:{{{image|}}}|250px|center|{{{name}}}]]
| colspan="2" style="text-align:center;" |
[[File:{{{image|}}}|250px|center|{{{name}}}]]
<i>{{{journal_entry|}}}</i>
|-
|-
| colspan="2" class="infobox-section"
! Level
| <div class="infobox-label">Level</div>
| {{{level|}}}
  <div class="infobox-value">{{{level|}}}</div>
|-
|-
| colspan="2" class="infobox-section"
! Base value
| <div class="infobox-label">Base Value</div>
| {{{base_value|}}} chocolate coins
  <div class="infobox-value">{{{base_value|}}} chocolate coins</div>
|-
|-
| colspan="2" class="infobox-section"
! Animal
| <div class="infobox-label">Animal</div>
| {{{real_animal|}}}
  <div class="infobox-value">{{{real_animal|}}}</div>
|-
|-
| colspan="2" class="infobox-section"
! Candy
| <div class="infobox-label">Candy</div>
| {{{candy|}}}
  <div class="infobox-value">{{{candy|}}}</div>
|-
|-
| colspan="2" class="infobox-section"
! Attack object
| <div class="infobox-label">Attack Object</div>
| {{{attack_object|}}}
  <div class="infobox-value">{{{attack_object|}}}</div>
|}
|}
<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

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

Journal entry displayed under the image

Stringoptional