Template:Note: Difference between revisions
From Time of Unparalleled Darkness Wiki
DM Maiyannah (talk | contribs) (Import Template:Note from MediaWiki wiki) |
DM Maiyannah (talk | contribs) (Further cleanup) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<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= | | [[File:OOjs UI icon lightbulb-yellow.svg|18px|alt=Note|link=]] '''Note:''' }}<!-- | ||
--></onlyinclude> | --></onlyinclude> | ||
{{documentation|content= | {{documentation|content= | ||
== Usage == | |||
== Usage == | |||
<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}} | {{Note}} Loose test | ||
* Text {{Note|inline=1|text=Foo}} | * Text {{Note|inline=1|text=Foo}} | ||
| Line 47: | Line 44: | ||
}} | }} | ||
[[Category:Templates | [[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:}}]]
