Difference between revisions of "Template:Admonition Note"

From Bisq Wiki
Jump to navigation Jump to search
(remove translation markup)
(remove outer switch)
Line 1: Line 1:
<onlyinclude>{{#switch:
+
<onlyinclude>{{#if: {{#if:{{{1|}}}|{{{1}}}|{{#if:<noinclude>demo</noinclude>|demo|{{{demo|}}}}} }} | <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
Line 7: Line 5:
 
     }} {{#if:{{{inline|}}}|note-inline}}">{{{1}}}</div>
 
     }} {{#if:{{{inline|}}}|note-inline}}">{{{1}}}</div>
 
   | [[File:OOjs UI icon lightbulb-20 fc3.svg|18px| Note|link=]]&nbsp;''' Note''' }}
 
   | [[File:OOjs UI icon lightbulb-20 fc3.svg|18px| Note|link=]]&nbsp;''' Note''' }}
| #default=
+
</onlyinclude>
  {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Note|noshift=1}}
 
}}</onlyinclude>
 
  
 
[[Category:Templates]]
 
[[Category:Templates]]

Revision as of 16:25, 6 June 2020

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

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