Difference between revisions of "Template:Note"

From Tycoon Gaming
(Created page with "<onlyinclude>{{#if: {{#if:{{{1|{{{text|}}}}}}|{{{1|{{{text|}}}}}}|{{#if:<noinclude>demo</noinclude>|demo|{{{demo|}}}}} }} | <div role="note" class="note note-{{#switch: {{{2|{...")
 
m
Line 26: Line 26:
 
* Text {{Note|Foo|inline=1}}
 
* Text {{Note|Foo|inline=1}}
  
== Parameters ==
+
===Parameters:===
 
+
type: One of “info”, “reminder”, “warn”, or “error”. This setting affects the color and icon. | Default: info
{{Note/doc}}
+
text: Text to Show | Default: -
 
+
inline: 0 = false, 1 = true | Default: False
 
 
 
</noinclude>
 
</noinclude>

Revision as of 20:14, 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:

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