Difference between revisions of "Template:Resize/doc"
Jump to navigation
Jump to search
(Created page with "{{Documentation subpage}} <!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{When pagename is | Template:Resize/...") |
m (Kg7qin moved page Template:Bigger/doc to Template:Resize/doc) |
Latest revision as of 10:00, 21 January 2022
This is a documentation subpage for Template:Resize. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 97,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template should not be used in citation templates such as Citation Style 1 and Citation Style 2, because it includes markup that will pollute the COinS metadata they produce; see Wikipedia:COinS. |
Comparison
Template:Resize shortcuts Template:Font size templates
See also
- Category:Resizing templates
- {{smalldiv}}, for wrapping multiple lines of text that cause syntax errors when wrapped by {{resize}} or {{small}}
- font-size - CSS: Cascading Style Sheets | Mozilla Developer Network
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
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 |
Use div tag | div | Set to yes to use a div instead of a span tag. | String | optional |