Actions

Template

Difference between revisions of "Warning"

From Unofficial Stationeers Wiki

m
(Completed template)
Line 2: Line 2:
 
{{#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: {{{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>}}
 
</onlyinclude>
 
</onlyinclude>
[[Category:Warning templates]]
+
{{Documentation|content=
 +
 
 +
<nowiki>{{warning|1= hello}}</nowiki>
 +
{{warning|1= 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}}
 +
}}

Revision as of 10:46, 9 November 2020

Warning Warning:

Template documentation

{{warning|1= hello}}

Warning Warning: hello


{{warning|1= This is a warning message designed to attract the users attention}}

Warning Warning: This is a warning message designed to attract the users attention