Template:RequirementBox: Difference between revisions
Admin Jeremy (talk | contribs) No edit summary |
Admin Jeremy (talk | contribs) No edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#invoke:RequirementBox|render | <includeonly>{{#invoke:RequirementBox|render | ||
| | | game = {{{game|}}} | ||
| | | state = {{{state|}}} | ||
| | | evolve_first = {{{evolve_first|}}} | ||
| appear | | appear = {{{appear|}}} | ||
| visit | | visit = {{{visit|}}} | ||
| resident = {{{resident|}}} | | resident = {{{resident|}}} | ||
| romance | | romance = {{{romance|}}} | ||
| tricks | | tricks = {{{tricks|}}} | ||
| bait = {{{bait|}}} | |||
| evolve = {{{evolve|}}} | |||
| unblock = {{{unblock|}}} | |||
| mature = {{{mature|}}} | |||
}}</includeonly><noinclude><templatedata>{ | }}</includeonly><noinclude><templatedata>{ | ||
"description": "Unified Viva Piñata requirements box with collapsible game header.", | "description": "Unified Viva Piñata requirements box with collapsible game header.", | ||
"params": { | "params": { | ||
"game": { | "game": { | ||
"label": "Game code", | "label": "Game code", | ||
"type": "string", | "type": "string", | ||
"required": | "required": true, | ||
"example": "vp1", | "example": "vp1", | ||
"description": "vp1 = Classic, tip = Trouble in Paradise, pp = Pocket Paradise" | "description": "vp1 = Classic, tip = Trouble in Paradise, pp = Pocket Paradise" | ||
| Line 30: | Line 28: | ||
"example": "mw-collapsed", | "example": "mw-collapsed", | ||
"description": "Leave empty to expand by default" | "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": { | "appear": { | ||
| Line 54: | Line 59: | ||
"tricks": { | "tricks": { | ||
"label": "Trick requirements", | "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", | "type": "content", | ||
"required": false | "required": false | ||
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 |