Template:BTDB2 hp/doc: Difference between revisions
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..." |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 8: | Line 8: | ||
"type": "number", | "type": "number", | ||
"suggested": true | "suggested": true | ||
}, | |||
"2": { | |||
"label": "Hero", | |||
"description": "If specified, displays the icon of a Hero.", | |||
"example": "Quincy", | |||
"type": "string" | |||
}, | }, | ||
"name": { | "name": { | ||
| Line 14: | Line 20: | ||
"example": "y", | "example": "y", | ||
"type": "boolean" | "type": "boolean" | ||
} | } | ||
}, | }, | ||
"description": "Creates an icon of | "description": "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.", | ||
"paramOrder": [ | "paramOrder": [ | ||
"1", | "1", | ||
" | "2", | ||
" | "name" | ||
], | ], | ||
"format": "inline" | "format": "inline" | ||
| Line 46: | Line 46: | ||
|{{BTDB2 hp|100|name=y}} | |{{BTDB2 hp|100|name=y}} | ||
|- | |- | ||
|<pre>{{BTDB2 hp|999| | |<pre>{{BTDB2 hp|999|Quincy}}</pre> | ||
|{{BTDB2 hp|999| | |{{BTDB2 hp|999|Quincy}} | ||
|- | |- | ||
|<pre>{{BTDB2 hp|10| | |<pre>{{BTDB2 hp|10|Quincy|name=y}}</pre> | ||
|{{BTDB2 hp|10| | |{{BTDB2 hp|10|Quincy|name=y}} | ||
|} | |} | ||
<includeonly>[[Category:Battles 2 templates]][[Category:Icon templates]]</includeonly><noinclude>[[Category:Documentation]]</noinclude> | <includeonly>[[Category:Battles 2 templates]][[Category:Icon templates]]</includeonly><noinclude>[[Category:Documentation]]</noinclude> | ||