Template:Redbox: Difference between revisions

From SpottersWiki
Jump to navigation Jump to search
No edit summary
 
(added template documentation and category)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| align="CENTER" class="boilerplate" style="width:80%; background-color:#FF3333; border:2px solid #990000;  padding:5px;"
{| align="CENTER" class="boilerplate" style="width:80%; background-color:#FF8080; border:2px solid #990000;  padding:5px;"
| width="80" | [[Image:Diamond-caution.png]]
| width="80" | [[Image:Diamond-caution.png]]
| ''{{{1}}}''
| {{{1}}}
|}
|}


<br />
<br /><noinclude>
 
== Usage ==
Use this template to place a warning or any other message that you wish to draw special attention to. It is a more general version of the [[Template:Prohibited|Prohibited template]], for use when your message doesn't fit within the constraints of the existing language. You can actually use this template any time you might use the Prohibited template.
 
The template just provides the red box and diamond/excamation point graphic, it is up to you to supply the text, links, and any special formatting (bold, italics, etc).
 
===Example===
 
<code><nowiki>{{redbox|''This is something important you should know!''}}</nowiki></code>
 
{{redbox|''This is something important you should know!''}}
 
[[Category:Notice templates]]
</noinclude>

Latest revision as of 20:24, 21 December 2018

Diamond-caution.png {{{1}}}


Usage

Use this template to place a warning or any other message that you wish to draw special attention to. It is a more general version of the Prohibited template, for use when your message doesn't fit within the constraints of the existing language. You can actually use this template any time you might use the Prohibited template.

The template just provides the red box and diamond/excamation point graphic, it is up to you to supply the text, links, and any special formatting (bold, italics, etc).

Example

{{redbox|''This is something important you should know!''}}

Diamond-caution.png This is something important you should know!