Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Get Your WikiGenius page
Chat on WhatsApp Now →

This is a template documentation subpage for Template:Notice.
It contains usage information, categories, interlanguage links and other content that is not part of the original template page.

Description

This template is used as a base for notice templates.

Usage

Type </noinclude> on a page. This template can be used standalone, or as a base for other notice templates. Note: This template does not show up on mobile.

Syntax

{{Notice
|image  =
|border =
|style  =
|type   =
|info   =
|id     =
}}

Parameters

Id (id)
Custom HTML Id, used for styling in CSS.
Image (image)
A custom image added at the left side. See Help:Adding images for additional information. (default: ℹ️)
Header (type)
The main header for the notice template. Shows up in bold. (default: Header)
Border color (border)
The color of the separator between the Header and the body text. Has several types (type in lowercase):
  • Red
  • Orange
  • Yellow
  • Green
  • Blue
  • Purple
  • Grey (Default)
Text (info)
The main text of the template. (default: Notice text)
CSS Style (style)
Custom CSS styles for the base template container.

Notice borders

The table borders are shown below.
Code Result

</noinclude>

ℹ️️
Header
Notice text

</noinclude>

ℹ️️
Header
Notice text

</noinclude>

ℹ️️
Header
Notice text

</noinclude>

ℹ️️
Header
Notice text

</noinclude>

ℹ️️
Header
Notice text

</noinclude>

ℹ️️
Header
Notice text

</noinclude> (Default: Grey)

ℹ️️
Header
Notice text

Examples

Code Result

</noinclude>

ℹ️️
Header text
Notice text

</noinclude>

ℹ️️
Header text here
Body text here

</noinclude>

ℹ️️
Header text here
Body text here

</noinclude>

Header text here
Body text here

</noinclude>

Header text here
Body text here

See also

</noinclude>, the notice template without the heading parameter, and is more suitable for small messages.

fr:Modèle:Notice/doc