Template:Infobox species: Difference between revisions

From Viva Piñata Wiki
No edit summary
No edit summary
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:
| colspan="2" class="infobox-image" | [[File:{{{image|}}}|250px|center|{{{name}}}]]
| colspan="2" class="infobox-image" | [[File:{{{image|}}}|250px|center|{{{name}}}]]
|-
|-
| colspan="2" class="infobox-section" |
| colspan="2" class="infobox-section infobox-journal-cell" |
<div class="infobox-label">Level</div><div class="infobox-value">{{{level|}}}</div>
<i>{{{journal_entry|}}}</i>
|-
|-
| colspan="2" class="infobox-section" |
| class="infobox-section infobox-label-cell" | <span class="infobox-label">Level</span>
<div class="infobox-label">Base Value</div><div class="infobox-value">{{{base_value|}}} chocolate coins</div>
| class="infobox-section infobox-value-cell" | {{{level|}}}
|-
|-
| colspan="2" class="infobox-section" |
| class="infobox-section infobox-label-cell" | <span class="infobox-label">Base Value</span>
<div class="infobox-label">Animal</div><div class="infobox-value">{{{real_animal|}}}</div>
| class="infobox-section infobox-value-cell" | {{{base_value|}}} chocolate coins
|-
|-
| colspan="2" class="infobox-section" |
| class="infobox-section infobox-label-cell" | <span class="infobox-label">Animal</span>
<div class="infobox-label">Candy</div><div class="infobox-value">{{{candy|}}}</div>
| class="infobox-section infobox-value-cell" | {{{real_animal|}}}
|-
|-
| colspan="2" class="infobox-section" |
| class="infobox-section infobox-label-cell" | <span class="infobox-label">Candy</span>
<div class="infobox-label">Attack Object</div><div class="infobox-value">{{{attack_object|}}}</div>
| 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 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": "Journal entry displayed under the image",
  "type": "string"
}
   }
   }
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

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