Difference between revisions of "Template:Note"
fix for RTL languages
>Shirayuki (Marked this version for translation) |
>Shirayuki (fix for RTL languages) |
||
Line 3: | Line 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}} |