Difference between revisions of "Template:Warning"

From RobotX
Jump to navigation Jump to search
Wikimedia Commons>Denniss
m (Protected Template:Warning: Widely used template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
m (1 revision imported)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="messagebox standard-talk" style="direction:{{dir|{{{lang}}}}}; border: 1px solid #CC9999; background-color: #FFCCCC;"
+
{{Mbox
|-
+
| name      = Warning
|align="center"|[[File:Dialog-stop-hand.svg|50px|link=|Warning]]
+
| demospace  = {{{demospace|}}}
|align="left" width="100%"|{{#if:{{{title|}}}|<h3>{{{title|}}}</h3><hr />|}} {{{2|{{{1}}}}}}
+
| style     = {{#if:{{{style|}}} |{{#if:{{{small|}}}||width:80%;}} {{{style}}} }}
|}<noinclude>
+
| subst      = <includeonly>{{subst:substcheck}}</includeonly>
{{documentation}}
+
| type      = content
 +
| image      = {{#if:{{{image|}}}| [[File:{{{image}}}|{{{imagesize|40px}}}|Warning]] }}
 +
| small      = {{{small|}}}
 +
| smallimage = {{#if:{{{image|}}}| [[File:{{{image}}}|30px|Warning]]}}
 +
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
 +
| textstyle  = {{{textstyle|text-align: {{#if:{{{center|}}}|center|{{{align|left}}}}};}}}
 +
| text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
 +
            -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
 +
}}<noinclude>
 +
<!-- Add categories to the /doc subpage; interwikis go to Wikidata. -->
 +
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 13:28, 1 October 2020

Template documentation[view] [edit] [history] [purge]

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

ParameterDescriptionDefaultStatus
1warning messageemptyrequired
titleoptional titleemptyoptional

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

⧼Seealso⧽

Exclamation encircled.svg
Disputed / inaccurate:
Disputed / something missing:
  • {{Clarify}} – an in-line template
  • {{Lacking insignia source}}insignia
  • {{References missing}}generally for files where the description or depiction 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
Fictional (consciously):
Generally:

Localization

This template is not intended to be localized.