Template:Note: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{templateGen|params=<nowiki>"content"|"info/error/reminder"</nowiki>}}</noinclude>
<noinclude>{{templateGen|params=<nowiki>"content"|"info/error/reminder"</nowiki>}}</noinclude>
{{#if: {{{1|<noinclude>demo</noinclude>}}} | <div class="{{#switch:{{{2|}}}
{{#if: {{{1|<noinclude>demo</noinclude>}}} | <div class="{{#switch:{{{2|}}}
  |gotcha=text-danger
|error
  |=text-muted
  |gotcha=alert alert-danger
  |#default={{{2|}}}
  |reminder=alert alert-success
}}"><span class="badge badge-danger mr-2 mb-2"><i class="fas fa-lightbulb"></i>&nbsp;'''{{{3|Note}}}'''</span><div class="small">{{{1}}}</div></div>}}
  |#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}}}