Template:BTD6 tower info/doc: Difference between revisions
No edit summary |
No edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| 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": {}, | "hotkey": { | ||
"introduced": {}, | "label": "Default hotkey", | ||
"hide introduced": {}, | "description": "Leave blank if the tower does not have a hotkey assigned by default.", | ||
"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 68: | 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> | |||