Template:Buff/doc: Difference between revisions
Qwertyxp2000 (talk | contribs) Created page with "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. <templatedata> { "params": { "1": { "label": "Details", "description": "Balance change information", "type": "string", "required": true }, "2": { "label": "Details", "description": "Balance change, before", "type": "string", "required": false }..." |
Pymonkibot (talk | contribs) m Text replacement - "[[Bloons TD 6 v" to "[[Update history:Bloons TD 6/Version " |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
This template is used on version pages (e.g. [[Bloons TD 6 | This template is used on version pages (e.g. [[Update history:Bloons TD 6/Version 48.0]]) to denote balance changes that are favorable to the player (see [[Help:Update history]]). | ||
{{#lst:Template:Change/doc|template data}} | |||
} | |||
==Example usage== | ==Example usage== | ||
<pre> | <pre>{{buff|name=Ability|Damage increased|2|3|bug=y|undoc=y}}</pre> | ||
{{buff|Ability | {{buff|name=Ability|Damage increased|2|3|bug=y|undoc=y}} | ||
</pre> | <includeonly>[[Category:Change templates]]</includeonly><noinclude>[[Category:Documentation]]</noinclude> | ||
{{buff|Ability | |||
Latest revision as of 01:04, 24 April 2026
This template is used on version pages (e.g. Update history:Bloons TD 6/Version 48.0) to denote balance changes that are favorable to the player (see Help:Update history).
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Adds a label, in bold and separated by a colon, before the body of the change. If the subject has multiple mechanics, use this to delineate which mechanic this change applies to. | String | optional |
| Body | 1 | A description of the change. | String | required |
| Value before | 2 | The value before this change. Only use this for changes in stats. | String | optional |
| Value after | 3 | The value after this change. Only use this for changes in stats. | String | optional |
| Text in parentheses | 4 | Displays text in parentheses after the values before and after. (This text should not be capitalized.) | String | optional |
| Undocumented? | undoc | Labels this change as undocumented. | Boolean | optional |
| Bug? | bug | Labels this change as the result of a bug. | Boolean | optional |
| Bug fix? | fix | Labels this change as a bug fix. | Boolean | optional |
| Note | note | Displays "Note:" followed by this text on an indented bullet point below the body of the change. | String | optional |
Example usage
{{buff|name=Ability|Damage increased|2|3|bug=y|undoc=y}}
Ability: Damage increased ― 2 → 3 (undocumented) (bug)