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
No edit summary
 
Line 1: Line 1:
<templatestyles src="Template:Infobox generic/styles.css" />
{{Infobox
{| class="infobox infobox-species"
| name          = {{{name|}}}
|-
| image        = {{{image|}}}
! colspan="2" class="infobox-header" | {{{name|Piñata}}}
| level        = {{{level|}}}
|-
| journal_entry = {{{journal_entry|}}}
| colspan="2" class="infobox-image" | [[File:{{{image|}}}|250px|center|{{{name}}}]]
| journal_vp1  = {{{journal_vp1|}}}
|-
| journal_tip  = {{{journal_tip|}}}
| colspan="2" class="infobox-section infobox-journal-cell" |
| journal_pp    = {{{journal_pp|}}}
{{#if:{{{journal_vp1|}}}{{{journal_tip|}}}{{{journal_pp|}}}|
| base_value    = {{{base_value|}}}
<!-- NEW MULTI-JOURNAL PATH -->
| animal  = {{{real_animal|}}}
{{#ifexpr:
| candy        = {{{candy|}}}
{{#if:{{{journal_vp1|}}}|1|0}}+
| attack_object = {{{attack_object|}}}
{{#if:{{{journal_tip|}}}|1|0}}+
{{#if:{{{journal_pp|}}}|1|0}}
>1
|
<div class="vp-journal-multi">
 
{{#if:{{{journal_tip|}}}|
<details class="vp-journal-block" open>
<summary>Trouble in Paradise</summary>
<div class="vp-journal-text">
{{{journal_tip}}}
</div>
</details>
}}
}}
{{#if:{{{journal_vp1|}}}|
<details class="vp-journal-block">
<summary>Viva Piñata</summary>
<div class="vp-journal-text">
{{{journal_vp1}}}
</div>
</details>
}}
{{#if:{{{journal_pp|}}}|
<details class="vp-journal-block">
<summary>Pocket Paradise</summary>
<div class="vp-journal-text">
{{{journal_pp}}}
</div>
</details>
}}
</div>
|
<!-- SINGLE-JOURNAL PATH (backward compatible) -->
{{{journal_vp1|{{{journal_tip|{{{journal_pp|}}}}}}}}
}}
|
<!-- LEGACY PARAM -->
{{{journal_entry|}}}
}}
|-
{{Infobox row | label=Level | value={{{level|}}} }}
{{Infobox row | label=Base Value | value={{{base_value|}}} }}
{{Infobox row | label=Animal | value={{{real_animal|}}} }}
{{Infobox row | label=Candy | value={{{candy|}}} }}
{{Infobox row | label=Attack Object | value={{{attack_object|}}} }}
|}
<noinclude>
<noinclude>
<templatedata>
<templatedata>

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