Template:Buff/doc: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
Qwertyxp2000 (talk | contribs)
wording can be improved but it's what it does
Pymonkibot (talk | contribs)
m Text replacement - "[[Bloons TD 6 v" to "[[Update history:Bloons TD 6/Version "
 
(3 intermediate revisions by 2 users not shown)
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. [[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}}
<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": "Adds a colon preceding the text under this parameter's value.",
"type": "string",
"required": false
        }
}
}
</templatedata>


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

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.

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)