Template:Small: Difference between revisions
Template page
More actions
m truth in advertising |
can't start with <span> and end with </small>, use markup working even without CSS |
||
| Line 1: | Line 1: | ||
< | <small style="font-size:85%;">{{{1}}}</small><noinclude> | ||
---- | ---- | ||
'''Example:''' <nowiki>{{</nowiki>small|Example text.}} → {{small|Example text.}} | '''Example:''' <nowiki>{{</nowiki>small|Example text.}} → {{small|Example text.}} | ||
---- | ---- | ||
[[Category:Text formatting templates|{{PAGENAME}}]]<templatedata> | [[Category:Text formatting templates|{{PAGENAME}}]]<templatedata> | ||
{ | { "description": "Shorthand for CSS font-size:85%", | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
"label": "text", | "label": "text", | ||
"description": "< | "description": "<small style=\"font-size:85%;\"> inline text </small>", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
} } }</templatedata></noinclude> | |||
} | |||
</templatedata></noinclude> | |||
Revision as of 21:49, 13 January 2015
{{{1}}}
Example: {{small|Example text.}} → Example text.
Shorthand for CSS font-size:85%
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| text | 1 | <small style="font-size:85%;"> inline text </small> | String | required |