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.
-->
-->
-
<table style="border:1px #AAA solid; background-color:{{{colour|rgb(255,255,100)}};" width="100%">
+
<table style="border:1px #AAA solid; background-color:{{{colour|rgb(255,255,204)}};" width="100%">
<tr><td>{{{1}}}</td></tr>
<tr><td>{{{1}}}</td></tr>
</table>
</table>
</blockquote></onlyinclude></includeonly>
</blockquote></onlyinclude></includeonly>

Revision as of 05:53, 23 February 2018

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