Template:Note: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [checked revision] |
No edit summary |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | <includeonly>{|border="5" | ||
| | |||
{|type="wikitable" border="0" style={{#switch:{{{2}}}|error="background-color:#ffbbbb;"|gotcha="background-color:#ffbbbb;"|reminder="background-color:#E7DBBD;"|notice="background-color:#E0E0FF;"|#default="background-color:#ffeeee;"}} | |||
|valign="top"|<font size="+3">{{#switch:{{{2}}}|error=❗[[category:Error]]|gotcha=❗|reminder=💡|#default=🗒️}}</font>{{#ifeq:{{{2}}}|notice|<br>'''NOTICE'''}} | |||
|{{{1}}} | |||
| | |||
|} | |||
|}</includeonly> | |||
<noinclude> | |||
== Application == | |||
This template allows for a standardized display of general notes, error notes and reminders. | |||
===Arguments=== | |||
This template has two unnamed arguments: A first, obligatory for the content and a second, optional for the kind of note. | |||
Possible values for the second argument are: | |||
* (Empty): general note | |||
* error: error note | |||
* gotcha: like error | |||
* reminder: reminder | |||
* notice: as in ISO 3864-2; points to possible material damage | |||
===dependencies=== | |||
This template does not employ any other templates and is not used by any other templates. | |||
==Example== | |||
<pre>{{note|This is just a note.}}</pre> | |||
delivers | |||
{{note|This is just a note.}} | |||
<pre>{{note|Error|error}}</pre> | |||
delivers | |||
{{note|Error|error}} | |||
<pre>{{note|Don't forget me!|reminder}}</pre> | |||
delivers | |||
{{note|Don't forget me!|reminder}} | |||
[[Category:ContentTemplate]] | |||
{{interwiki}} | |||
</noinclude> |
Latest revision as of 16:27, 29 November 2023
Application
This template allows for a standardized display of general notes, error notes and reminders.
Arguments
This template has two unnamed arguments: A first, obligatory for the content and a second, optional for the kind of note.
Possible values for the second argument are:
- (Empty): general note
- error: error note
- gotcha: like error
- reminder: reminder
- notice: as in ISO 3864-2; points to possible material damage
dependencies
This template does not employ any other templates and is not used by any other templates.
Example
{{note|This is just a note.}}
delivers
|
{{note|Error|error}}
delivers
|
{{note|Don't forget me!|reminder}}
delivers
|