Difference between revisions of "Template:Admonition Note"
Jump to navigation
Jump to search
Plebeian9000 (talk | contribs) (remove documentation) |
(remove translation markup) |
||
Line 1: | Line 1: | ||
− | + | <onlyinclude>{{#switch: | |
− | <onlyinclude>{{#switch: | ||
| = | | = | ||
− | {{#if: {{#if:{{{1|}}}|{{{1}}}|{{#if:<noinclude>demo</noinclude>|demo|{{{demo|}}}}} }} | | + | {{#if: {{#if:{{{1|}}}|{{{1}}}|{{#if:<noinclude>demo</noinclude>|demo|{{{demo|}}}}} }} | <div role="note" class="note note-{{#switch:{{{2|}}} |
|gotcha=error | |gotcha=error | ||
|=info | |=info | ||
|#default={{{2|}}} | |#default={{{2|}}} | ||
}} {{#if:{{{inline|}}}|note-inline}}">{{{1}}}</div> | }} {{#if:{{{inline|}}}|note-inline}}">{{{1}}}</div> | ||
− | | [[File:OOjs UI icon lightbulb-20 fc3.svg|18px| | + | | [[File:OOjs UI icon lightbulb-20 fc3.svg|18px| Note|link=]] ''' Note''' }} |
| #default= | | #default= | ||
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Note|noshift=1}} | {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Note|noshift=1}} | ||
}}</onlyinclude> | }}</onlyinclude> | ||
− | [[Category:Templates | + | [[Category:Templates]] |
Revision as of 16:07, 6 June 2020
{{#switch: | =
{{#if: {{#if:|{{{1}}}|{{#if:demo|demo|}} }} |
{{{1}}}
| Note }}
| #default=
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Note|noshift=1}}
}}