Template:Note: Difference between revisions

From Bay Area Structural Heart Wiki
No edit summary
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<span style="border:1px; border-style:solid; border-radius:7px; border-color:#fc3; background-color:#fff9ea; padding:5px; margin:5px; display:inline-block; background-size:5px; min-height:15px;">
<onlyinclude>{{#switch:
[[File:Note.png|40px|Note|link=]] '''Note:''' {{{1|}}}
| =
</span><noinclude>
{{#if: {{#if:{{{1|{{{text|}}}}}}|{{{1|{{{text|}}}}}}|{{#if:<noinclude>demo</noinclude>|demo|{{{demo|}}}}} }} | <templatestyles src="Note/styles.css" /><div role="note" class="note note-{{#switch: {{{2|{{{type|}}}}}}
    |gotcha=error
    |=info
    |#default={{{2|{{{type|}}}}}}
    }} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{text}}}}}}</div>
  | [[File:OOjs UI icon lightbulb-20 fc3.svg|18px|Note|link=]]&nbsp;'''Note:''' }}
| #default=
  {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Note|noshift=1}}
}}</onlyinclude>
{{documentation|content=
== Usage ==
== Usage ==
<pre>
Lightbulb Note:
{{Note|Foo}}
<pre><nowiki>
{{Note|Foo|info}}
{{Note|Your note text}}
{{Note|Foo|reminder}}
</nowiki></pre>
{{Note|Foo|warn}}
</noinclude>
{{Note|Foo|error}}
{{Note}} Loose test
 
* Text {{Note|Foo|inline=1}}
</pre>
{{Note|Foo}}
{{Note|Foo|info}}
{{Note|Foo|reminder}}
{{Note|Foo|warn}}
{{Note|Foo|error}}
{{Note}} Loose test
 
* Text {{Note|Foo|inline=1}}
 
== Parameters ==
 
{{Note/doc}}
 
}}
[[Category:Documentation]]

Latest revision as of 18:52, 24 February 2021

Note Note:

Usage

Lightbulb Note:

{{Note|Your note text}}