Difference between revisions of "Template:Resize/TemplateData"
[http://www.nga.gov/content/ngaweb/research/casva/research-projects.html A Project of the National Gallery of Art, Center for Advanced Study in the Visual Arts ]
Emily Pugh (talk | contribs) m (1 revision) |
(No difference)
|
Latest revision as of 20:43, September 10, 2013
TemplateData
This is the TemplateData documentation for the template used by the new VisualEditor.
Resize <templatedata>{
"description": "Template to aid switching the font-size used for a text string. Two forms <span style="font-size:<size>;"><text> 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>