Template:Resize: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Closedmouth m Changed protection level of Template:Resize: Highly visible template ([edit=sysop] (indefinite) [move=sysop] (indefinite)) |
meta>Salix alba have templatedata as a separate file |
||
| Line 4: | Line 4: | ||
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
{{Template:Resize/TemplateData}} | |||
<!--PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS--> | <!--PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS--> | ||
</noinclude> | </noinclude> | ||
Revision as of 20:25, 28 July 2013
{{{1}}} Lua error in package.lua at line 80: module 'Module:Documentation/config' not found.
TemplateData
This is the TemplateData for this template, used by TemplateWizard, VisualEditor and other tools.
TemplateData for Resize
TemplateData for Resize
It is to change the font size of a text string. Two forms {{resize|<size>|<text>}} and {{resize|<text>}} are possible.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Size/Text | 1 | 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%'. | String | required |
| Text when size is given | 2 | The text to display in the two parameter version. | String | optional |