Template:Resize

Revision as of 12:38, 25 March 2017 by m>Jo-Jo Eumerus (Changed protection level for "Template:Resize": Allowing template editors on some templates with full protection dating back to pre-TPROT times which aren't too often or too sensitively used. ([Edit=Require template editor access] (ind...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{{1}}}

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for 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>