Template:TRS-style/doc

Usage
This template is used to set an uniform appearance on Trainz Projects, their Admin and template pages.
 * It presents the same color (as seen here as background) for all such pages, normally used in a  manner.


 * but will take parameters 1, 2, or 3 and expand the formatting withing the quoted style when given such parameters (i.e. etc.).

"background:; border:; padding:;}};font-face:; font-size:; ;;;"
 * Internal logic (output)

EXTENDED MODES

 * The template will also take stock formatting parameters BG, B, M, or P to define respectively: 'background', 'border', 'margin' and 'padding' HTML commands. THESE FOUR contain the prefix words just listed with the colon, so only define the desired variables.

Contrast with, parameters which must contain the whole HTML format command including the colons.) Note strings passed to these appear later on the style string command, and may override default behavior or BG–P differently in different browsers if they overlap commands. (i.e. Unpredictable behavior, so don't provide a conflict!) The 'box' switch parameter selects an alternative default mode for inside tables, especially message boxes. P and M can still be used to override individually. It merely saves some typing and gives a predictable behavior and a uniform look.


 * text appears like