Template:IndentPre

From The Elder Scrolls Construction Set Wiki

Article Is Unfinished

This article has been marked by editors or authors as incomplete. Please see the Talk page for details. Discussion and collaboration can improve an article and lead to a better Wiki.

Warning: Article May Contain Errors

This article is believed to contain incorrect or misleading information. Please see the Talk page for details. If you can correct the article, please do so.

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.
Personal tools