Template:RequirementBox: Difference between revisions
Admin Jeremy (talk | contribs) (Created page with "<includeonly> {{PinataRequirements/GameBox | title = {{{title}}} | game = {{{game|}}} | state = {{{state|}}} | content = <div class="vp-requirements"> {{#if:{{{appear|}}}| {{PinataRequirements/Category | title = Appear | list = {{{appear}}} }} }} {{#if:{{{visit|}}}| {{PinataRequirements/Category | title = Visit | list = {{{visit}}} }} }} {{#if:{{{resident|}}}| {{PinataRequirements/Category | t...") |
Admin Jeremy (talk | contribs) No edit summary |
||
| (15 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#invoke:RequirementBox|render | ||
{{ | | game = {{{game|}}} | ||
| | | state = {{{state|}}} | ||
| | | evolve_first = {{{evolve_first|}}} | ||
| | | appear = {{{appear|}}} | ||
| | | visit = {{{visit|}}} | ||
| resident = {{{resident|}}} | |||
| romance = {{{romance|}}} | |||
| tricks = {{{tricks|}}} | |||
| bait = {{{bait|}}} | |||
| evolve = {{{evolve|}}} | |||
} | | unblock = {{{unblock|}}} | ||
| mature = {{{mature|}}} | |||
}}</includeonly><noinclude><templatedata>{ | |||
"description": "Unified Viva Piñata requirements box with collapsible game header.", | |||
"params": { | |||
"game": { | |||
} | "label": "Game code", | ||
"type": "string", | |||
"required": true, | |||
"example": "vp1", | |||
"description": "vp1 = Classic, tip = Trouble in Paradise, pp = Pocket Paradise" | |||
}, | |||
"state": { | |||
"label": "Collapsed by default", | |||
"type": "string", | |||
"required": false, | |||
"example": "mw-collapsed", | |||
"description": "Leave empty to expand by default" | |||
}, | |||
"evolve_first": { | |||
"label": "Evolve requirement displays first", | |||
"type": "string", | |||
"required": false, | |||
"example": "true", | |||
"description": "Leave empty to keep evolve requirement after resident" | |||
}, | |||
"appear": { | |||
"label": "Appear requirements", | |||
</ | "type": "content", | ||
"required": false, | |||
"example": "* [[File:Dirt_icon.png]] Have 10 square pinometers of soil" | |||
}, | |||
"visit": { | |||
"label": "Visit requirements", | |||
"type": "content", | |||
"required": false | |||
}, | |||
"resident": { | |||
"label": "Resident requirements", | |||
"type": "content", | |||
"required": false | |||
}, | |||
"romance": { | |||
"label": "Romance requirements", | |||
"type": "content", | |||
"required": false | |||
}, | |||
"tricks": { | |||
"label": "Trick requirements", | |||
"type": "content", | |||
"required": false | |||
}, | |||
"bait": { | |||
"label": "Bait requirements", | |||
"type": "content", | |||
"required": false | |||
}, | |||
"evolve": { | |||
"label": "Evolve requirements", | |||
"type": "content", | |||
"required": false | |||
}, | |||
"unblock": { | |||
"label": "Unblock requirements", | |||
"type": "content", | |||
"required": false | |||
}, | |||
"mature": { | |||
"label": "Growth requirements", | |||
"type": "content", | |||
"required": false | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Latest revision as of 23:06, 14 January 2026
Unified Viva Piñata requirements box with collapsible game header.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Game code | game | vp1 = Classic, tip = Trouble in Paradise, pp = Pocket Paradise
| String | required |
| Collapsed by default | state | Leave empty to expand by default
| String | optional |
| Evolve requirement displays first | evolve_first | Leave empty to keep evolve requirement after resident
| String | optional |
| Appear requirements | appear | no description
| Content | optional |
| Visit requirements | visit | no description | Content | optional |
| Resident requirements | resident | no description | Content | optional |
| Romance requirements | romance | no description | Content | optional |
| Trick requirements | tricks | no description | Content | optional |
| Bait requirements | bait | no description | Content | optional |
| Evolve requirements | evolve | no description | Content | optional |
| Unblock requirements | unblock | no description | Content | optional |
| Growth requirements | mature | no description | Content | optional |