Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Notice: Difference between revisions

Template page
documentation from en:
Fulfilling edit request by Waddie96. use {{mbox}} template
 
(28 intermediate revisions by 15 users not shown)
Line 1: Line 1:
{| class="{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|{{#ifeq:{{{small|}}}|yes|small|standard}}-talk}} messagebox"
{{mbox|type=notice|small={{{small|}}}<!--
| {{#if:{{{header|}}}|rowspan="2"}} align="center" style="width:53px;"|[[Image:{{{image|Info {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}||non-}}talk.png}}}|{{#ifeq:{{{small|}}}|yes|25px|53px}}|Notice]]
-->|style=direction:{{#dir:{{{lang|}}}}};{{#if:{{{style|}}}|{{{style}}}}}<!--
{{#if:{{{header|}}}|
-->|image={{#if:{{{image|}}}|{{!((}}File:{{{image}}}{{!}}{{{size|{{#if:{{{small|}}}|25px|40px}}}}}{{!}}link={{#if:{{{alt|}}}|{{!}}alt={{{alt}}}}}{{!}}class=noviewer{{))!}}}}<!--  
<!-- -->! Notice: {{{header}}}
-->|text={{#if:{{{heading|{{{header|}}}}}}|<div align="center">'''{{{heading|Notice: {{{header}}}}}}'''</div><br/>}}{{{1}}}}}<noinclude>
<!-- -->{{!-}}
{{documentation}}
}}
</noinclude>
|align="left"|{{{1}}}
|}
<noinclude>
 
 
==Location==
This template should be used for '''important''' comments about a page that cannot be shown using a more specific template.
 
==Usage==
:{{tlx|Notice|Include text here.}}
:{{tlx|Notice|small&#61;yes|Include text here.}} for smaller type
:{{tlx|Notice|header&#61;Header text|Include text here.}} for an additional header
:{{tlx|Notice|image&#61;Stop hand nuvola.svg|Include text here.}} for a different image</noinclude>

Latest revision as of 03:03, 23 August 2025

Template documentation[ view · edit · history · purge ]
This documentation is transcluded from Template:Notice/doc.

This template should be used for important comments about a page that cannot be shown using a more specific template.

Usage

{{Notice |1= }}

Template parameters

ParameterDescriptionDefaultStatus
1contentContent of the message boxemptyrequired
smallsmall versionSet to “yes” to show a smaller version; only works in talk namespacesnooptional
headerheaderAdditional notice header; it’s prefixed with “Notice:”emptyoptional
headingfull headerAdditional notice header, shown without the “Notice:” prefixemptyoptional
imageicon imageName of the icon image, without namespaceInfo non-talk.svgoptional
langlanguageLanguage of the notice text, used to set correct directionalityemptyoptional
styleextra CSSAdditional CSS styles for the outer boxemptyoptional

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified

Examples

{{Notice|Text with other parameters.|header=Example header|image=Example.svg|style=background-color:lightgreen; font-style:italic;}}

renders as:


{{Notice|Simply text.}}

renders as:

See also

Localization

This template is not intended to be localized.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.