Template:Pre

From Valve Developer Community
Revision as of 12:05, 6 October 2011 by Mattshu (talk | contribs) (This all works except the border color isn't changing. Not sure why?)
Jump to navigation Jump to search
{{{1}}}

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.