Template:BTD5 token/doc: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
Created page with "<templatedata> { "params": { "1": { "label": "Amount", "description": "If specified, displays a comma-separated number.", "example": "100", "type": "number", "suggested": true }, "name": { "label": "Name", "description": "If set to anything, adds a text link to \"Token (BTD5)\" after the icon and (if an amount is specified) amount.", "example": "y", "type": "boolean" } }, "description": "Creates a link to \"Token (BTD5)\" with an ico..."
 
mNo edit summary
Line 4: Line 4:
"1": {
"1": {
"label": "Amount",
"label": "Amount",
"description": "If specified, displays a comma-separated number.",
"description": "If specified, displays a number after the icon. If greater than 1000, comma separation is added automatically by the template.",
"example": "100",
"example": "100",
"type": "number",
"type": "number",

Revision as of 19:48, 16 November 2024

Creates a link to "Token (BTD5)" with an icon.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Amount1

If specified, displays a number after the icon. If greater than 1000, comma separation is added automatically by the template.

Example
100
Numbersuggested
Namename

If set to anything, adds a text link to "Token (BTD5)" after the icon and (if an amount is specified) amount.

Example
y
Booleanoptional

Example usage

Wikitext Result
{{BTD5M token}}
Template:BTD5M token
{{BTD5M token|9999}}
Template:BTD5M token
{{BTD5M token|100|name=y}}
Template:BTD5M token