Template:RequirementBox: Difference between revisions
Admin Jeremy (talk | contribs) No edit summary |
Admin Jeremy (talk | contribs) No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{ | <details class="vp-gamebox" {{#ifeq:{{{state|}}}|mw-collapsed||open=open}}> | ||
<summary class="vp-gamebox-header">{{{title}}}</summary> | |||
<div class="vp-gamebox-content"> | |||
<div class="vp-requirements"> | |||
{{#if:{{{appear|}}}| {{RequirementBox/Category | title = Appear | list = {{{appear}}} }} }} | |||
{{#if:{{{visit|}}}| {{RequirementBox/Category | title = Visit | list = {{{visit}}} }} }} | |||
{{#if:{{{resident|}}}| {{RequirementBox/Category | title = Resident | list = {{{resident}}} }} }} | |||
{{#if:{{{romance|}}}| {{RequirementBox/Category | title = Romance | list = {{{romance}}} }} }} | |||
{{#if:{{{tricks|}}}| {{RequirementBox/Category | title = Tricks | list = {{{tricks}}} }} }} | |||
</div> | |||
</div> | </div> | ||
</details> | |||
</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": { | ||
Revision as of 02:35, 3 January 2026
Unified Viva Piñata requirements box with collapsible game header.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Game title | title | no description
| String | required |
| Game code | game | vp1 = Classic, tip = Trouble in Paradise, pp = Pocket Paradise
| String | optional |
| Collapsed by default | state | Leave empty to expand by default
| 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 |