Template:Buff/doc: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
Qwertyxp2000 (talk | contribs)
No edit summary
lst template data
Line 1: Line 1:
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]]).
This template is used on version pages (e.g. [[Bloons TD 6 v48.0]]) to denote balance changes that are favorable to the player (see [[Help:Update history]]).
 
{{#lst:Template:Change/doc|template data}}
<templatedata>
{
"params": {
"1": {
"label": "Details",
"description": "Balance change information",
"type": "string",
"required": true
},
"2": {
"label": "Details",
"description": "Balance change, before",
"type": "string",
"required": false
},
"3": {
"label": "Details",
"description": "Balance change, after",
"type": "string",
"required": false
},
"undoc": {
"label": "Details",
"description": "Marks an undocumented change, via text. Writing any string sets this value true.",
"type": "string",
"required": false
},
"bug": {
"label": "Details",
"description": "Marks a bug, via text. Writing any string sets this value true.",
"type": "string",
"required": false
},
"fix": {
"label": "Details",
"description": "Marks a bug fix, via text. Writing any string sets this value true.",
"type": "string",
"required": false
},
"note": {
"label": "Details",
"description": "Adds a 'Note:' on an indented bulletpoint, plus the string.",
"type": "string",
"required": false
},
"name": {
            "label": "Details",
"description": "Preceding text for the entity involved",
"type": "string",
"required": false
        }
}
}
</templatedata>


==Example usage==
==Example usage==
<pre>
<pre>{{buff|name=Ability|Damage increased|2|3|bug=y|undoc=y}}</pre>
{{buff|Damage increased|2|3|bug=y|undoc=y|name=Ability}}
{{buff|name=Ability|Damage increased|2|3|bug=y|undoc=y}}
</pre>
 
{{buff|Damage increased|2|3|bug=y|undoc=y|name=Ability}}
<includeonly>[[Category:Change templates]]</includeonly><noinclude>[[Category:Documentation]]</noinclude>
<includeonly>[[Category:Change templates]]</includeonly><noinclude>[[Category:Documentation]]</noinclude>

Revision as of 17:13, 4 February 2026

This template is used on version pages (e.g. Bloons TD 6 v48.0) to denote balance changes that are favorable to the player (see Help:Update history).

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Namename

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.

Stringoptional
Body1

A description of the change.

Stringrequired
Value before2

The value before this change. Only use this for changes in stats.

Stringoptional
Value after3

The value after this change. Only use this for changes in stats.

Stringoptional
Text in parentheses4

Displays text in parentheses after the values before and after. (This text should not be capitalized.)

Stringoptional
Undocumented?undoc

Labels this change as undocumented.

Booleanoptional
Bug?bug

Labels this change as the result of a bug.

Booleanoptional
Bug fix?fix

Labels this change as a bug fix.

Booleanoptional
Notenote

Displays "Note:" followed by this text on an indented bullet point below the body of the change.

Stringoptional

Example usage

{{buff|name=Ability|Damage increased|2|3|bug=y|undoc=y}}

Buff Ability: Damage increased ― 2 → 3 (undocumented) (bug)