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 |
||
| Line 39: | Line 39: | ||
}} | }} | ||
</includeonly> | </includeonly> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"description": "Unified Viva Piñata requirements box with collapsible game header.", | |||
"params": { | |||
"title": { | |||
"label": "Game title", | |||
"type": "string", | |||
"required": true, | |||
"example": "Viva Piñata" | |||
}, | |||
"game": { | |||
"label": "Game code", | |||
"type": "string", | |||
"required": false, | |||
"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" | |||
}, | |||
"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 | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | |||