Difference between revisions of "Template:Pre"

m
m
 
Line 4: Line 4:
 
|othernotes=It is necessary that this template display at the bottom of this page in order to function properly.
 
|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 13: 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 09: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}}}