Template:Text formatting template (see also): Difference between revisions
Template page
More actions
m table format |
Tags, not a template yet but in en w:en:Template:Kbd |
||
| Line 30: | Line 30: | ||
| <code>X{{tlx|Small-caps|Small capitals}}</code> || X{{Small-caps|Small capitals}} || style="border-right:2px solid #aaa" | | | <code>X{{tlx|Small-caps|Small capitals}}</code> || X{{Small-caps|Small capitals}} || style="border-right:2px solid #aaa" | | ||
| colspan="3" | — | | colspan="3" | — | ||
|- | |||
| <code><nowiki><kbd>teletype</kbd></nowiki></code> || <kbd>teletype</kbd> || [[:w:en:Help:HTML in wikitext#kbd|Tags]], not a template yet<sup><small>[[:w:en:Template:Kbd|(en)]]</small></sup> (but used in e.g. {{tl|tld}}) | |||
| | |||
|- | |- | ||
| <code>X{{tlx|Mark|marked text}}</code> || X{{Mark|marked text}} || style="border-right:2px solid #aaa" | Same color as used in [[m:Help:diff|diffs]]. | | <code>X{{tlx|Mark|marked text}}</code> || X{{Mark|marked text}} || style="border-right:2px solid #aaa" | Same color as used in [[m:Help:diff|diffs]]. | ||
Revision as of 04:36, 13 February 2024
| “Partner” template | |||||
|---|---|---|---|---|---|
| Code | Renders as | Notes | Code | Renders as | Notes |
X{{Exp|superscript text}} |
Xsuperscript text | X{{Smallsup|small superscript text}} |
Xsmall superscript text | with small text | |
X{{Sub|subscript text}} |
Xsubscript text | X{{Smallsub|small subscript text}} |
Xsmall subscript text | with small text | |
| — | X{{Sup sub|superscript|subscript}} |
Xsuperscriptsubscript | with small 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{{Small-caps|Small capitals}} |
XSmall capitals | — | |||
<kbd>teletype</kbd> |
teletype | Tags, not a template yet(en) (but used in e.g. {{Tld}}) | |||
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{{Explain|term|explanation}} |
Xterm | — | |||
- Note: The capital
Xin front of each template is used to compare the results to plain text.