Template:BTD6 changes/doc: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
No edit summary
more documentation
Line 21: Line 21:
"type": "content",
"type": "content",
"required": true
"required": true
},
"upcoming": {
"label": "Upcoming?",
"description": "If true, these changes will be labelled as \"(upcoming)\" on the page and in cargo queries. Set this to any value to enable it.",
"example": "y",
"type": "boolean"
},
},
"names": {
"names": {
Line 37: Line 31:
"type": "string",
"type": "string",
"required": true
"required": true
},
"show quote": {
"label": "Show quote?",
"description": "If set to \"0\", the quote will not be displayed on this page, but will still be stored and used for cargo queries.",
"type": "boolean"
},
"version note": {
"label": "Version note",
"description": "Adds text in parentheses after the version number in cargo queries. For example, if this change is from a future update, this can be used to specify that the change is \"upcoming\".",
"example": "upcoming",
"type": "string"
},
"priority": {
"label": "Priority",
"description": "Determines the order that changes within each version will be displayed in cargo queries.",
"type": "number"
},
"changes store": {
"label": "Changes store",
"description": "The value in this parameter will be stored in the cargo table instead of the value of the \"changes\" parameter if this is set to anything. This can be used to display a different value on the page this template is used on than on the pages that use cargo queries.",
"type": "string"
}
}
},
},
Line 42: Line 57:
"paramOrder": [
"paramOrder": [
"version",
"version",
"version note",
"quote",
"quote",
"show quote",
"changes",
"changes",
"upcoming",
"changes store",
"names"
"names",
"priority"
],
],
"format": "block"
"format": "block"

Revision as of 03:48, 28 March 2025

This template formats a list of changes and stores it using Cargo. This is a generic template for listing changes to most gameplay features (maps, powers, knowledge, etc). Changes to towers and heroes should use their dedicated changes template instead.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Version numberversion

The version number of these changes. This determines which version header to list these changes under in a Cargo query.

Example
2.0
Numberrequired
Version noteversion note

Adds text in parentheses after the version number in cargo queries. For example, if this change is from a future update, this can be used to specify that the change is "upcoming".

Example
upcoming
Stringoptional
Quotequote

A quote from official patch notes accompanying these changes. The text is formatted as a quotation from "Version <x> update notes".

Example
Glue Rat pet has been overperforming in all game modes for a while now without any apparent weakness or strategic downsides.
Stringoptional
Show quote?show quote

If set to "0", the quote will not be displayed on this page, but will still be stored and used for cargo queries.

Booleanoptional
Changeschanges

A list of changes. This text is copied and transcluded verbatim when using Cargo queries, so you have to format it as an unordered list and use the appropriate buff/nerf/change templates as needed.

Example
*{{nerf|Base movement speed ramping level endures persistently
  • {{change|Max level goggle tightness loosened|Max|Sam}}
Contentrequired
Changes storechanges store

The value in this parameter will be stored in the cargo table instead of the value of the "changes" parameter if this is set to anything. This can be used to display a different value on the page this template is used on than on the pages that use cargo queries.

Stringoptional
Namesnames name

A list of comma-separated names of subjects. This is the "key" used to list changes using Cargo; for example, creating a list of changes with the name "Dark Castle" and querying a list of changes with the name "Dark Castle" will only display changes under the name "Dark Castle". If using multiple names, separate them with commas with one space.

Example
Dreadbloon, Dreadrock Bloon
Stringrequired
Prioritypriority

Determines the order that changes within each version will be displayed in cargo queries.

Numberoptional