This template should be used for important warnings about an article or a user that cannot be shown using a more specific template. Please use it when something is seriously wrong and other people might not otherwise know about it.
Usage
{{Warning |1= |title= }}
Template parameters
Parameter
Description
Default
Status
1
2
message
Body of the warning message
empty
required
title
title
Optional title for the message, shown as third-level heading
empty
optional
lang
language
Language code of the message box content, used for displaying text in the direction of the language (e.g. right-to-left for Arabic)
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.
Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either useTemplateData=1 or useTemplateData=only on the /doc subpage and transcluding it with {{Documentation}} into the template. <nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.
Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.
This template should be used for important warnings about an article or a user that cannot be shown using a more specific template. Please use it when something is seriously wrong and other people might not otherwise know about it.
Template parameters
This template prefers inline formatting of parameters.
Parameter
Description
Type
Status
message
12
Body of the warning message
Content
required
language
lang
Language code of the message box content, used for displaying text in the direction of the language (e.g. right-to-left for Arabic)
Default
en
Line
optional
title
title
Optional title for the message, shown as third-level heading
Content
optional
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:
all users
{{References missing}} – generally for files where the description or depiction needs references
{{Datasource missing}} – for own diagrams and maps visualizing data that needs references
{{No source since}} – deletion warning for missing essential source information
{{Sourcefield}} - produces a warning that a file appears to have an invalid entry in its "Source" parameter; for use on user talk pages, not file pages; less serious than the {{No source since}} warning; does not threaten deletion