Difference between revisions of "Template:Tt"

From Conservapedia
Jump to: navigation, search
m (Reverted edits by Learntogether (Talk); changed back to last version by Philip J. Rayment)
Line 1: Line 1:
<div style="position:absolute;top:0px;left:0px;height:100%;width:100%;background-color:black;color:pink">
+
<includeonly><tt style="background-color:#f0f0f0"><small>{{{1}}}</small></tt></includeonly><noinclude>
[[Image:Hitler6-thumb.jpg|center]]
+
{{lowercase}}
<pre style="background-color:black;color:pink">
+
{{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 backgroundThis is useful, for example, in showing what someone has to type in.
                                                       
+
                                                       
+
                      .                                       
+
,-. . . ,-. ,-. ,-. ,-|   . . ,-. . . ,-. ,-.    ,-,-. ,-. ,-.
+
|  | | | | | | |-' | |    | | | | | | | | | |    | | | ,-| | |  
+
'  `-^ `-| `-| `-' `-^    `-| `-' `-^ ' ' `-|    ' ' ' `-^ ' '
+
        ,|  ,|            /|              ,|                 
+
        `'  `'            `-'              `'                 
+
            .                      .                                      .   
+
. . ,-. . . ' ,-. ,-.    ,-,-. ,-. | , . ,-. ,-.    ,-,-. ,-.    . , , ,-. |-
+
| | | | | |  |  |-'    | | | ,-| |<  | | | | |    | | | |-'    |/|/  |-' | 
+
`-| `-' `-^  '  `-'    ' ' ' `-^ ' ` ' ' ' `-|    ' ' ' `-'    ' '  `-' `'
+
/|                                          ,|                             
+
`-'                                          `'                             
+
     
+
:; ,-.
+
  `-|
+
:; `-'
+
,'   
+
</pre>
+
  
</div>
+
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 03:09, 26 July 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.)