Template:Pre

From Frontierpedia, the Microsoft Agent encyclopedia
Revision as of 16:08, 22 September 2007 by en>Komusou (" {{#ifeq:{{SUBPAGENAME}} | sandbox " code, {{pp-semi-protected| small=yes | reason=No need for such template to be anon-editable. }}, and Category:Templates using ParserFunctions)
Pre-formatted text
looks like this.

Usage

{{Pre|
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.

Template:Pp-semi-protected