Template:Small/doc
		
		
		
		
		
		Jump to navigation
		Jump to search
		
		
	
Usage
{{small}} is a front-end for the HTML element <small>, which is used to make text smaller.
Parameters
There are 4 parameters, of which 1 is unnamed and required, and the other 3 are named and optional.
Syntax
The template's syntax is
- {{small|custom text |class= |id= |style= }}
Required parameter
1
- Custom text
The text you wish to enclose in <small> tags.
- Usage
- {{small|1}}
Optional parameters
class
- Custom class
Attribute a CSS class to the text string.
- Usage
- {{small|1|class=}}
id
- Custom id
Give the text string a custom id.
- Usage
- {{small|1|id=}}
style
- Custom text styling
You can override the default output styling by using this parameter to specify CSS properties with appropriate values.
- Note
- When entering the CSS properties and values, use the normal format, separating the property from its value with a colon (:), and ending each property:value pair with a semicolon (;), e.g. css-property-1:value; css-property-2:value; css-property-3:value;. But, don't enclose the entry in double quotation marks ("…"). That is done automatically.
- Usage
- {{small|1|style=property-1:value1;property-2:value2;}}
Examples
| Case | What you type | What you see | 
|---|---|---|
| Basic use | {{small|Small text}} | Small text | 
| classandid | {{small|class=string|id=meta1|Small text with meta-informtion}} | Small text with meta-informtion | 
| style | {{small|style=color:green;background-color:#fff0d0;|This small text has been styled}} | This small text has been styled | 
| Wiki-formatting | {{small|You '''can''' ''use'' <u>wiki</u> {{sup|markup}}}}}} | You can use wiki markup | 
See also
- {{abbr}}: inserts <abbr>tags to include a tooltip explanation of an abbreviation.
- {{bdi}}: inserts <bdi>tags to allow for inline changes in text direction.
- {{big}}: inserts <big>tags to make text bigger.
- {{bdo}}: inserts <bdo>tags, forcing inline changes in text direction.
- {{code}}: inserts <code>tags.
- {{mark}}: inserts <mark>tags.
- {{samp}}: inserts <samp>tags.
- {{var}}: inserts <var>tags.
- {{varserif}}: inserts <var>tags with serif font styling.
