Difference between revisions of "Template:Note"

From MobiNetS
Jump to: navigation, search
(Created page with "<onlyinclude>{{#switch:<translate></translate> | = {{#if: {{#if:{{{1|}}}|{{{1}}}|{{#if:<noinclude>demo</noinclude>|demo|{{{demo|}}}}} }} | <templatestyles src="Note/styles.css...")
 
 
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude>{{#switch:<translate></translate>
<span style="width:100%; border:2px; border-style:solid; border-radius: 7px;
| =
border-color:#2980b9; background-color:#F5FFFA; padding:0.1em;
{{#if: {{#if:{{{1|}}}|{{{1}}}|{{#if:<noinclude>demo</noinclude>|demo|{{{demo|}}}}} }} | <templatestyles src="Note/styles.css" /><div role="note" class="note note-{{#switch:{{{2|}}}
margin:0.1em; display:
    |gotcha=error
inline-block;">[[File:noteicon.png|18px|Note|link=]] {{{1|}}}</span><br>
    |=info
<noinclude>
    |#default={{{2|}}}
== Usage ==
    }} {{#if:{{{inline|}}}|note-inline}}">{{{1}}}</div>
Lightbulb Note:
  | [[File:OOjs UI icon lightbulb-20 fc3.svg|18px|<translate><!--T:1--> Note</translate>|link=]]&nbsp;'''<translate><!--T:2--> Note:</translate>''' }}
<pre><nowiki>
| #default=
{{Note|Your note text}}
  {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Note|noshift=1}}
</nowiki></pre>
}}</onlyinclude>
</noinclude>

Latest revision as of 10:28, 14 September 2024

Note

Usage

Lightbulb Note:

{{Note|Your note text}}