Difference between revisions of "Template:Note"
Jump to navigation
Jump to search
using '' for formatting here does not work because it breaks when the incoming input has '' has well. Plus, no reason to use tables here. Only makes it worse. Reverting with fixes.
>Jongfeli |
>Krinkle (using '' for formatting here does not work because it breaks when the incoming input has '' has well. Plus, no reason to use tables here. Only makes it worse. Reverting with fixes.) |
||
Line 1: | Line 1: | ||
{{#if: {{{1|<noinclude>demo</noinclude>}}} | <div class="note note-{{#switch:{{{2|}}} | |||
|gotcha=error | |||
|=info | |||
|#default={{{2|}}} | |||
}}"> | |||
{{{1}}}</div> | [[File:Bulbgraph.png|18px|Note|link=]] }}<noinclude> | |||
== Usage == | |||
== | |||
<pre> | <pre> | ||
{{ | {{note|Foo}} | ||
{{note|Foo|reminder}} | |||
{{note|Foo|error}} | |||
{{note|Foo|gotcha}} | |||
{{tip|Foo}} | |||
{{note}} Loose test | |||
{{tip}} Loose test | |||
</pre> | </pre> | ||
{{note|Foo}} | |||
{{note|Foo|reminder}} | |||
{{note|Foo|error}} | |||
{{note|Foo|gotcha}} | |||
{{tip|Foo}} | |||
{{note}} Loose test | |||
{{tip}} Loose test | |||
[[Category:Templates|{{PAGENAME}}]] | |||
{{ | |||
</noinclude> | </noinclude> |