Template:BTDB2 hp: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<span style="margin-right:-20px">[[File:BTDB2 hero xp large.png|x20px|link=Hero Point|Hero Points]]</span>{{#if:{{{hero|}}}|[[File:BTDB2 {{{hero|quincy}}} xp large.png|x20px|link=Hero Point|Hero Points]]}} {{formatnum:{{{1|}}}}}{{#if:{{{name|}}}|<nowiki> </nowiki>[[Hero Point]]s}}</includeonly><noinclude>{{/doc}}</noinclude> | <includeonly><span style="margin-right:-20px">[[File:BTDB2 hero xp large.png|x20px|link=Hero Point|Hero Points]]</span>{{#if:{{{hero|}}}|[[File:BTDB2 {{{hero|quincy}}} xp large.png|x20px|link=Hero Point|Hero Points]]}} {{formatnum:{{{1|}}}}}{{#if:{{{name|}}}|<nowiki> </nowiki>[[Hero Point]]s}}</includeonly><noinclude>{{/doc}}</noinclude> | ||
Revision as of 14:43, 18 November 2024
Creates an icon of Hero Points from Bloons TD Battles 2 that links to "Hero Point". Can also display a formatted number and the head icon of a specific Hero.
| 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 |
| Hero | 2 | If specified, displays the icon of a Hero.
| String | optional |
| Name | name | If set to anything, adds a text link to "Monkey Money" after the icon and (if an amount is specified) amount.
| Boolean | optional |
Example usage
| Wikitext | Result |
|---|---|
{{BTDB2 hp}}
|
|
{{BTDB2 hp|9999}}
|
|
{{BTDB2 hp|100|name=y}}
|
|
{{BTDB2 hp|999|Quincy}}
|
|
{{BTDB2 hp|10|Quincy|name=y}}
|