{{TemplateDoc|name=tt|pages=Mainly talk pages|purpose=Formatting text as explained below|cat=}}
{{TemplateDoc|name=tt|pages=Mainly talk pages|purpose=Formatting text as explained below|cat=}}
Line 5:
Line 5:
{{Parm|1|The text to format|yes|}}
{{Parm|1|The text to format|yes|}}
}}
}}
−
This template formats text as small monospaced text with a lightly-shaded background, and displaying Wiki codes. This is useful, for example, in showing what someone has to type in.
+
This template formats text as small monospaced text with a lightly-shaded background. This is useful, for example, in showing what someone has to type in.
Here is an example:
Here is an example:
−
:To use this template with the text "Hello", type {{tt|{{tt|Hello}}}}.
+
:To use this template with the text "Hello", type {{tt|<nowiki>{{tt|Hello}}</nowiki>}}.
+
+
(This template takes its name from the HTML {{tt|<nowiki><tt></nowiki>}} tag.)