Template:Note: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
m (1 revision imported)
m (1 revision imported)
 
Line 1: Line 1:
<noinclude>{{Distinguish|Template:A note}}
<languages/>
</noinclude><templatestyles src="Citation/styles.css"/><span class="citation wikicite" id="endnote_{{{1}}}"><b>[[#ref_{{{1}}}|^{{{2|}}}]]</b>{{#if:{{{3|}}}|&#32;{{{3|}}}}}</span> <noinclude>
<onlyinclude>{{#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|}}}}}}
{{Documentation|Template:Ref/doc}}
    |gotcha=error
<!-- Add categories and interwikis to the /doc subpage, not here! -->
    |=info
</noinclude>
    |#default={{{2|{{{type|}}}}}}
    }} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{text}}}}}}</div>
  | [[File:OOjs UI icon lightbulb-20 fc3.svg|18px|<translate><!--T:1--> Note</translate>|link=]]&nbsp;'''<translate><!--T:2--> Note:</translate>''' }}<!--
--></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 20:17, 4 December 2021

{{{text}}}