Template:Standout box

From PCSAR

(Difference between revisions)
Jump to: navigation, search
(New page: <noinclude> This template is designed to display a box that highlights important information. It's typically used at the start of a page. Example usage: <pre> {{Standout box|This page ma...)
Line 1: Line 1:
-
<noinclude>
+
<noinclude>{{documentation}}<noinclude><includeonly><onlyinclude><blockquote>
-
This template is designed to
+
-
display a box that highlights important information.
+
-
It's typically used at the start of a page.
+
-
 
+
-
Example usage:
+
-
<pre>
+
-
{{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.}}
+
-
</pre>
+
-
 
+
-
Results:
+
-
 
+
-
{{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.}}
+
-
 
+
-
 
+
-
The <code>colour</code> attribute can be an html colour name, or a six-digit RGB code of the form: <code>#AAFF00</code>.
+
-
 
+
-
Edit this page and examine the ''include only'' section to see how this template works.
+
-
 
+
-
<noinclude><includeonly><onlyinclude><blockquote>
+
<!-- width="100%" apparently required by Microsoft Internet Explorer 8 (bug?) as seen on Mary-Ann Warren's computer.
<!-- width="100%" apparently required by Microsoft Internet Explorer 8 (bug?) as seen on Mary-Ann Warren's computer.
Otherwise text appears as long column, one word per line.
Otherwise text appears as long column, one word per line.

Revision as of 05:09, 22 February 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