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
Fulfilling edit request by Waddie96. implement with the help of {{mbox}} template
Undo revision 1075801013 by Jarekt (talk)
Line 1: Line 1:
{{mbox|type=notice|small={{{small}}}
{| class="{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|{{#ifeq:{{{small|}}}|yes|small|standard}}-talk}} messagebox" style="direction:{{#dir:{{{lang|}}}}}; {{{style|}}}"
|style="direction:{{#dir:{{{lang|}}}}}; {{{style|}}}"
| {{#if:{{{heading|{{{header|}}}}}}|rowspan="2"}} align="center" style="width:53px;"|[[File:{{{image|Info {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}||}}non-talk.svg}}}|{{{size|{{#ifeq:{{{small|}}}|yes|25px|53px}}}}}|link=|Notice]]
{{#if:{{{image|}}}|[[File:{{{image}}}|{{{size|{{#ifeq:{{{small|}}}|yes|25px|40px}}}}}|link={{#if:{{{alt|}}}|{{!}}alt={{{alt}}}|}}]]|}}
|text={{#if:{{{heading|{{{header|}}}}}}|<div align="center" style="width:40px;">{{{heading|{{{header}}}}}}</div><br/>|}}
{{#if:{{{heading|{{{header|}}}}}}|
{{#if:{{{heading|{{{header|}}}}}}|
<!-- -->! {{{heading|Notice: {{{header}}}}}}
<!-- -->! {{{heading|Notice: {{{header}}}}}}
<!-- -->{{!}}-
<!-- -->{{!}}-
}}
}}
{{{1}}}
|{{{1}}}
}}<noinclude>
|}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 02:53, 21 August 2025

Notice {{{1}}}
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 Notice: Example header
Text with other parameters.

{{Notice|Simply text.}}

renders as:

Notice Simply text.

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.