Template:RequirementBox: Difference between revisions

From Piñata Journal
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#invoke:RequirementBox|render
<includeonly>{{#invoke:RequirementBox|render
  | title    = {{{title}}}
  | game        = {{{game|}}}
  | game    = {{{game|}}}
  | state        = {{{state|}}}
  | state    = {{{state|}}}
  | evolve_first = {{{evolve_first|}}}
  | appear   = {{{appear|}}}
  | appear       = {{{appear|}}}
  | visit   = {{{visit|}}}
  | visit       = {{{visit|}}}
  | resident = {{{resident|}}}
  | resident     = {{{resident|}}}
  | romance = {{{romance|}}}
  | romance     = {{{romance|}}}
  | tricks   = {{{tricks|}}}
  | tricks       = {{{tricks|}}}
  | bait     = {{{bait|}}}
  | bait         = {{{bait|}}}
  | evolve   = {{{evolve|}}}
  | evolve       = {{{evolve|}}}
  | unblock  = {{{unblock|}}}
  | 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": {
    "title": {
      "label": "Game title",
      "type": "string",
      "required": true,
      "example": "Viva Piñata"
    },
     "game": {
     "game": {
       "label": "Game code",
       "label": "Game code",
Line 33: 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 53: Line 55:
       "label": "Romance requirements",
       "label": "Romance requirements",
       "type": "content",
       "type": "content",
       "required": true
       "required": false
     },
     },
     "tricks": {
     "tricks": {
Line 72: Line 74:
     "unblock": {
     "unblock": {
       "label": "Unblock requirements",
       "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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Game codegame

vp1 = Classic, tip = Trouble in Paradise, pp = Pocket Paradise

Example
vp1
Stringrequired
Collapsed by defaultstate

Leave empty to expand by default

Example
mw-collapsed
Stringoptional
Evolve requirement displays firstevolve_first

Leave empty to keep evolve requirement after resident

Example
true
Stringoptional
Appear requirementsappear

no description

Example
* [[File:Dirt_icon.png]] Have 10 square pinometers of soil
Contentoptional
Visit requirementsvisit

no description

Contentoptional
Resident requirementsresident

no description

Contentoptional
Romance requirementsromance

no description

Contentoptional
Trick requirementstricks

no description

Contentoptional
Bait requirementsbait

no description

Contentoptional
Evolve requirementsevolve

no description

Contentoptional
Unblock requirementsunblock

no description

Contentoptional
Growth requirementsmature

no description

Contentoptional