Template:Standout box

From PCSAR

(Difference between revisions)
Jump to: navigation, search
Line 3: Line 3:
Otherwise text appears as long column, one word per line.
Otherwise text appears as long column, one word per line.
-->
-->
-
{| style="border:1px #AAA solid; background-color:{{{colour|#ffffcc}}};" width="100%"
+
<table style="border:1px #AAA solid; background-color:{{{colour|#ffffcc}}};" width="100%">
-
|{{{1}}}
+
<tr><td>{{{1}}}</td></tr>
-
|}
+
</table>
</blockquote></onlyinclude></includeonly>
</blockquote></onlyinclude></includeonly>

Revision as of 21:18, 20 November 2012

This is the documentation for the template Template:Standout box

Template:Standout box/Doc:

The template {{Standout box|colour=...|text}} is designed to display a box that highlights important information. It's typically used at the start of a page.

Example usage:

{{Standout box|This page may contain spoilers.}}

{{Standout box|colour=red|We do not attempt to maintain the accuracy of the information on this page.}}

Results:

This page may contain spoilers.
We do not attempt to maintain the accuracy of the information on this page.


The colour attribute can be an html colour name, or a six-digit RGB code of the form: #AAFF00.


To see how this template is implemented, edit this page and examine the portion between <includeonly> and </includeonly>.

Personal tools