Template:Warning/doc

Revision as of 07:26, 14 January 2021 by Banri (talk | contribs) (Created page with "{{Documentation}} This template displays a warning and is primarily for use on help type pages. ==Usage== This template can be used by entering the followin...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a documentation subpage for Template:Warning.
It contains usage information, categories, and other content that is not part of the original template page.

This template displays a warning and is primarily for use on help type pages.

Usage

This template can be used by entering the following onto relevant page or section.

{{Warning|Some warning text}}

displays as:

Warning: Some warning text


Data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

This template displays a warning message.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Warning message1

The warning message to display

Example
This action is difficult to revert!
Stringrequired