Difference between revisions of "Template:Warning"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(add support for a heading; other tweaks)
m (36 revisions from wikipedia:Template:Warning)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{ mbox
+
{{Mbox
| demospace = {{{demospace|}}}
+
| name      = Warning
| type     = content
+
| demospace = {{{demospace|}}}
| image     = {{#if:{{{image|}}}| [[Image:{{{image|}}}|40px|Warning]] }}
+
| style      = {{#if:{{{style|}}} |{{#if:{{{small|}}}||margin:inherit auto;width:80%;}} {{{style}}} }}
| textstyle = {{{align|text-align: center;}}}
+
| subst      = <includeonly>{{subst:substcheck}}</includeonly>
| text     = {{#if:{{{header|}}}|<div style="text-align: center">'''{{{header}}}'''</div>}}{{{text|{{{1}}}}}}
+
| type       = content
 
+
| image     = {{#if:{{{image|}}}| [[File:{{{image}}}|40px|Warning]] }}
}}<noinclude>{{Documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude>
+
| 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|{{{align|text-align: {{#if:{{{left|}}}|left|center}};}}}}}}
 +
| text       = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="text-align:{{#if:{{{left|}}}|left|center}};">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
 +
            -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
 +
}}<noinclude>
 +
<!-- Add categories to the /doc subpage; interwikis go to Wikidata. -->
 +
{{Documentation}}
 +
</noinclude>

Latest revision as of 10:24, 14 March 2016

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

This is the {{Warning}} template.

This template should be used for important warnings about an article or a user that cannot be shown using a more specific template. Please only use it when something is seriously wrong and other people might not otherwise know about it.

Usage[edit]

{{Warning|1=Place warning text here along with signature (~~~~).}}

See also[edit]


Template:Notice and warning templates