Note: Difference between revisions
(Note template (first draft)) |
(change info symbol) |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<div style="background-color: # | Some text ... | ||
<p><strong> | <onlyinclude> | ||
<div style="background-color: #F5F5F5; border-left: 6px solid #eaecf0; padding: 3px"> | |||
<p><strong> | |||
{{#switch: {{{type}}} | |||
| warn = ⚠️ | |||
| info = ℹ️ | |||
| #default = ✒️ | |||
}} | |||
</strong> {{{text|Some text...}}} </p> | |||
</div> | |||
</onlyinclude> | |||
Some text ... | |||
---- | |||
== Usage == | |||
* '''type:''' | |||
** warn | |||
** info | |||
** default = Note (when no type-param is given) | |||
* '''text:''' Some text... | |||
<pre style="background-color:#F5F5F5;"> | |||
{{Note|text=This gives a simple note about something}} | |||
{{Note | |||
|type=warn | |||
|text=This is a sample warning! | |||
}} | |||
</pre> | |||
Latest revision as of 13:48, 3 November 2025
Some text ...
✒️ Some text...
Some text ...
Usage
- type:
- warn
- info
- default = Note (when no type-param is given)
- text: Some text...
{{Note|text=This gives a simple note about something}}
{{Note
|type=warn
|text=This is a sample warning!
}}