Difference between revisions of "Template:Note"

From Tycoon Gaming
m
Line 3: Line 3:
 
     |=info
 
     |=info
 
     |#default={{{2|{{{type|}}}}}}
 
     |#default={{{2|{{{type|}}}}}}
     }} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{text}}}}}}</div>|'''Note:'''}}
+
     }} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{text}}}}}}</div>
 +
|[[File:OOjs_UI_icon_lightbulb-yellow.svg|18px|Note|link=]] &nbsp;'''Note:</translate>''' }}
 
</onlyinclude>
 
</onlyinclude>
 
<noinclude>
 
<noinclude>

Revision as of 19:58, 30 May 2021

{{{text}}}


Usage

{{Note|Foo}}
{{Note|Foo|info}}
{{Note|Foo|reminder}}
{{Note|Foo|warn}}
{{Note|Foo|error}}
{{Note}} Loose test

* Text {{Note|Foo|inline=1}}
Foo
Foo
Foo
Foo
Foo

Note  Note:</translate>

Loose test
  • Text
    Foo


Parameters:

type: One of “info”, “reminder”, “warn”, or “error”. This setting affects the color and icon. | Default: info text: Text to Show | Default: - inline: 0 = false, 1 = true | Default: False