Template:ttn
From cppreference.com
{{{1}}}
Adds formatting to the enclosed text:
Usage | Description | Resulting HTML/MediaWiki elements | Preview |
---|---|---|---|
{{tt|text}} | text in monospace font | <code>
|
text
|
{{ttb|text}} | text in bold monospace font | <code><b>
|
text
|
{{tti|text}} | text in italic monospace font | <code><i>
|
text
|
{{normal|text}} | text in normal font weight | ... font-weight: normal; ...
|
text |
{{ttn|text}} | text in monospace font of normal weight | {{normal|<code> text</code>}}
|
text
|
{{ttni|text}} | text in italic monospace font of normal weight | {{normal|<code><i> text</i></code>}}
|
text
|
{{petty|text}} | small-ish text | <small>
|
text |
{{small|text}} | small text | ... font-size: 0.7em; line-height: 130%; ...
|
text |
{{smalltt|text}} | small text in monospace font | {{small|<code> text</code>}}
|
text
|
{{sub|text}} | subscripted text in normal font | <sub>
|
text |
{{sup|text}} | superscripted text in normal font | <sup>
|
text |
{{p|text}} | text in a new paragraph | <p>text</p>
|
text |
The above documentation is transcluded from Template:tt/doc. (edit | history) Subpages of this template. |