Difference between revisions of "Template:Note/Caution"

From SoftMC-Wiki
Jump to: navigation, search
m (added description)
(OK)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Note
+
<includeonly>{{Note|{{{1}}}
|icon=File:Note-Danger.svg
+
|icon=File:CAUTION.svg
|title=Danger
+
|title=CAUTION
|text={{{1}}}
 
 
}}</includeonly><!--  
 
}}</includeonly><!--  
  
Line 10: Line 9:
 
{{Template
 
{{Template
 
|description=
 
|description=
Danger safety note.
+
Pure caution safety note.
  
|template=<nowiki>{{Note/Danger|text}}</nowiki>
+
|template=<nowiki>{{Note/Caution|text}}</nowiki>
  
 
|parameters=
 
|parameters=
 
;text
 
;text
: The note text.
+
: The caution text.
  
 
|examples=
 
|examples=
 
;Input
 
;Input
<pre>{{Note/Danger|Do not run with the head against the wall!}}</pre>
+
<pre>{{Note/Caution|Do not run with the head against the wall!}}</pre>
 
;Output
 
;Output
{{Note/Danger|Do not run with the head against the wall!}}
+
{{Note/Caution|Do not run with the head against the wall!}}
 
}}
 
}}
  
[[Category:Template:Note]]
+
[[Category:Template:Notes|Caution]]
 
</noinclude>
 
</noinclude>

Latest revision as of 12:11, 19 October 2010

Pure caution safety note.

Template

{{Note/Caution|text}}

Parameters

text
The caution text.

Examples

Input
{{Note/Caution|Do not run with the head against the wall!}}
Output
CAUTION.svgCAUTION
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.