Template:Resize
From Wikireedia
{{{1}}}
For other uses, see Resize (disambiguation).
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |
Contents |
TemplateData
Inserts a brief header for the template data section. Adds the page to Category:TemplateData documentation.
Usage
==TemplateData== or ==Parameters== or ==Usage== {{TemplateDataHeader}} <templatedata>{ ... }</templatedata>
Use {{TemplateDataHeader|Template name}}
if you want an alternative name for the template to be displayed.
Parameters
Template loop detected: Template:TemplateDataHeader <templatedata>{
"description": "Inserts a brief header for the template data section. Adds the page to", "params": { "1": { "label": "Template name", "description": "The name of the template to display. Default is Resize.", "type": "string", "required": false } }
}</templatedata>
See also
<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>