Difference between revisions of "Template:Note"

From Tycoon Gaming
m
m
Line 18: Line 18:
 
* Text {{Note|Foo|inline=1}}
 
* Text {{Note|Foo|inline=1}}
 
</pre>
 
</pre>
{{Note|Foo}}
+
{{Note|Default}}
{{Note|Foo|info}}
+
{{Note|Information|info}}
{{Note|Foo|reminder}}
+
{{Note|Reminder|reminder}}
{{Note|Foo|warn}}
+
{{Note|Warning|warn}}
{{Note|Foo|error}}
+
{{Note|Error|error}}
 
{{Note}} Loose test
 
{{Note}} Loose test
  

Revision as of 13:03, 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
Reminder
Warning
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