Actions

Template

Difference between revisions of "Warning"

From Unofficial Stationeers Wiki

 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<onlyinclude>
 
<onlyinclude>
<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> '''{{{title|Warning}}}:'''</td><td valign="top" style="padding-{{dir|{{pagelang}}|right|left}}:0.5em;">{{{msg|}}}</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}}</nowiki>
 
{{warning}}
 
{{warning}}
  
<nowiki>{{warning|hello}}</nowiki>
+
<nowiki>{{warning|Hello}}</nowiki>
{{warning|hello}}
+
{{warning|Hello}}
  
<nowiki>{{warning|This is a warning message designed to attract the users attention}}</nowiki>
 
{{warning|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