Template:Note: Difference between revisions
From Bay Area Structural Heart Wiki
|
|
(17 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| <languages/> | | <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:<translate></translate>
| | [[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|}}}}}}
| | == Usage == |
| |gotcha=error
| | Lightbulb Note: |
| |=info
| | <pre><nowiki> |
| |#default={{{2|{{{type|}}}}}}
| | {{Note|Your note text}} |
| }} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{text}}}}}}</div>
| | </nowiki></pre> |
| | [[File:OOjs UI icon lightbulb-20 fc3.svg|18px|<translate><!--T:1--> Note</translate>|link=]] '''<translate><!--T:2--> Note:</translate>''' }}
| | </noinclude> |
| | #default=
| |
| {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Note|noshift=1}}
| |
| }}</onlyinclude>
| |
| {{documentation|content=
| |
| <translate> | |
| == Usage == <!--T:3--> | |
| </translate> | |
| <pre> | |
| {{Note|Foo}} | |
| {{Note|Foo|info}}
| |
| {{Note|Foo|reminder}}
| |
| {{Note|Foo|warn}}
| |
| {{Note|Foo|error}}
| |
| {{Note}} <translate nowrap><!--T:6--> Loose test</translate>
| |
| | |
| * Text {{Note|Foo|inline=1}}
| |
| </pre> | |
| {{Note|Foo}}
| |
| {{Note|Foo|info}}
| |
| {{Note|Foo|reminder}}
| |
| {{Note|Foo|warn}}
| |
| {{Note|Foo|error}}
| |
| {{Note}} <translate><!--T:4--> Loose test</translate>
| |
| | |
| * Text {{Note|Foo|inline=1}}
| |
| | |
| == Parameters ==
| |
| | |
| {{Note/doc}}
| |
| | |
| }}
| |
| [[Category:Templates{{#translation:}}|{{PAGENAME}}]]
| |
Latest revision as of 18:52, 24 February 2021
Note:
Usage
Lightbulb Note:
{{Note|Your note text}}