Template:BTD5 token/doc: Difference between revisions

Created page with "<templatedata> { "params": { "1": { "label": "Amount", "description": "If specified, displays a comma-separated number.", "example": "100", "type": "number", "suggested": true }, "name": { "label": "Name", "description": "If set to anything, adds a text link to \"Token (BTD5)\" after the icon and (if an amount is specified) amount.", "example": "y", "type": "boolean" } }, "description": "Creates a link to \"Token (BTD5)\" with an ico..."
 
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
"1": {
"1": {
"label": "Amount",
"label": "Amount",
"description": "If specified, displays a comma-separated number.",
"description": "If specified, displays a number after the icon. If greater than 1000, comma separation is added automatically by the template.",
"example": "100",
"example": "100",
"type": "number",
"type": "number",
Line 16: Line 16:
}
}
},
},
"description": "Creates a link to \"Token (BTD5)\" with an icon.",
"description": "Creates an icon of Tokens from the mobile version of Bloons TD 5 that links to \"Token (BTD5)\". Can also display a formatted number.",
"paramOrder": [
"paramOrder": [
"1",
"1",
Line 30: Line 30:
!Result
!Result
|-
|-
|<pre>{{BTD5M token}}</pre>
|<pre>{{BTD5 token}}</pre>
|{{BTD5M token}}
|{{BTD5 token}}
|-
|-
|<pre>{{BTD5M token|9999}}</pre>
|<pre>{{BTD5 token|9999}}</pre>
|{{BTD5M token|9999}}
|{{BTD5 token|9999}}
|-
|-
|<pre>{{BTD5M token|100|name=y}}</pre>
|<pre>{{BTD5 token|100|name=y}}</pre>
|{{BTD5M token|100|name=y}}
|{{BTD5 token|100|name=y}}
|}
|}
<includeonly>[[Category:BTD5 templates]][[Category:Icon templates]]</includeonly><noinclude>[[Category:Documentation]]</noinclude>
<includeonly>[[Category:BTD5 templates]][[Category:Icon templates]]</includeonly><noinclude>[[Category:Documentation]]</noinclude>