Template:Pre/doc

From FORwiki

(Difference between revisions)
Jump to: navigation, search
(Example)
 
(One intermediate revision not shown)
Line 1: Line 1:
 +
''Pre'' mimics the appearance of <nowiki><pre></pre></nowiki> tags as rendered by the monobook skin; it will put your text into box.
 +
 +
== Usage ==
 +
 +
<nowiki>{{Pre|text}}</nowiki>
 +
== Example ==
== Example ==
 +
 +
<nowiki>{{Pre|<P>This Pre-format</P><P>can look</P><P>like this.</P>}}</nowiki>
 +
 +
produces
{{Pre|<P>This Pre-format</P><P>can look</P><P>like this.</P>}}
{{Pre|<P>This Pre-format</P><P>can look</P><P>like this.</P>}}

Current revision as of 17:08, 13 January 2010

Pre mimics the appearance of <pre></pre> tags as rendered by the monobook skin; it will put your text into box.

Usage

{{Pre|text}}

Example

{{Pre|<P>This Pre-format</P><P>can look</P><P>like this.</P>}}

produces

pre

This Pre-format

can look

like this.

Personal tools