Template:Resize: Difference between revisions
Appearance
Created page with "{{#if:{{{2|}}} |<span style="font-size:{{{1|}}};">{{{2|}}}</span> |<span style="font-size:90%;">{{{1}}}</span> }}<noinclude> {{documentation}} {{Resize/TemplateData}} <!--PLEA..." |
(No difference)
|
Latest revision as of 10:52, 21 July 2016
{{#if: | |{{{1}}} }} {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}
TemplateData
[edit]{{#if:| |This is the TemplateData documentation for this template used by VisualEditor and other tools.}}
TemplateData for Resize
{{#ifeq:Resize|sandbox||
}} <templatedata>{
"description": "Template to aid switching the font-size used for a text string. Two forms {{#if:<text>
|<span style="font-size:<size>;"><text> |<size> }} and {{#if: |<span style="font-size:<text>;"> |<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>