Difference between revisions of "Template:Admonition Note"

From Bisq Wiki
Jump to navigation Jump to search
(remove documentation)
(remove translation markup)
Line 1: Line 1:
<languages/>
+
<onlyinclude>{{#switch:
<onlyinclude>{{#switch:<translate></translate>
 
 
| =
 
| =
{{#if: {{#if:{{{1|}}}|{{{1}}}|{{#if:<noinclude>demo</noinclude>|demo|{{{demo|}}}}} }} | <templatestyles src="Note/styles.css" /><div role="note" class="note note-{{#switch:{{{2|}}}
+
{{#if: {{#if:{{{1|}}}|{{{1}}}|{{#if:<noinclude>demo</noinclude>|demo|{{{demo|}}}}} }} | <div role="note" class="note note-{{#switch:{{{2|}}}
 
     |gotcha=error
 
     |gotcha=error
 
     |=info
 
     |=info
 
     |#default={{{2|}}}
 
     |#default={{{2|}}}
 
     }} {{#if:{{{inline|}}}|note-inline}}">{{{1}}}</div>
 
     }} {{#if:{{{inline|}}}|note-inline}}">{{{1}}}</div>
   | [[File:OOjs UI icon lightbulb-20 fc3.svg|18px|<translate><!--T:1--> Note</translate>|link=]]&nbsp;'''<translate><!--T:2--> Note:</translate>''' }}
+
   | [[File:OOjs UI icon lightbulb-20 fc3.svg|18px| Note|link=]]&nbsp;''' Note''' }}
 
| #default=
 
| #default=
 
   {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Note|noshift=1}}
 
   {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Note|noshift=1}}
 
}}</onlyinclude>
 
}}</onlyinclude>
  
[[Category:Templates{{#translation:}}|{{PAGENAME}}]]
+
[[Category:Templates]]

Revision as of 16:07, 6 June 2020

{{#switch: | =

{{#if: {{#if:|{{{1}}}|{{#if:demo|demo|}} }} |

{{{1}}}
 | Note  Note }}

| #default=

 {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Note|noshift=1}}

}}