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"
},
"hero": {
"label": "Hero",
"description": "If specified, displays the icon of a Hero.",
"example": "Quincy",
"type": "string"
}
}
},
},
"description": "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.",
"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",
"name",
"2",
"hero"
"name"
],
],
"format": "inline"
"format": "inline"
Line 46: Line 46:
|{{BTDB2 hp|100|name=y}}
|{{BTDB2 hp|100|name=y}}
|-
|-
|<pre>{{BTDB2 hp|999|hero=Quincy}}</pre>
|<pre>{{BTDB2 hp|999|Quincy}}</pre>
|{{BTDB2 hp|999|hero=Quincy}}
|{{BTDB2 hp|999|Quincy}}
|-
|-
|<pre>{{BTDB2 hp|10|hero=Quincy|name=y}}</pre>
|<pre>{{BTDB2 hp|10|Quincy|name=y}}</pre>
|{{BTDB2 hp|10|hero=Quincy|name=y}}
|{{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>