Template:Note: Difference between revisions

From bwHPC Wiki
Jump to navigation Jump to search
(Created page with "''Hi! This is my first template.''")
No edit summary
Line 1: Line 1:
<onlyinclude>{{#switch:<translate></translate>
''Hi! This is my first template.''
| =
{{#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|}}}}}}
|gotcha=error
|=info
|#default={{{2|{{{type|}}}}}}
}} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{text}}}}}}</div>
| [[File:OOjs UI icon lightbulb-20 fc3.svg|18px|<translate><!--T:1--> Note</translate>|link=]]&nbsp;'''<translate><!--T:2--> Note:</translate>''' }}
| #default=
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Note|noshift=1}}
}}</onlyinclude>

Revision as of 11:22, 9 October 2020

{{#switch:<translate></translate> | =

{{#if: {{#if:||{{#if:demo|demo|}} }} | <templatestyles src="Note/styles.css" />

{{{text}}}
 | <translate> Note</translate> <translate> Note:</translate> }}

| #default=

 {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Note|noshift=1}}

}}