Template:BTD6 mm/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 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 \"Monkey Money\" after the icon and (if an amount is specified) amount.", "example": "y", "type": "bo..."
 
No edit summary
 
Line 8: Line 8:
"type": "number",
"type": "number",
"suggested": true
"suggested": true
},
"2": {
"label": "Amount 2",
"description": "Adds a second amount and displays it as a range of values (such as \"100–200\").",
"type": "number"
},
},
"name": {
"name": {
"label": "Name",
"label": "Name",
"description": "If set to anything, adds a text link to \"Monkey Money\" after the icon and (if an amount is specified) amount.",
"description": "Adds the text \"Monkey Money\" after the icon and amount (if the amount is specified).",
"example": "y",
"type": "boolean"
"type": "boolean"
},
},
Line 19: Line 23:
"description": "If set to anything, adds an icon for the \"Mo' Monkey Money\" Knowledge and the amount multiplied by 1.1 in parentheses.",
"description": "If set to anything, adds an icon for the \"Mo' Monkey Money\" Knowledge and the amount multiplied by 1.1 in parentheses.",
"example": "y",
"example": "y",
"type": "boolean"
},
"size": {
"label": "Icon size",
"type": "string",
"default": "x20px"
},
"link": {
"label": "Link",
"description": "If \"Name\" is enabled, enabling this turns the name into a link.",
"type": "boolean"
"type": "boolean"
}
}
Line 25: Line 39:
"paramOrder": [
"paramOrder": [
"1",
"1",
"2",
"name",
"name",
"mk"
"link",
"mk",
"size"
],
],
"format": "inline"
"format": "inline"

Latest revision as of 05:39, 13 September 2025

Creates an icon of Monkey Money from Bloons TD 6 that links to "Monkey Money". Can also display a formatted number and the amount when affected by Mo' Monkey Money.

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
Amount 22

Adds a second amount and displays it as a range of values (such as "100–200").

Numberoptional
Namename

Adds the text "Monkey Money" after the icon and amount (if the amount is specified).

Booleanoptional
Linklink

If "Name" is enabled, enabling this turns the name into a link.

Booleanoptional
MKmk

If set to anything, adds an icon for the "Mo' Monkey Money" Knowledge and the amount multiplied by 1.1 in parentheses.

Example
y
Booleanoptional
Icon sizesize

no description

Default
x20px
Stringoptional

Example usage

Wikitext Result
{{BTD6 mm}}
Monkey Money
{{BTD6 mm|9999}}
Monkey Money 9,999
{{BTD6 mm|100|name=y}}
Monkey Money 100 Monkey Money
{{BTD6 mm|100|mk=y}}
Monkey Money 100 ( 110)
{{BTD6 mm|100|name=y|mk=y}}
Monkey Money 100 Monkey Money ( 110)