Difference between revisions of "Template:Pre"

m
m
Line 1: Line 1:
<noinclude>[[Category:Utility Templates|{{PAGENAME}}]]</noinclude>
+
<noinclude>{{Template Overview
<pre<includeonly></includeonly> >{{#switch: {{{1}}} | {{{1}}} }}</pre>
+
|usedon=all
 +
|purpose=put text into {{Monospace|<nowiki><pre></pre></nowiki>}} tags
 +
|template=<nowiki>{{Pre| }}</nowiki>
 +
}}
 +
{{Template Parameter
 +
|name=1
 +
|usage=mandatory
 +
|takes=a string or strings
 +
|denotes=the text to be placed in the {{Monospace|<nowiki><pre></pre></nowiki>}} tags
 +
|generates=the actual displayed text
 +
|validvalues=Any string or strings.
 +
}}
 +
[[Category:Utility Templates|{{PAGENAME}}]]</noinclude><pre<includeonly></includeonly> >{{#switch: {{{1}}} | {{{1}}} }}</pre>

Revision as of 22:28, 26 November 2009

Template:Pre is designed for use on all pages to put text into <pre></pre> tags.

Template

{{Pre| }}

Parameters

[[Category:{{{category}}} Templates|Pre]]

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}}}