Template:Text formatting template (see also): Difference between revisions
Template page
More actions
white background dont hides gray informations e.g. as code background |
simplified |
||
| Line 34: | Line 34: | ||
| colspan="3" | — | | colspan="3" | — | ||
|- | |- | ||
| <code | | <code>X[[:w:en:Help:HTML in wikitext#kbd|<nowiki><kbd></nowiki>]]­teletype[[:w:en:Help:HTML in wikitext#kbd|<nowiki></kbd></nowiki>]]</code> || X<kbd>teletype</kbd> || style="border-right:2px solid #aaa" | [[:w:en:Tag (metadata)|Tags]], not a template yet<sup><small>[[:w:en:Template:Kbd|(en)]]</small></sup> (but used in e.g. {{tl|tld}}) | ||
| colspan="3" | — | | colspan="3" | — | ||
|} | |} | ||
Revision as of 16:10, 14 February 2024
English: This is template is for the navigation between different Text formatting templates.
| 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}}) | — | ||
- Note: The capital
Xin front of each template is used to compare the results to plain text.