Difference between revisions of "Template:Warning"
From Ava Zinn Wiki
[unchecked revision] | [unchecked revision] |
(add support for a heading; other tweaks) |
Aeverinezinn (talk | contribs) m (36 revisions from wikipedia:Template:Warning) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{Mbox |
− | | demospace = {{{demospace|}}} | + | | name = Warning |
− | | type | + | | demospace = {{{demospace|}}} |
− | | image | + | | style = {{#if:{{{style|}}} |{{#if:{{{small|}}}||margin:inherit auto;width:80%;}} {{{style}}} }} |
− | | textstyle = {{{align|text-align: center;}}} | + | | subst = <includeonly>{{subst:substcheck}}</includeonly> |
− | | text | + | | type = content |
− | + | | image = {{#if:{{{image|}}}| [[File:{{{image}}}|40px|Warning]] }} | |
− | }}<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
{{{1}}} |
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]
- WP:Template messages/User talk namespace, which lists warning templates for use on user talk pages.
The above documentation is transcluded from Template:Warning/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |