Difference between revisions of "Template:Note/Warning"

From SoftMC-Wiki
Jump to: navigation, search
(Created)
 
(Draft)
Line 1: Line 1:
<includeonly>{{Note
+
<includeonly>{{Note|{{{1}}}
|icon=File:Note-Electricity.svg
+
|icon=File:WARNING.svg
|title=CAUTION
+
|title=WARNING
|text={{{1}}}
 
 
}}</includeonly><!--  
 
}}</includeonly><!--  
  
Line 10: Line 9:
 
{{Template
 
{{Template
 
|description=
 
|description=
Caution safety note.
+
Pure warning safety note.
  
|template=<nowiki>{{Note/Electricity|text}}</nowiki>
+
|template=<nowiki>{{Note/Warning|text}}</nowiki>
  
 
|parameters=
 
|parameters=
 
;text
 
;text
: The note text.
+
: The warning text.
  
 
|examples=
 
|examples=
 
;Input
 
;Input
<pre>{{Note/Electricity|Do not touch blank cables!}}</pre>
+
<pre>{{Note/Warning|Do not run with the head against the wall!}}</pre>
 
;Output
 
;Output
{{Note/Electricity|Do not touch blank cables!}}}}
+
{{Note/Warning|Do not run with the head against the wall!}}
 +
}}
  
[[Category:Template:Notes]]
+
[[Category:Template:Notes|Caution]]
 
</noinclude>
 
</noinclude>

Revision as of 12:14, 19 October 2010

Pure warning safety note.

Template

{{Note/Warning|text}}

Parameters

text
The warning text.

Examples

Input
{{Note/Warning|Do not run with the head against the wall!}}
Output
WARNING.svgWARNING
Do not run with the head against the wall!

For more examples refer to pages, which use this template: What links here.

Help:Templates describes general usage of templates, including treatment of special characters.