Template:Small: Difference between revisions
Template page
More actions
m Robot: Adding ar, da, ka, pl, pt, ro, ru, zh-yue |
unified |
||
| (9 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
<small style=" | <small style="font-size:85%;">{{{1}}}</small><noinclude> | ||
---- | |||
'''Example:''' <nowiki>{{</nowiki>small|Example text.}} → {{small|Example text.}} | |||
==See also== | |||
{{Text formatting template (see also)}} | |||
- | <templatedata> | ||
{ "description": "Shorthand for CSS font-size:85%", | |||
"params": { | |||
"1": { | |||
"label": "text", | |||
"description": "<small style=\"font-size:85%;\"> inline text </small>", | |||
"type": "string", | |||
"required": true | |||
} } }</templatedata> | |||
[[Category:Text formatting templates|{{PAGENAME}}]] | [[Category:Text formatting templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 02:31, 13 February 2024
{{{1}}}
Example: {{small|Example text.}} → Example text.
See also
| Code example | Renders as | Notes | Code example | Renders as | Notes |
|---|---|---|---|---|---|
X{{Exp|superscript text}} |
Xsuperscript text | X{{Smallsup|small superscript text}} |
Xsmall superscript text | with smaller text | |
X{{Sub|subscript text}} |
Xsubscript text | X{{Smallsub|small subscript text}} |
Xsmall subscript text | with smaller text | |
| — | X{{Sup sub|superscript|subscript}} |
Xsuperscriptsubscript | with smaller text | ||
X{{Big|big text}} |
Xbig text | X{{Small|small text}} |
Xsmall text | Font size 85% | |
X{{Font-size|120%|font-size 120%}} |
Xfont-size 120% | ← could maybe be merged → | X{{Resize|120%|font-size 120%}} |
Xfont-size 120% | |
X{{Overline|overlined}} |
Xoverlined | — | |||
X{{Explain|term|explanation}} |
Xterm | — | |||
X{{Mark|marked text}} |
Xmarked text | Same color as used in diffs. | X{{Highlight|highlighted text|#FF0|green}} |
Xhighlighted text | Multiple format parameters possible |
X{{Small-caps|Small capitals}} |
XSmall capitals | — | |||
X<kbd>teletype</kbd> |
Xteletype | Tags, not a template yet(en) (but used in e.g. {{Tld}}) | X<code>code</code> |
Xcode |
Tags, not a template yet(en) (but used in e.g. {{Tlc}}) |
- Note: The capital
Xin front of each template is used to compare the results to plain text.
Shorthand for CSS font-size:85%
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| text | 1 | <small style="font-size:85%;"> inline text </small> | String | required |