Template:BTDB2 hp/doc

Revision as of 14:46, 18 November 2024 by Polavux (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Creates an icon of a Hero Point from Bloons TD Battles 2 that links to "Hero Point". Can also display a formatted number and the head icon of a specific Hero.

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 "Monkey Money" after the icon and (if an amount is specified) amount.

Example
y
Booleanoptional
Herohero

If specified, displays the icon of a Hero.

Example
Quincy
Stringoptional

Example usage

Wikitext Result
{{BTDB2 hp}}
Hero Points
{{BTDB2 hp|9999}}
Hero Points 9,999
{{BTDB2 hp|100|name=y}}
Hero Points 100 Hero Points
{{BTDB2 hp|999|hero=Quincy}}
Hero Points 999
{{BTDB2 hp|10|hero=Quincy|name=y}}
Hero Points 10 Hero Points