Template:RequirementBox: Difference between revisions
no edit summary
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> | |||