Difference between revisions of "Template:Tt"
Jump to navigation
Jump to search
m (Reverted edits by Learntogether (Talk); changed back to last version by Philip J. Rayment) |
|||
| Line 1: | Line 1: | ||
| − | < | + | <includeonly><tt style="background-color:#f0f0f0"><small>{{{1}}}</small></tt></includeonly><noinclude> |
| − | + | {{lowercase}} | |
| − | < | + | {{TemplateDoc|name=tt|pages=Mainly talk pages|purpose=Formatting text as explained below|cat=}} |
| − | + | {{Parms| | |
| − | + | {{Parm|1|The text to format|yes|}} | |
| − | + | }} | |
| − | + | 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: |
| + | :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.) | ||
| + | </noinclude> | ||
Revision as of 07:09, July 26, 2007
| Template: tt | |
|---|---|
| Use on | Mainly talk pages |
| Use for | Formatting text as explained below |
| Category template applies to page | (none) |
| Template Parameters (See using templates). | |||
|---|---|---|---|
| Name | Purpose | Required? | Comment |
| 1 | The text to format | yes | |
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:
- To use this template with the text "Hello", type {{tt|Hello}}.
(This template takes its name from the HTML <tt> tag.)