Difference between revisions of "Template:Pre"

m (Protected "Template:Pre" [edit=sysop:move=sysop])
m
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
|usedon=all
 
|usedon=all
 
|purpose=put text into {{Monospace|<nowiki><pre></pre></nowiki>}} tags
 
|purpose=put text into {{Monospace|<nowiki><pre></pre></nowiki>}} tags
 +
|othernotes=It is necessary that this template display at the bottom of this page in order to function properly.
 
|template=<nowiki>{{Pre| }}</nowiki>
 
|template=<nowiki>{{Pre| }}</nowiki>
 +
|category=Utility
 
}}
 
}}
 
{{Template Parameter
 
{{Template Parameter
Line 12: Line 14:
 
|validvalues=Any string or strings.
 
|validvalues=Any string or strings.
 
}}
 
}}
[[Category:Utility Templates|{{PAGENAME}}]]</noinclude><pre<includeonly></includeonly> >{{#switch: {{{1}}} | {{{1}}} }}</pre>
+
</noinclude><pre<includeonly></includeonly> >{{#switch: {{{1}}} | {{{1}}} }}</pre>

Latest revision as of 08:27, 28 December 2009

Template:Pre is designed for use on all pages to put text into <pre></pre> tags. It is necessary that this template display at the bottom of this page in order to function properly.

Template

{{Pre| }}

Parameters

1

  • Usage: Mandatory
  • Description: The 1 parameter takes a string or strings denoting the text to be placed in the <pre></pre> tags. This is used to generate the actual displayed text.
  • Valid Value(s): Any string or strings.
{{{1}}}