Template:Note: Difference between revisions
No edit summary |
(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> |
Revision as of 07:39, 4 July 2012
{{#if: demo |
{{{1}}}
| Note }}
Usage
{{note|Foo}} {{note|Foo|reminder}} {{note|Foo|error}} {{note|Foo|gotcha}} {{tip|Foo}} {{note}} Loose test {{tip}} Loose test
{{#if: Foo |
Foo
| Note }} {{#if: Foo |
Foo
| Note }} {{#if: Foo |
Foo
| Note }} {{#if: Foo |
Foo
| Note }}
{{#if: |
{{{1}}}
| Note }} Loose test
Template:Tip Loose test