Template:Pre: Difference between revisions

From Frontierpedia, the Microsoft Agent encyclopedia
en>Down10
m (changed font to 'monospace' (the user-defined fixed-width browser default))
en>David Kernow
(category)
Line 29: Line 29:
See the [[Template talk:Pre|Talk page]] for examples of use and further information.
See the [[Template talk:Pre|Talk page]] for examples of use and further information.


[[Category:Wikipedia special effects templates|Pre]]</noinclude>
 
[[Category:Formatting templates|{{PAGENAME}}]]
</noinclude>

Revision as of 13:25, 16 February 2007

Pre-formatted text looks like this.

This template mimics the appearance of <pre></pre> tags. Main differences include:

  • It allows mid-line-breaks
  • Dissallows the text to overflow the page.
  • Due to limitations, if the parameter contains any HTML or other Wikimarkup, it will be rendered as such. Thus if a parameter might contain any Wikitext, enclose it manually in <nowiki></nowiki> tags.

See the Talk page for examples of use and further information.