Template:Standout box

From PCSAR

(Difference between revisions)
Jump to: navigation, search
Current revision (05:54, 23 February 2018) (edit) (undo)
 
(3 intermediate revisions not shown.)
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|rgb(255,255,100)}}};" width="100%">
-
|{{{1}}}
+
<tr><td>{{{1}}}</td></tr>
-
|}
+
</table>
</blockquote></onlyinclude></includeonly>
</blockquote></onlyinclude></includeonly>

Current revision

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