Template:Note: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
{{#if: {{{1|<noinclude>demo</noinclude>}}} | <div class="{{#switch:{{{2|}}}
{{#if: {{{1|<noinclude>demo</noinclude>}}} | <div class="{{#switch:{{{2|}}}
  |error
  |error
  |gotcha=text-danger
  |gotcha=alert alert-danger
  |=text-muted
  |reminder=alert alert-success
  |#default={{{2|}}}
  |#default={{{2|alert alert-info}}}
}}"><div class="{{{class|}}}"><i class="fas fa-lightbulb text-dark"></i> {{{1}}}</div></div>}}
}}"><div class="{{{class|}}}"><i class="fas fa-lightbulb text-dark"></i> {{{1}}}</div></div>}}

Latest revision as of 17:08, 2 June 2020

Usage

Please use this string:

{{Note|"content"|"info/error/reminder"}}

{{{1}}}