Difference between revisions of "Template:Tip"

From CASA Guides
Jump to: navigation, search
 
Line 1: Line 1:
{{#if: {{{1|<noinclude>demo</noinclude>}}} | <div class="note note-{{#switch:{{{2|}}}
+
<div class="noprint" style="float:none; border:1px solid blue;width:200px;background-color:#F5F5F5;padding:2px;">{{{1}}}</div>
|gotcha=error
+
<noinclude>
|=info
+
[[Category:Template examples|{{PAGENAME}}]]</noinclude>
|#default={{{2|}}}
 
}}">{{{1}}}</div> | [[File:Bulbgraph.png|18px|Note|link=]]&nbsp;'''Note''': }}<noinclude>
 
== Usage ==
 
<pre>
 
{{note|Foo}}
 
{{note|Foo|reminder}}
 
{{note|Foo|error}}
 
{{note|Foo|gotcha}}
 
{{tip|Foo}}
 
{{note}} Loose test
 
{{tip}} Loose test
 
</pre>
 
{{note|Foo}}
 
{{note|Foo|reminder}}
 
{{note|Foo|error}}
 
{{note|Foo|gotcha}}
 
{{tip|Foo}}
 
 
 
{{note}} Loose test2
 
 
 
{{tip}} Loose test
 
 
 
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 

Latest revision as of 15:35, 5 November 2012

{{{1}}}