Template:Small/doc
From Kerbal Space Program Wiki
Error creating thumbnail: /bin/bash: rsvg-convert: command not found |
This is a documentation subpage for Template:Small. It contains usage information, categories and other content that is not part of the original template page. |
Error creating thumbnail: /bin/bash: rsvg-convert: command not found |
This template is used on a very large number of pages. To avoid large-scale disruption and unnecessary server load, any changes to it should first be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can then be added to this page in a single edit. Please consider discussing changes on the talk page before implementing them. |
This template uses material from the Wikipedia template Template:Small/doc, which is released under the Creative Commons Attribution-ShareAlike 3.0 Unported License (view authors). | Error creating thumbnail: /bin/bash: rsvg-convert: command not found |
Usage
This template is a replacement for small. Not all browsers render small at the same size, so this template uses small to use the semantics of small while ensuring that the font renders the same size.
The only parameter is the content and may contain templates, images, etc., if a block needs to be wrapped in this template and contains such elements. Note that if the =
character appears in the content, the parameter must be explicitly specified as |1=
.
- Thus {{small|1=3 + 2 = 5}} produces 3 + 2 = 5
Template data
This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData for Small
<templatedata> {
"description": "A template shortcut for the \"small\" HTML tag that makes the font smaller ", "params": { "1": { "label": "Text", "description": "The text that you'd like to be made smaller", "type": "string", "required": true } }
} </templatedata>
See also