Template:Text formatting template (see also): Difference between revisions
Template page
More actions
I am not sure which one to which |
m table format |
||
| Line 5: | Line 5: | ||
|- | |- | ||
! colspan="3" style="border-right:2px solid #aaa" | | ! colspan="3" style="border-right:2px solid #aaa" | | ||
! colspan="3" | | ! colspan="3" | “Partner” template | ||
|- | |- | ||
! Code !! Renders as !! style="border-right:2px solid #aaa" | Notes | ! Code !! Renders as !! style="border-right:2px solid #aaa" | Notes | ||
| Line 11: | Line 11: | ||
|- | |- | ||
| <code>X{{tlx|Exp|superscript text}}</code> || X{{exp|superscript text}} || style="border-right:2px solid #aaa" | {{Warnsign|}} Don't use {{tl|sup}} which links to {{tl|support}} | | <code>X{{tlx|Exp|superscript text}}</code> || X{{exp|superscript text}} || style="border-right:2px solid #aaa" | {{Warnsign|}} Don't use {{tl|sup}} which links to {{tl|support}} | ||
| <code>X{{tlx|Smallsup|small superscript text}}</code> || X{{Smallsup|small superscript text}} || with small text | | <code>X{{tlx|Smallsup|small superscript text}}</code> || X{{Smallsup|small superscript text}} || with small text | ||
|- | |- | ||
| <code>X{{tlx|Sub|subscript text}}</code> || X{{Sub|subscript text}} || style="border-right:2px solid #aaa" | | | <code>X{{tlx|Sub|subscript text}}</code> || X{{Sub|subscript text}} || style="border-right:2px solid #aaa" | | ||
| <code>X{{tlx|Smallsub|small subscript text}}</code> || X{{Smallsub|small subscript text}} || with small text | | <code>X{{tlx|Smallsub|small subscript text}}</code> || X{{Smallsub|small subscript text}} || with small text | ||
|- | |- | ||
| colspan="3" style="border-right:2px solid #aaa" | | | colspan="3" style="border-right:2px solid #aaa" | — | ||
| <code>X{{tlx|Sup sub|superscript|subscript}}</code> || X{{Sup sub|superscript|subscript}} || with small text | | <code>X{{tlx|Sup sub|superscript|subscript}}</code> || X{{Sup sub|superscript|subscript}} || with small text | ||
|- | |- | ||
| Line 26: | Line 26: | ||
|- | |- | ||
| <code>X{{tlx|Overline|overlined}}</code> || X{{Overline|overlined}} || style="border-right:2px solid #aaa" | | | <code>X{{tlx|Overline|overlined}}</code> || X{{Overline|overlined}} || style="border-right:2px solid #aaa" | | ||
| colspan="3" | — | |||
|- | |- | ||
| <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" | — | |||
|- | |- | ||
| <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]]. | ||
| Line 33: | Line 35: | ||
|- | |- | ||
| <code>X{{tlx|Explain|term|explanation}}</code> || X{{Explain|term|explanation}} || style="border-right:2px solid #aaa" | | | <code>X{{tlx|Explain|term|explanation}}</code> || X{{Explain|term|explanation}} || style="border-right:2px solid #aaa" | | ||
| colspan="3" | — | |||
|} | |} | ||
:''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> | <noinclude>[[Category:Text formatting templates|+]]</noinclude> | ||
Revision as of 04:05, 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.