Documentation

Difference between revisions of "Template:Warning"

Line 1: Line 1:
<onlyinclude>{{#switch:<translate></translate>
+
{{#switch:<translate></translate>
 
| =
 
| =
 
{{#if: {{{msg|{{{1|}}}}}}|<table cellspacing="0" cellpadding="0" border="0" style="background: transparent; margin-top:0.5em;padding:0.5em;background-color: #fee7e6"><tr><td nowrap="nowrap" valign="top">}}<span style="position: relative; top: -2px;">[[File:OOjs_UI_icon_notice-destructive.svg|18px|<translate><!--T:1--> Warning</translate>|link=]]</span> '''<translate><!--T:2--> Warning:</translate>''' {{#if: {{{msg|{{{1|}}}}}}|</td><td valign="top" style="padding-{{dir|{{pagelang}}|right|left}}:0.5em;">{{{msg|{{{1|}}}}}}</td></tr></table>}}
 
{{#if: {{{msg|{{{1|}}}}}}|<table cellspacing="0" cellpadding="0" border="0" style="background: transparent; margin-top:0.5em;padding:0.5em;background-color: #fee7e6"><tr><td nowrap="nowrap" valign="top">}}<span style="position: relative; top: -2px;">[[File:OOjs_UI_icon_notice-destructive.svg|18px|<translate><!--T:1--> Warning</translate>|link=]]</span> '''<translate><!--T:2--> Warning:</translate>''' {{#if: {{{msg|{{{1|}}}}}}|</td><td valign="top" style="padding-{{dir|{{pagelang}}|right|left}}:0.5em;">{{{msg|{{{1|}}}}}}</td></tr></table>}}
 
| #default=
 
| #default=
 
   {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Warning|noshift=1}}
 
   {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Warning|noshift=1}}
}}</onlyinclude>
+
}}

Revision as of 21:22, 25 October 2019

{{#switch:<translate></translate> | =

{{#if: |

}}<translate> Warning</translate> <translate> Warning:</translate> {{#if: |

}}

| #default=

 {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Warning|noshift=1}}

}}