Difference between revisions of "Template:Note"
From Tycoon Gaming
m |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
|#default={{{2|{{{type|}}}}}} | |#default={{{2|{{{type|}}}}}} | ||
}} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{text}}}}}}</div> | }} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{text}}}}}}</div> | ||
− | |'''Note:''' }} | + | |'''Note:''' }}<!-- |
− | </onlyinclude> | + | --></onlyinclude> |
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
Line 18: | Line 18: | ||
* Text {{Note|Foo|inline=1}} | * Text {{Note|Foo|inline=1}} | ||
</pre> | </pre> | ||
− | {{Note| | + | {{Note|Default}} |
− | {{Note| | + | {{Note|Information (info)|info}} |
− | {{Note| | + | {{Note|Reminder (reminder)|reminder}} |
− | {{Note| | + | {{Note|Warning (warn)|warn}} |
− | {{Note| | + | {{Note|Error (error)|error}} |
{{Note}} Loose test | {{Note}} Loose test | ||
Latest revision as of 13:10, 12 April 2022
{{{text}}}
Usage
{{Note|Foo}} {{Note|Foo|info}} {{Note|Foo|reminder}} {{Note|Foo|warn}} {{Note|Foo|error}} {{Note}} Loose test * Text {{Note|Foo|inline=1}}
Default
Information (info)
Reminder (reminder)
Warning (warn)
Error (error)
Note: 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