Template:Text formatting template (see also): Difference between revisions
Template page
More actions
simplified |
+code |
||
| Line 35: | Line 35: | ||
|- | |- | ||
| <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}}) | | <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}}) | ||
| | | <code>X[[:w:en:Help:HTML in wikitext#code|<nowiki><code></nowiki>]]­code[[:w:en:Help:HTML in wikitext#kbd|<nowiki></code></nowiki>]]</code> || X<code>code</code> || [[:w:en:Tag (metadata)|Tags]], not a template yet<sup><small>[[:w:en:Template:Code|(en)]]</small></sup> (but used in e.g. {{tl|tlc}}) | ||
|} | |} | ||
:''Note:'' The capital <code>X</code> in front of each template is used to compare the results to plain text. | :''Note:'' The capital <code>X</code> in front of each template is used to compare the results to plain text. | ||
<noinclude>[[Category:Text formatting templates|+]] | <noinclude>[[Category:Text formatting templates|+]] | ||
[[Category:Commons navigational templates|templates]]</noinclude> | [[Category:Commons navigational templates|templates]]</noinclude> | ||
Revision as of 16:16, 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}}) | 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.