Template:Buff/doc: Difference between revisions
Jump to navigation
Jump to search
Qwertyxp2000 (talk | contribs) No edit summary |
Qwertyxp2000 (talk | contribs) wording can be improved but it's what it does |
||
| Line 34: | Line 34: | ||
"required": false | "required": false | ||
}, | }, | ||
"fix": { | |||
"label": "Details", | "label": "Details", | ||
"description": "Marks a bug fix, via text. Writing any string sets this value true.", | "description": "Marks a bug fix, via text. Writing any string sets this value true.", | ||
| Line 40: | Line 40: | ||
"required": false | "required": false | ||
}, | }, | ||
"note": { | |||
"label": "Details", | "label": "Details", | ||
"description": "Adds a 'Note:' on an indented bulletpoint, plus the string.", | "description": "Adds a 'Note:' on an indented bulletpoint, plus the string.", | ||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
} | }, | ||
} | "name": { | ||
"label": "Details", | |||
"description": "Adds a colon preceding the text under this parameter's value.", | |||
"type": "string", | |||
"required": false | |||
} | |||
} | |||
} | } | ||
</templatedata> | </templatedata> | ||
Revision as of 17:03, 4 February 2026
This template is used on version pages (e.g. Bloons TD 6 v48.0), which displays an icon of a "buff" plus its details in text. A "buff" defines balance changes that are favorable to the player (see Help:Update history).
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Details | 1 | Balance change information | String | required |
| Details | 2 | Balance change, before | String | optional |
| Details | 3 | Balance change, after | String | optional |
| Details | undoc | Marks an undocumented change, via text. Writing any string sets this value true. | String | optional |
| Details | bug | Marks a bug, via text. Writing any string sets this value true. | String | optional |
| Details | fix | Marks a bug fix, via text. Writing any string sets this value true. | String | optional |
| Details | note | Adds a 'Note:' on an indented bulletpoint, plus the string. | String | optional |
| Details | name | Adds a colon preceding the text under this parameter's value. | String | optional |
Example usage
{{buff|Ability: Damage increased|2|3|bug=y|undoc=y}}
Ability: Damage increased ― 2 → 3 (undocumented) (bug)