Template:IndentPre

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search


This template can be used to indent preformatted text. The first argument is used to specify the level of indentation, the second is the text that should be indented. The text doesn't have to be included in <pre> tags, prefixing each line with a space is enough.

Example
::Indented text, followed by the template with code
{{IndentPre|2|
  Begin GameMode
    MessageBox "Don't do this" "OK"
  End}}
::And followed by more indented text.

Results in:

Indented text, followed by the template with code
Begin GameMode MessageBox "Don't do this" "OK" End
And followed by more indented text.