Template:BTDB2 change list by name/doc: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
Created page with "<templatedata> { "params": { "1": { "label": "Name", "description": "The key to use for the Cargo query. Will display a list of changes that contain this key in the \"names\" column with matching capitalization and spacing.", "example": "Bloon send", "type": "string", "required": true }, "header level": { "label": "Header level", "description": "The level of section headers to use for the list.", "example": "4", "type": "number", "def..."
 
mNo edit summary
Line 8: Line 8:
"type": "string",
"type": "string",
"required": true
"required": true
},
"2": {
"label": "Name 2",
"description": "A second key to use for the Cargo query. If specified, changes containing both the names will be displayed in the query.",
"example": "Round",
"type": "string"
},
},
"header level": {
"header level": {
Line 20: Line 26:
"paramOrder": [
"paramOrder": [
"1",
"1",
"2",
"header level"
"header level"
],
],
"format": "inline"
"format": "inline"
}
}
</templatedata><includeonly>[[Category:Battles 2 templates]][[Category:Changelog templates]]</includeonly><noinclude>[[Category:Documentation]]</noinclude>
</templatedata><includeonly>[[Category:Battles 2 templates]][[Category:Cargo query templates]]</includeonly><noinclude>[[Category:Documentation]]</noinclude>

Revision as of 03:20, 23 December 2024

Uses Cargo to generate a list of changes that apply to a specific key.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Name1

The key to use for the Cargo query. Will display a list of changes that contain this key in the "names" column with matching capitalization and spacing.

Example
Bloon send
Stringrequired
Name 22

A second key to use for the Cargo query. If specified, changes containing both the names will be displayed in the query.

Example
Round
Stringoptional
Header levelheader level

The level of section headers to use for the list.

Default
3
Example
4
Numberoptional