Jump to content

Template:Note: Difference between revisions

From Teltonika Telematics Wiki
m Protected "Template:Note" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
IOTWD-813 Creation of Template:Note
 
Line 1: Line 1:
Teltonika Telematics
<onlyinclude>{{#if: {{{1|{{{content|{{{text|{{{demo|<noinclude>demo</noinclude>}}}}}}}}}}}} | <templatestyles src="Note/styles.css" /><div role="note" class="note note-{{#switch: {{{2|{{{type|}}}}}}
    |gotcha=error
    |warning=warn
    |notice=info
    |=info
    |#default={{{2|{{{type|}}}}}}
    }} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{#ifeq:{{{inline|}}}|1|{{{1|{{{content|{{{text}}}}}}}}}|
{{{1|{{{content|{{{text}}}}}}}}}}}</div>
  | [[File:OOjs UI icon lightbulb-yellow.svg|18px|alt=<!--T:1--> Note|link=]]&nbsp;'''<!--T:2--> Note:''' }}<!--
--></onlyinclude>
 
== Usage == <!--T:3-->
 
<pre>
{{Note|text=Foo}}
{{Note|type=info|text=Foo}}
{{Note|type=reminder|text=Foo}}
{{Note|type=warn|text=Foo}}
{{Note|type=error|text=Foo}}
{{Note}} <!--T:6--> Loose test
 
* Text {{Note|inline=1|text=Foo}}
</pre>
{{Note|text=Foo}}
{{Note|type=info|text=Foo}}
{{Note|type=reminder|text=Foo}}
{{Note|type=reminder|text=Multiple<br>lines<br>of<br>text}}
{{Note|type=reminder|text=
* Multiple paragraphs.
 
Of text.}}
{{Note|type=warn|text=Foo}}
{{Note|type=error|text=Foo}}
{{Note}} <!--T:4--> Loose test
 
* Text {{Note|inline=1|text=Foo}}
 
== Parameters ==
 
{{Note/doc}}

Latest revision as of 14:41, 23 June 2026