Template:Note: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
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
  |=alert alert-secondary
  |reminder=alert alert-success
  |#default={{{2|}}}
  |#default={{{2|alert alert-secondary}}}
}}"><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>}}

Revision as of 00:46, 2 June 2020

Usage

Please use this string:

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

{{{1}}}