Template:BTDB2 bb/doc: Difference between revisions
Jump to navigation
Jump to search
Created page with "<templatedata> { "params": { "1": { "label": "Amount", "description": "If specified, displays a number after the icon. If greater than 1000, comma separation is added automatically by the template.", "example": "100", "type": "number", "suggested": true }, "name": { "label": "Name", "description": "If set to anything, adds a text link to \"Bloon Bot\" after the icon and (if an amount is specified) amount. Rendered as \"Bloon Bots\" if the amou..." |
mNo edit summary |
||
| Line 16: | Line 16: | ||
} | } | ||
}, | }, | ||
"description": "Creates | "description": "Creates a reward icon of the Bloon Bot from Bloons TD Battles 2 that links to \"Bloon Bot (Battles 2)\". Can also display a formatted number.", | ||
"paramOrder": [ | "paramOrder": [ | ||
"1", | "1", | ||
Latest revision as of 05:10, 8 January 2025
Creates a reward icon of the Bloon Bot from Bloons TD Battles 2 that links to "Bloon Bot (Battles 2)". Can also display a formatted number.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Amount | 1 | If specified, displays a number after the icon. If greater than 1000, comma separation is added automatically by the template.
| Number | suggested |
| Name | name | If set to anything, adds a text link to "Bloon Bot" after the icon and (if an amount is specified) amount. Rendered as "Bloon Bots" if the amount is greater than 1 or no amount is specified.
| Boolean | optional |
Example usage
| Wikitext | Result |
|---|---|
{{BTDB2 bb}}
|
|
{{BTDB2 bb|9999}}
|
|
{{BTDB2 bb|1|name=y}}
|
|
{{BTDB2 bb|100|name=y}}
|