Difference between revisions of "Template:Note"

87 bytes added ,  13:26, 26 January 2017
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
    |gotcha=error
|=info
    |=info
|#default={{{2|}}}
    |#default={{{2|}}}
}}">{{{1}}}</div> | [[File:Bulbgraph.png|18px|<translate><!--T:1--> Note</translate>|link=]]&nbsp;'''<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=]]&nbsp;'''<translate><!--T:2--> Note:</translate>''' }}
| #default=
| #default=
   {{ {{TNTN|Note}}
   {{ {{TNTN|Note}}
Anonymous user