Template:Indentedpre

From CCARH Wiki
Revision as of 21:54, 15 January 2013 by Craig (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is used to create a pre-styled display, but indented and not extending the colored box all of the way to the right margin. Example:

{{indentedpre|This is some text}}

Which generates this result:

    This is some text
    This is a second line of text
    This is a third line of text
    

Compare to a regular pre: <pre>This is some text</pre> Which generates this style:

This is some text