Template:Notice
Contents
Purpose
This template creates a standard notice box, which can be used as totally custom notices or to simplify other notice boxes. By default, this template creates a stand-alone message.
Usage
To use this template, type: {{Notice|text= |subtext= |textcolor= |bordercolor= }}
- Text — This is the main, one or two word, message for the notice.
- Subtext — This is a short text summary of the message. Appears when hovering over the main text.
- Textcolor — This is the color of the main message. Defaults to black if left blank.
- Bordercolor — This is the color of the inner border of the notice. Defaults to whatever the outer border is if left blank.
Use Template:Notice/Start and Template:Notice/End to wrap some content. The notice will have a "hide/show" button to toggle visibility of this content. Template:Notice/Start accepts the parameters as Template:Notice.
Example 1
Code:
{{Notice |text= Adult Warning! |subtext= May contain content that is inappropriate for children. |textcolor= yellow |bordercolor= red }}
Result:
Adult Warning!
Example 2
Code:
{{Notice/Start |text= Theory Warning |subtext= Be advised that the following article or section contains unconfirmed, fan-made theories or speculation. |textcolor= #FFA500 |bordercolor= orange }} A theory! {{Notice/End}}
Result:
Theory Warning
A theory!
The above documentation is transcluded from Template:Notice/Documentation. (edit | history)