Template:Note: Difference between revisions

From Variscite Wiki
m (Protected "Template:Note" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
No edit summary
 
(16 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="note note-{{#switch:{{{2|}}}
{{#if: {{{1|<noinclude>demo</noinclude>}}} | <div class="{{#switch:{{{2|}}}
  |gotcha=error
|error
  |=info
  |gotcha=alert alert-danger
  |#default={{{2|}}}
  |reminder=alert alert-success
}}">{{{1}}}</div> | [[File:Bulbgraph.png|18px|Note|link=]]&nbsp;'''Note''': }}
  |#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}}}