Template:Note: Difference between revisions

From Variscite Wiki
(Created page with "{{#if: {{{1|<noinclude>demo</noinclude>}}} | <div class="note note-{{#switch:{{{2|}}} |gotcha=error |=info |#default={{{2|}}} }}">{{{1}}}</div> | File:Bulbgraph.png|18px|...")
 
No edit summary
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if: {{{1|<noinclude>demo</noinclude>}}} | <div class="note note-{{#switch:{{{2|}}}
<noinclude>{{templateGen|params=<nowiki>"content"|"info/error/reminder"</nowiki>}}</noinclude>
  |gotcha=error
{{#if: {{{1|<noinclude>demo</noinclude>}}} | <div class="{{#switch:{{{2|}}}
  |=info
|error
  |#default={{{2|}}}
  |gotcha=alert alert-danger
}}">{{{1}}}</div> | [[File:Bulbgraph.png|18px|Note|link=]]&nbsp;'''Note''': }}
  |reminder=alert alert-success
  |#default={{{2|alert alert-info}}}
}}"><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}}}