Template:Pre/doc

From Ava Zinn Wiki
< Template:Pre
Revision as of 12:22, 22 September 2007 by Komusou (talk) (moved doc there, {{Template doc page transcluded}})
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Template:Template doc page viewed directly

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.