Difference between revisions of "Template:Warning"

From CSWiki
Jump to navigation Jump to search
(Created page with "<onlyinclude>{{#switch: | = {{#if: {{{msg|{{{1|}}}}}}|<table cellspacing="0" cellpadding="0" border="0" style="background: transparent; margin-top:0.5em;padding:0.5em;backgrou...")
 
 
Line 1: Line 1:
 
<onlyinclude>{{#switch:
 
<onlyinclude>{{#switch:
 
| =
 
| =
{{#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|Warning|link=]]</span> '''Warning:''' {{#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:warning.jpg|18px|Warning|link=]]</span> '''Warning:''' {{#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>
 
}}</onlyinclude>

Latest revision as of 10:31, 12 July 2019

Warning Warning: