Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:T\: Difference between revisions

Template page
note that tt is obsolete per HTML 5
doc
Line 1: Line 1:
{{#tag:span|{{{1}}}|style=font-family:monospace,monospace;font-size:1{{#if:{{{2|}}}|{{{2}}}|28}}%;{{{style|}}}}}<noinclude>
{{#tag:span|{{{1}}}|style=font-family:monospace,monospace;font-size:1{{#if:{{{2|}}}|{{{2}}}|28}}%;{{{style|}}}}}<noinclude>{{documentation|content=


This template formats the text to a larger <span style="font-family:monospace,monospace;font-size:128%">teletype</span> style (128%),<br>
This template formats the text to a larger <span style="font-family:monospace,monospace;font-size:128%">teletype</span> style (128%), while the obsolete {{T\|<code><nowiki><tt></nowiki></code>}} displays the <span style="font-family: monospace, monospace;font-size:100%;">teletype</span> always <span style="font-family: monospace, monospace;font-size:100%;">too small</span>.
while the obsolete {{T\|<code><nowiki><tt></nowiki></code>}} displays the <span style="font-family: monospace, monospace;font-size:100%;">teletype</span> always <span style="font-family: monospace, monospace;font-size:100%;">too small</span>.<br>
 
See also the CSS tags <kbd>kbd for "keyboard"</kbd>, or <var>var for variables</var>. <!-- <tt>oooo</tt><var>o</var><kbd>oooo</kbd> -->
See also the CSS tags <kbd>kbd for "keyboard"</kbd>, or <var>var for variables</var>.<!-- <tt>oooo</tt><var>o</var><kbd>oooo</kbd> -->
 
With the teletype font 2×"monospace" the letters  have less difference between {{W|Baseline (typography)|x-height}} and {{W|Baseline (typography)|cap height}}:


With the teletype font 2×"monospace" the letters  have less difference between {{W|Baseline (typography)|x-height}} and {{W|Baseline (typography)|cap heigt}};<br>
compare «m{{T\|m}}m» (128%) with «C{{T\|C}}C» (128%) or «m{{T\|m|14}}m» (114%) with «C{{T\|C|24}}C» (124%) or «C{{T\|C|32}}C» (1'''32'''%)
compare «m{{T\|m}}m» (128%) with «C{{T\|C}}C» (128%) or «m{{T\|m|14}}m» (114%) with «C{{T\|C|24}}C» (124%) or «C{{T\|C|32}}C» (1'''32'''%)
[[Category:Formatting templates|T\]]
[[Category:Formatting templates|T\]]
</noinclude>
}}</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.