Editing Template:Standout box

From PCSAR

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

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

Please note that all contributions to PCSAR are considered to be released under the Attribution-Share Alike 3.0 Unported (see PCSAR:Copyrights for details). If you don't want your writing to be edited mercilessly and redistributed at will, then don't submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!


Cancel | Editing help (opens in new window)
Personal tools