Actions

Template

Difference between revisions of "Warning"

From Unofficial Stationeers Wiki

(Undo revision 9757 by JavaSkeptre (talk))
 
Line 1: Line 1:
 
<onlyinclude>
 
<onlyinclude>
{{#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:Icon notice warning 18px.png|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: {{{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:Icon notice warning 18px.png|18px|Warning|link=]]</span> '''Warning:''' {{#if: {{{1|}}}|</td><td valign="top" style="padding-{{dir|{{pagelang}}|right|left}}:0.5em;">{{{msg|{{{1|}}}}}}</td></tr></table>}}
 
</onlyinclude>
 
</onlyinclude>
 
{{Documentation|content=
 
{{Documentation|content=
  
<nowiki>{{warning|1= hello}}</nowiki>
+
<nowiki>{{warning}}</nowiki>
{{warning|1= hello}}
+
{{warning}}
 +
 
 +
<nowiki>{{warning|Hello}}</nowiki>
 +
{{warning|Hello}}
  
<nowiki>{{warning|1= This is a warning message designed to attract the users attention}}</nowiki>
 
{{warning|1= This is a warning message designed to attract the users attention}}
 
 
}}
 
}}

Latest revision as of 14:23, 9 November 2020

Warning Warning:

Template documentation

{{warning}}

Warning Warning:


{{warning|Hello}}

Warning Warning: Hello