Template:BTD6 tower info/doc: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
Qwertyxp2000 (talk | contribs)
No edit summary
No edit summary
 
Line 2: Line 2:
{
{
"params": {
"params": {
"id": {},
"id": {
"order": {},
"label": "ID",
"name": {},
"description": "The internal ID of this tower. (This is not currently displayed and is only used for cargo queries.)",
"image": {},
"type": "string",
"description": {},
"required": true
"description C": {},
},
"category": {},
"order": {
"label": "Order",
"description": "When listing towers with cargo, this determines the order they are listed in.",
"type": "number",
"required": true
},
"name": {
"label": "Name",
"type": "string",
"required": true
},
"image": {
"label": "Image",
"type": "wiki-file-name",
"required": true
},
"description": {
"label": "Description",
"required": true
},
"description C": {
"label": "Description (console)"
},
"category": {
"label": "Tower category",
"type": "string",
"suggestedvalues": [
"Primary",
"Military",
"Magic",
"Support"
],
"required": true
},
"cost": {
"cost": {
"label": "Cost",
"label": "Cost",
Line 20: Line 53:
"type": "number"
"type": "number"
},
},
        "footprint": {},
"hotkey": {
"hotkey": {},
"label": "Default hotkey",
"introduced": {},
"description": "Leave blank if the tower does not have a hotkey assigned by default.",
"hide introduced": {},
"type": "string"
},
"introduced": {
"label": "Introduced",
"description": "The version number of the update this tower was introduced in. Leave blank if the tower was introduced at launch.",
"type": "number"
},
"hide introduced": {
"description": "Hides the \"introduced\" parameter from the infobox. (This only exists for the Monkey Academy page.)",
"type": "boolean"
},
"mk cost reduction name": {
"mk cost reduction name": {
"label": "Flat cost reduction MK name",
"label": "Flat cost reduction MK name",
Line 60: Line 103:
"cost",
"cost",
"cost C",
"cost C",
        "footprint",
"mk cost mod name",
"mk cost mod name",
"mk cost mod",
"mk cost mod",
Line 70: Line 112:
]
]
}
}
</templatedata><includeonly>[[Category:BTD6 templates]][[Category:Infoboxes]]</includeonly><noinclude>[[Category:Incomplete documentation]]</noinclude>
</templatedata>
==Example usage==
{{BTD6 tower info
|id=EngineerMonkey
|order=3
 
|name        =Engineer Monkey
|image        =BTD6 000-EngineerMonkey.png
|description  =Holds a trusty nail-gun to pop the Bloons. Can upgrade to create its own nail-shooting sentry turrets.
|description C=Holds a trusty nail-gun to pop the Bloons. Can upgrade to create its own nail-shooting sentry turrets.
 
|category    =Support
|cost        =350
|cost C      =400
|hotkey      =L
|introduced  =12.0
|introduced C=
}}<pre>{{BTD6 tower info
|id=EngineerMonkey
|order=3
 
|name        =Engineer Monkey
|image        =BTD6 000-EngineerMonkey.png
|description  =Holds a trusty nail-gun to pop the Bloons. Can upgrade to create its own nail-shooting sentry turrets.
|description C=Holds a trusty nail-gun to pop the Bloons. Can upgrade to create its own nail-shooting sentry turrets.
 
|category    =Support
|cost        =350
|cost C      =400
|hotkey      =L
|introduced  =12.0
|introduced C=
}}</pre><includeonly>[[Category:BTD6 templates]][[Category:Infoboxes]]</includeonly><noinclude>[[Category:Documentation]]</noinclude>

Latest revision as of 21:35, 17 September 2025

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
IDid

The internal ID of this tower. (This is not currently displayed and is only used for cargo queries.)

Stringrequired
Orderorder

When listing towers with cargo, this determines the order they are listed in.

Numberrequired
Namename

no description

Stringrequired
Imageimage

no description

Filerequired
Descriptiondescription

no description

Unknownrequired
Description (console)description C

no description

Unknownoptional
Tower categorycategory

no description

Suggested values
Primary Military Magic Support
Stringrequired
Costcost

The cost of the tower. (Leave this blank if the tower is an easter egg tower like the Cave Monkey.)

Example
200
Numberoptional
Cost (console)cost C

The cost in the console version. (Currently not used)

Numberoptional
Cost multiplier MK namemk cost mod name

If this tower has Monkey Knowledge that reduces its cost by a multiplier (AND IS NOT A MILITARY TOWER), this parameter should be set to its name.

Default
Flat Pack Buildings
Stringoptional
Cost multiplier MK amountmk cost mod

If this tower has Monkey Knowledge that reduces its cost by a multiplier (AND IS NOT A MILITARY TOWER), this parameter should be set to the multiplier (as a decimal number).

Default
0.98
Numberoptional
Flat cost reduction MK namemk cost reduction name

If this tower has Monkey Knowledge that reduces its cost by a flat amount, this parameter should be set to its name.

Example
Cheap 'Rangs
Stringoptional
Flat cost reduction MK amountmk cost reduction

If this tower has Monkey Knowledge that reduces its cost by a flat amount, this parameter should be set to its amount (as a positive integer).

Example
50
Numberoptional
Default hotkeyhotkey

Leave blank if the tower does not have a hotkey assigned by default.

Stringoptional
Introducedintroduced

The version number of the update this tower was introduced in. Leave blank if the tower was introduced at launch.

Numberoptional
hide introducedhide introduced

Hides the "introduced" parameter from the infobox. (This only exists for the Monkey Academy page.)

Booleanoptional

Example usage

Engineer Monkey
Holds a trusty nail-gun to pop the Bloons. Can upgrade to create its own nail-shooting sentry turrets.
Category Support
Cost $300 — Easy
$350 — Medium
$380 — Hard
$420 — Impoppable
Hotkey L
Introduced Version 12.0
{{BTD6 tower info
|id=EngineerMonkey
|order=3

|name         =Engineer Monkey
|image        =BTD6 000-EngineerMonkey.png
|description  =Holds a trusty nail-gun to pop the Bloons. Can upgrade to create its own nail-shooting sentry turrets.
|description C=Holds a trusty nail-gun to pop the Bloons. Can upgrade to create its own nail-shooting sentry turrets.

|category    =Support
|cost        =350
|cost C      =400
|hotkey      =L
|introduced  =12.0
|introduced C=
}}