Template:Notice

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search


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= }}

  • 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.

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.
}}

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.
}}
A theory!
{{Notice/End}}

Result:

Theory Warning

A theory!

The above documentation is transcluded from Template:Notice/Documentation. (edit | history)