Difference between revisions of "Template:Admonition Note"

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

Revision as of 16:44, 6 June 2020

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

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