« Modèle:Note » : différence entre les versions
Aller à la navigation
Aller à la recherche
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> |
Version du 4 juillet 2012 à 14:39
{{#if: demo |
{{{1}}}
| }}
Usage
{{note|Foo}} {{note|Foo|reminder}} {{note|Foo|error}} {{note|Foo|gotcha}} {{tip|Foo}} {{note}} Loose test {{tip}} Loose test
{{#if: Foo |
Foo
| }} {{#if: Foo |
Foo
| }} {{#if: Foo |
Foo
| }} {{#if: Foo |
Foo
| }}
{{#if: |
{{{1}}}
| }} Loose test
Modèle:Tip Loose test