Template:Infobox species: Difference between revisions
Appearance
Admin Jeremy (talk | contribs) No edit summary |
Admin Jeremy (talk | contribs) No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<templatestyles src="Template:Infobox generic/styles.css" /> | |||
{| class="infobox infobox-species" | {| class="infobox infobox-species" | ||
|- | |- | ||
| Line 6: | Line 7: | ||
|- | |- | ||
| colspan="2" class="infobox-section infobox-journal-cell" | | | colspan="2" class="infobox-section infobox-journal-cell" | | ||
{{#if:{{{journal_vp1|}}}{{{journal_tip|}}}{{{journal_pp|}}} | {{#if:{{{journal_vp1|}}}{{{journal_tip|}}}{{{journal_pp|}}}| | ||
<!-- NEW MULTI-JOURNAL PATH --> | |||
{{#ifexpr: | |||
{{#if:{{{journal_vp1|}}}|1|0}}+ | |||
{{#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|}}} | |||
}} | }} | ||
|- | |- | ||
Latest revision as of 11:09, 25 January 2026
| Piñata | |
|---|---|
| [[File:|250px|center|{{{name}}}]] | |
| Level | |
| Base Value | chocolate coins |
| Animal | |
| Candy | |
| Attack Object | |
Infobox for a piñata species
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Piñata name | name | Species name of the piñata | String | required |
| Image filename | image | Image file of the piñata (without 'File:') | String | optional |
| Level | level | Species level (1–11) | Number | optional |
| Base value | base_value | Value in Chocolate Coins | Number | optional |
| Real animal | real_animal | Real-life animal the piñata is based on | String | optional |
| Candy origin | candy | Type of candy it's named after | String | optional |
| Attack object | attack_object | Object used when fighting or attacking | String | optional |
| Journal entry (Viva Piñata) | journal_vp1 | no description | String | optional |
| Journal entry (Trouble in Paradise) | journal_tip | no description | String | optional |
| Journal entry (Pocket Paradise) | journal_pp | no description | String | optional |