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=" | <noinclude>{{templateGen|params=<nowiki>"content"|"info/error/reminder"</nowiki>}}</noinclude> | ||
|gotcha= | {{#if: {{{1|<noinclude>demo</noinclude>}}} | <div class="{{#switch:{{{2|}}} | ||
|= | |error | ||
|#default={{{2|}}} | |gotcha=alert alert-danger | ||
}}">{{{1}}}</div> | |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}}}