Difference between revisions of "Template:Resize/TemplateData"

From Second Life Wiki
Jump to navigation Jump to search
(Shamelessly copied from wikipedia.org and adapted for SL Wiki)
 
(No difference)

Latest revision as of 17:38, 25 September 2022

TemplateData

This is the "Wikipedia logo"TemplateData for this template used by TemplateWizard, "Wikipedia logo"VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Resize

{
  "description": "It is to change the font size of a text string. Two forms {{resize|<size>|<text>}} and {{resize|<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
    },
    "div": {
      "label": "Use div tag",
      "description": "Set to yes to use a div instead of a span tag.",
      "type": "string",
      "required": false
    }
  }
}