Template:Pre/doc

Usage
All parameters are optional:
 * – the text to present (may include markup and templates to expand; note that automatic syntaxhighliting is not supported; the default text is empty).
 * – set alternate colors (in CSS format) to use for distinguighing status of the rendered code: bad, non-working, obsolete, deprecated, unsupported, discouraged, simplified, incomplete, tricky, detailed, supported, recommended, advanced, optional, mandatory, current, future, proposal, untested, beta, approved, rejected, dangerous, problematic, temporary, workaround, alternative, etc.; for passing CSS colors using a compact numeric format starting with a sharp sign  followed by hexadecimal digits (3 or 6 digits for RGB colors, 4 or 8 digits for RGBA colors), you may need to escape it by a leading   empty tag, so that it won't be interpreted by MediaWiki as a numbered list item when it preprocesses parameters given to the template, or use a template generating the color syntax.
 * – CSS width for the generated  parent element (useful in table cells).
 * – one of the values accepted for the CSS  attribute (  by default to preserve newlines in the text given in 1st parameter but still allow wrapping overlong lines, without overflowing the width or using an horizontal scrollbar)