Template:BTD5 token/doc: Difference between revisions
Jump to navigation
Jump to search
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 |
||
| Line 4: | Line 4: | ||
"1": { | "1": { | ||
"label": "Amount", | "label": "Amount", | ||
"description": "If specified, displays a comma | "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", | ||
Revision as of 19:48, 16 November 2024
Creates a link to "Token (BTD5)" with an icon.
| 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 |
| Name | name | If set to anything, adds a text link to "Token (BTD5)" after the icon and (if an amount is specified) amount.
| Boolean | optional |
Example usage
| Wikitext | Result |
|---|---|
{{BTD5M token}}
|
Template:BTD5M token |
{{BTD5M token|9999}}
|
Template:BTD5M token |
{{BTD5M token|100|name=y}}
|
Template:BTD5M token |