Difference between revisions of "Template:Warn"

From Dreamwidth Notes
Jump to: navigation, search
(New page: <div class="warnbox"><b>Warning</b>: {{{text|Warning text here}}}</div> <noinclude>This template is used to call attention to warnings. (See Template:Note for a more subtle way to bo...)
 
(more information and instruction)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div class="warnbox"><b>Warning</b>: {{{text|Warning text here}}}</div>
+
<includeonly><div class="warnbox"><b>Warning</b>: {{{text|Warning text here}}}</div></includeonly><noinclude>This template is used to call attention to warnings.  (See [[Template:Note]] for a more subtle way to box off asides.)  Specific notes can be added to the box through use of the "text" parameter.  Example use:
  
<noinclude>This template is used to call attention to warnings.  (See [[Template:Note]] for a more subtle way to box off asides.)  Specific notes can be added to the box through use of the "text" parameter. [[Category: Templates]]</noinclude>
+
<nowiki>{{Warn|text=Warning!}}</nowiki>
 +
 
 +
{{Warn|text=Things will break if you don't do this!}}
 +
 
 +
[[Category: Templates]]</noinclude>

Latest revision as of 16:04, 27 March 2009

This template is used to call attention to warnings. (See Template:Note for a more subtle way to box off asides.) Specific notes can be added to the box through use of the "text" parameter. Example use:

{{Warn|text=Warning!}}
Warning: Things will break if you don't do this!