« Modèle:Note » : différence entre les versions
fix for RTL languages
test0>Shirayuki (Marked this version for translation) |
test0>Shirayuki (fix for RTL languages) |
||
Ligne 3 : | Ligne 3 : | ||
| = | | = | ||
{{#if: {{#if:{{{1|}}}|{{{1}}}|{{#if:<noinclude>demo</noinclude>|demo|{{{demo|}}}}} }} | <div class="note note-{{#switch:{{{2|}}} | {{#if: {{#if:{{{1|}}}|{{{1}}}|{{#if:<noinclude>demo</noinclude>|demo|{{{demo|}}}}} }} | <div class="note note-{{#switch:{{{2|}}} | ||
|gotcha=error | |||
|=info | |||
|#default={{{2|}}} | |||
}}">{{{1}}}</div> | [[File:Bulbgraph.png|18px|<translate><!--T:1--> Note</translate>|link=]] '''<translate><!--T:2--> Note:</translate>''' }} | }}" style="background-position:{{dir|{{pagelang}}|right|left}} 4px top 2px">{{{1}}}</div> | ||
| [[File:Bulbgraph.png|18px|<translate><!--T:1--> Note</translate>|link=]] '''<translate><!--T:2--> Note:</translate>''' }} | |||
| #default= | | #default= | ||
{{ {{TNTN|Note}} | {{ {{TNTN|Note}} |