Difference between revisions of "Template:Resize"
From ChaldeanWiki
m (redundant) |
m (1 revision imported: Assyrian people) |
(No difference)
|
Latest revision as of 16:24, 30 March 2015
{{{1}}}
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Resize
<templatedata>{
"description": "Template to aid switching the font-size used for a text string. Two forms <span style="font-size:<size>;"><text></span> and <text> are possible.",
"params": {
"1": {
"label": "Size/Text",
"description": "Specifies a css font size e.g. '80%', '1.2em', 'x-large', 'larger'. In the one parameter version the first parameter is the text and the font size is '90%'.",
"type": "string",
"required": true
},
"2": {
"label": "Text when size is given",
"description": "The text to display in the two parameter version.",
"type": "string",
"required": false
}
}
} </templatedata>