Template:Pre

From Valve Developer Community
Revision as of 12:06, 6 October 2011 by Mattshu (talk | contribs) (Scratch that, it just wasn't working in Show preview.)
Jump to navigation Jump to search
{{{1}}}

Usage

Adds more functionality to the existing message box obtainable by adding one space before text.

This is the default box. This is produced by adding one space to the beginning of this line.
It also works by adding an HTML <code><pre></code> tag.

The syntax for the {{pre}} template is:

{{pre
|bgcolor=background color
|bdcolor=border color
|txtcolor=text color
|message
}}
In this example the bgcolor is #555 bdcolor is #FFF and txtcolor is yellow.