Difference between revisions of "Template:Note"

From WPRDC Wiki
Jump to navigation Jump to search
>Krinkle
>Shirayuki
(use translation aware transclusion)
 
(85 intermediate revisions by 27 users not shown)
Line 1: Line 1:
<div class="tip tip-{{#switch:{{{2|}}}
<languages/>
|gotcha=error
<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|}}}}}}
|=info
    |gotcha=error
|#default={{{2|}}}
    |=info
}}">
    |#default={{{2|{{{type|}}}}}}
[[File:{{#switch:{{{2|}}}
    }} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{text}}}}}}</div>
|gotcha=
  | [[File:OOjs UI icon lightbulb-20 fc3.svg|18px|<translate><!--T:1--> Note</translate>|link=]]&nbsp;'''<translate><!--T:2--> Note:</translate>''' }}<!--
|error=Attention niels epting.svg
--></onlyinclude>
|reminder=Bulbgraph.png
{{documentation|content=
|#default=Appunti architetto franc 01.svg
<translate>
}}|30x30px|left]]
== Usage == <!--T:3-->
{{{1}}}
</translate>
<div style="clear: both;"></div>
</div><noinclude>
== Usage ==
<pre>
<pre>
{{tip|Foo}}
{{Note|Foo}}
{{tip|Foo|reminder}}
{{Note|Foo|info}}
{{tip|Foo|error}}
{{Note|Foo|reminder}}
{{tip|Foo|gotcha}}
{{Note|Foo|warn}}
{{Note|Foo|error}}
{{Note}} <translate nowrap><!--T:6--> Loose test</translate>
 
* Text {{Note|Foo|inline=1}}
</pre>
</pre>
{{tip|Foo}}
{{Note|Foo}}
{{tip|Foo|reminder}}
{{Note|Foo|info}}
{{tip|Foo|error}}
{{Note|Foo|reminder}}
{{tip|Foo|gotcha}}
{{Note|Foo|warn}}
{{Note|Foo|error}}
{{Note}} <translate><!--T:4--> Loose test</translate>
 
* Text {{Note|Foo|inline=1}}
 
== Parameters ==
 
{{Note/doc}}


[[Category:Templates|{{PAGENAME}}]]
}}
</noinclude>
[[Category:Templates{{#translation:}}|{{PAGENAME}}]]

Latest revision as of 03:45, 27 February 2021

<languages/>

{{{text}}}

Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.[[Category:Template documentation pages{{#translation:}}]] [[Category:Templates{{#translation:}}|Note]]