Template:Pretext

From Wikibooks, open books for an open world
Jump to: navigation, search
  • *
  • Preformatted Text *
  • ------------------------ *
  • When used in preformatting *
  • 0 tags with a monospaced font, 0 *
  • 00 this text block and borders 00 *
  • 000 should be straight, with a 000 *
  • 0000 clean left-aligned edge. 0000 *
  • 00000 00000 *
  • 000000 The quick brown fox jumps 000000 *
  • 0000000 over the lazy dog's back. 0000000 *
  • 00000000 The time has come for all 00000000 *
  • 000000000 good men to come to the aid 000000000 *
  • of the party. (1234567890). *
  • *
  • *

Use[edit]

Makes a formatted box with one edge against the left margin, and when displayed in preformatting tags or an equivalent template, the text block is cleanly centered, and the boders are straight. Used for testing preformatted layouts.

Use the templates Prettypre or Prewrap, to handle formatted text in styled layouts. Other text blocks exist; Lorem ipsum, and Text, are both unformatted text blocks.