Difference between revisions of "Template:Warning"

From PINE64
Jump to navigation Jump to search
(Created page with "<languages/> <onlyinclude>{{#switch:<translate></translate> | = {{#if: {{{msg|{{{1|}}}}}}|<table cellspacing="0" cellpadding="0" border="0" style="box-sizing:border-box; borde...")
 
Line 2: Line 2:
 
<onlyinclude>{{#switch:<translate></translate>
 
<onlyinclude>{{#switch:<translate></translate>
 
| =
 
| =
{{#if: {{{msg|{{{1|}}}}}}|<table cellspacing="0" cellpadding="0" border="0" style="box-sizing:border-box; border:1px #d33 solid; 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="box-sizing:border-box; border:1px #d33 solid; 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></onlyinclude>
| #default=
 
  {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Warning|noshift=1}}
 
}}</onlyinclude>
 
 
{{Documentation|content=
 
{{Documentation|content=
 
<translate>
 
<translate>

Revision as of 21:31, 14 June 2020

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

{{#if: |

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

Template:Documentation [[Category:Warning templates{{#translation:}}|Warning]]