Template:BTD6 tower info/doc: Difference between revisions
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" | ||
}, | }, | ||
"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", | ||
"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: | </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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | id | The internal ID of this tower. (This is not currently displayed and is only used for cargo queries.) | String | required |
| Order | order | When listing towers with cargo, this determines the order they are listed in. | Number | required |
| Name | name | no description | String | required |
| Image | image | no description | File | required |
| Description | description | no description | Unknown | required |
| Description (console) | description C | no description | Unknown | optional |
| Tower category | category | no description
| String | required |
| Cost | cost | The cost of the tower. (Leave this blank if the tower is an easter egg tower like the Cave Monkey.)
| Number | optional |
| Cost (console) | cost C | The cost in the console version. (Currently not used) | Number | optional |
| Cost multiplier MK name | mk 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.
| String | optional |
| Cost multiplier MK amount | mk 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).
| Number | optional |
| Flat cost reduction MK name | mk 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.
| String | optional |
| Flat cost reduction MK amount | mk 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).
| Number | optional |
| Default hotkey | hotkey | Leave blank if the tower does not have a hotkey assigned by default. | String | optional |
| Introduced | introduced | The version number of the update this tower was introduced in. Leave blank if the tower was introduced at launch. | Number | optional |
| hide introduced | hide introduced | Hides the "introduced" parameter from the infobox. (This only exists for the Monkey Academy page.) | Boolean | optional |
Example usage
| Engineer Monkey | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
| ||||||||||||||||
{{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=
}}