« Modèle:Note » : différence entre les versions
Aller à la navigation
Aller à la recherche
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.
test0>Jongfeli Aucun résumé des modifications |
test0>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.) |
||
Ligne 1 : | Ligne 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> |