Template:Tt/doc: Difference between revisions

+TR
m (Allow for Template:( to be an escape for {. Template:(( has been updated to escape {{.)
(+TR)
Line 8:
{{tt|text to format here}}
 
This template is for formatting short bits of content (the only parameter) as monospaced (nonproportional) text. It is simply a quick shorthand for the necessary CSS code. It is a replacement for {{tag|tt}}, which is an obsolete element under HTML5. ([httphttps://www.w3.org/TR/html5/obsolete.html#non-conforming-features Non-conforming features])
 
This template ''should'' be used where the content is being rendered in monospaced text for purely stylistic/display reasons, where this display has no particular semantic significance.
Line 24:
*123<br/>ABC
 
=== Parameter ===
;{{{1}}} or unnamed
: The content to format as monospaced. If the content contains a <code>=</code> character, <code>{{tl|{{=}}}}</code> must be used instead.
 
 
 
Note: Copied from [[wikipedia:Template:Mono]], renamed to 'tt' because it replaces the tt tag.<br/>
"monospace, monospace" needed per [[wikipedia:Wikipedia:Typography#The_monospace_'bug']]
 
{{doc/end}}<!-- doc copied from wikipedia, edited -->
<noinclude>
[[tr:Şablon:Tt/belge]]
</noinclude>
{{doc/end}}