Jump to content

Template:Notice

From WikiGenius
ℹ️️
Header
Notice text
Your wiki got a version of Template:Documentation that is only relevant to Templates Wiki! Click here to revert it. For a documentation template you can use on your wiki, see Template:Documentation (copy) on Templates Wiki.
Template information, documentation, and installation instructions.
Expand the below text for usage and other information.

Template Documentation:
Note: The template above might be broken without the parameters; this is normal.
View, edit, or check the history of this documentation. (How does this work?)
Editors can experiment with this template's sandbox and testcases.

Description[edit source]

This template is used as a base for notice templates.

Usage[edit source]

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[edit source]

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

Parameters[edit source]

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[edit source]

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[edit source]

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[edit source]

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

fr:Modèle:Notice

Installation Instructions
Export this template, then import to install it.
Use edit summary: Copied from [[w:c:templates:Template:Notice]] to properly attribute this template's editors.

fr:Modèle:Noticeja:テンプレート:Noticetr:Şablon:Uyarı

There is no additional installation instructions for this template. If there is any, you may create it at Template:Notice/install.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.