Template:Pre
From FORwiki
(Difference between revisions)
m (1 revision) |
|||
(2 intermediate revisions not shown) | |||
Line 2: | Line 2: | ||
}} | }} | ||
</noinclude><div style="border: 1px dashed #2F6FAB; border-bottom:none; margin: 1em 0px 0px 0px; padding: 3px 3px 0.7em 3px; background: #F9F9F9; text-align: right; font-size: 0.5em; line-height: 1ex; color: #2f6fab;{{#if:{{{width|}}}|width: {{{width}}}|}}">[[Template:Pre|pre]]</div> | </noinclude><div style="border: 1px dashed #2F6FAB; border-bottom:none; margin: 1em 0px 0px 0px; padding: 3px 3px 0.7em 3px; background: #F9F9F9; text-align: right; font-size: 0.5em; line-height: 1ex; color: #2f6fab;{{#if:{{{width|}}}|width: {{{width}}}|}}">[[Template:Pre|pre]]</div> | ||
- | <div style="border: 1px dashed #2F6FAB; border-top:none; margin: 0px 0px 1em 0px; padding: 0px 1em 0.8em 1em; background: #F9F9F9; line-height: 2.1ex; color: #000; overflow: auto; white-space: {{{space|auto}}};{{#if:{{{width|}}}|width: {{{width}}}|}}"><TT>{{#if:{{{1|}}}|{{{1}}}| | + | <div style="border: 1px dashed #2F6FAB; border-top:none; margin: 0px 0px 1em 0px; padding: 0px 1em 0.8em 1em; background: #F9F9F9; line-height: 2.1ex; color: #000; overflow: auto; white-space: {{{space|auto}}};{{#if:{{{width|}}}|width: {{{width}}}|}}"><TT>{{#if:{{{1|}}}|{{{1}}}|}}<!-- |
//-->{{#if:{{{2|}}}|{{!}}{{{2}}}|}}<!-- | //-->{{#if:{{{2|}}}|{{!}}{{{2}}}|}}<!-- | ||
//-->{{#if:{{{3|}}}|{{!}}{{{3}}}|}}<!-- | //-->{{#if:{{{3|}}}|{{!}}{{{3}}}|}}<!-- | ||
Line 29: | Line 29: | ||
MAKE ADDITIONS TO THE /doc SUBPAGE INSTEAD, THANKS | MAKE ADDITIONS TO THE /doc SUBPAGE INSTEAD, THANKS | ||
--> | --> | ||
+ | </noinclude> | ||
+ | <noinclude> | ||
+ | [[Category:Templates]] | ||
+ | [[Category:Visual Templates]] | ||
</noinclude> | </noinclude> |
Current revision as of 18:44, 24 December 2009
pre
[edit] [ ]
Template documentation

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.