Anonymous

Template:Note: Difference between revisions

From Time of Unparalleled Darkness Wiki
(Import Template:Note from MediaWiki wiki)
 
(Further cleanup)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages/>
<onlyinclude>{{#if: {{{1|{{{content|{{{text|{{{demo|<noinclude>demo</noinclude>}}}}}}}}}}}} | <templatestyles src="Note/styles.css" /><div role="note" class="note note-{{#switch: {{{2|{{{type|}}}}}}
<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
     |gotcha=error
Line 8: Line 7:
     }} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{#ifeq:{{{inline|}}}|1|{{{1|{{{content|{{{text}}}}}}}}}|
     }} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{#ifeq:{{{inline|}}}|1|{{{1|{{{content|{{{text}}}}}}}}}|
{{{1|{{{content|{{{text}}}}}}}}}}}</div>
{{{1|{{{content|{{{text}}}}}}}}}}}</div>
   | [[File:OOjs UI icon lightbulb-yellow.svg|18px|alt=<translate><!--T:1--> Note</translate>|link=]]&nbsp;'''<translate><!--T:2--> Note:</translate>''' }}<!--
   | [[File:OOjs UI icon lightbulb-yellow.svg|18px|alt=Note|link=]]&nbsp;'''Note:''' }}<!--
--></onlyinclude>
--></onlyinclude>
{{documentation|content=
{{documentation|content=
<translate>
== Usage ==
== Usage == <!--T:3-->
</translate>
<pre>
<pre>
{{Note|text=Foo}}
{{Note|text=Foo}}
Line 20: Line 17:
{{Note|type=warn|text=Foo}}
{{Note|type=warn|text=Foo}}
{{Note|type=error|text=Foo}}
{{Note|type=error|text=Foo}}
{{Note}} <translate nowrap><!--T:6--> Loose test</translate>
{{Note}} Loose test


* Text {{Note|inline=1|text=Foo}}
* Text {{Note|inline=1|text=Foo}}
Line 47: Line 44:


}}
}}
[[Category:Templates{{#translation:}}|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]

Latest revision as of 15:29, 13 November 2025

<templatestyles src="Note/styles.css" />

{{{text}}}

{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}[[Category:Template documentation pages{{#translation:}}]]