Template:BTD6 mm/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..."
 
No edit summary
 
Line 8: Line 8:
"type": "number",
"type": "number",
"suggested": true
"suggested": true
},
"2": {
"label": "Amount 2",
"description": "Adds a second amount and displays it as a range of values (such as \"100–200\").",
"type": "number"
},
},
"name": {
"name": {
"label": "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.",
"description": "Adds the text \"Monkey Money\" after the icon and amount (if the amount is specified).",
"example": "y",
"type": "boolean"
"type": "boolean"
},
},
Line 19: Line 23:
"description": "If set to anything, adds an icon for the \"Mo' Monkey Money\" Knowledge and the amount multiplied by 1.1 in parentheses.",
"description": "If set to anything, adds an icon for the \"Mo' Monkey Money\" Knowledge and the amount multiplied by 1.1 in parentheses.",
"example": "y",
"example": "y",
"type": "boolean"
},
"size": {
"label": "Icon size",
"type": "string",
"default": "x20px"
},
"link": {
"label": "Link",
"description": "If \"Name\" is enabled, enabling this turns the name into a link.",
"type": "boolean"
"type": "boolean"
}
}
Line 25: Line 39:
"paramOrder": [
"paramOrder": [
"1",
"1",
"2",
"name",
"name",
"mk"
"link",
"mk",
"size"
],
],
"format": "inline"
"format": "inline"