Template:Text formatting template (see also): Difference between revisions
Template page
More actions
+Note |
I am not sure which one to which |
||
| Line 22: | Line 22: | ||
| <code>X{{tlx|Small|small text}}</code> || X{{Small|small text}} || font size 85% | | <code>X{{tlx|Small|small text}}</code> || X{{Small|small text}} || font size 85% | ||
|- | |- | ||
| <code>X{{tlx|Font-size|120%|font-size 120%}}</code> || X{{Font-size|120%|font-size 120%}} || style="border-right:2px solid #aaa; text-align:right" | ''could maybe be merged | | <code>X{{tlx|Font-size|120%|font-size 120%}}</code> || X{{Font-size|120%|font-size 120%}} || style="border-right:2px solid #aaa; text-align:right" | ''← could maybe be merged →'' | ||
| <code>X{{tlx|Resize|120%|font-size 120%}}</code> || X{{Resize|120%|font-size 120%}} || | | <code>X{{tlx|Resize|120%|font-size 120%}}</code> || X{{Resize|120%|font-size 120%}} || | ||
|- | |- | ||
Revision as of 02:53, 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 | ||||
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.