Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox species: Difference between revisions

Template page
No edit summary
Tag: Reverted
No edit summary
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox infobox-species"
{{Infobox
|-
| name          = {{{name|}}}
! colspan="2" class="infobox-header" | {{{name|Piñata}}}
| image        = {{{image|}}}
|-
| level        = {{{level|}}}
| colspan="2" class="infobox-image" | [[File:{{{image|}}}|250px|center|{{{name}}}]]
| journal_entry = {{{journal_entry|}}}
|-
| journal_vp1  = {{{journal_vp1|}}}
| colspan="2" class="infobox-section"
| journal_tip  = {{{journal_tip|}}}
| <div class="infobox-label">Level</div>
| journal_pp    = {{{journal_pp|}}}
   <div class="infobox-value">{{{level|}}}</div>
| base_value    = {{{base_value|}}}
|-
| animal   = {{{real_animal|}}}
| colspan="2" class="infobox-section"
| candy        = {{{candy|}}}
| <div class="infobox-label">Base Value</div>
| attack_object = {{{attack_object|}}}
  <div class="infobox-value">{{{base_value|}}} chocolate coins</div>
}}
|-
<noinclude>
| colspan="2" class="infobox-section"
<templatedata>
| <div class="infobox-label">Animal</div>
{
  <div class="infobox-value">{{{real_animal|}}}</div>
  "description": "Infobox for a piñata species",
|-
  "params": {
| colspan="2" class="infobox-section"
    "name": {"label": "Piñata name", "description": "Species name of the piñata", "type": "string", "required": true},
| <div class="infobox-label">Candy</div>
    "image": {"label": "Image filename", "description": "Image file of the piñata (without 'File:')", "type": "string"},
  <div class="infobox-value">{{{candy|}}}</div>
    "level": {"label": "Level", "description": "Species level (1–11)", "type": "number"},
|-
    "base_value": {"label": "Base value", "description": "Value in Chocolate Coins", "type": "number"},
| colspan="2" class="infobox-section"
    "real_animal": {"label": "Real animal", "description": "Real-life animal the piñata is based on", "type": "string"},
| <div class="infobox-label">Attack Object</div>
    "candy": {"label": "Candy origin", "description": "Type of candy it's named after", "type": "string"},
   <div class="infobox-value">{{{attack_object|}}}</div>
    "attack_object": {"label": "Attack object", "description": "Object used when fighting or attacking", "type": "string"},
|}
"journal_vp1": {
  "label": "Journal entry (Viva Piñata)",
  "type": "string"
},
"journal_tip": {
  "label": "Journal entry (Trouble in Paradise)",
  "type": "string"
},
"journal_pp": {
  "label": "Journal entry (Pocket Paradise)",
   "type": "string"
}
  }
}
</templatedata>
</noinclude>

Latest revision as of 12:23, 6 February 2026

Infobox species

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 entry (Viva Piñata)journal_vp1

no description

Stringoptional
Journal entry (Trouble in Paradise)journal_tip

no description

Stringoptional
Journal entry (Pocket Paradise)journal_pp

no description

Stringoptional