Template:Note: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
(Created page with "<includeonly>{|border="5" | {|type="wikitable" border="0" style={{#switch:{{{2}}}|error="background-color:#ffbbbb;"|gotcha="background-color:#ffbbbb;"|reminder="background-col...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
| | | | ||
{|type="wikitable" border="0" style={{#switch:{{{2}}}|error="background-color:#ffbbbb;"|gotcha="background-color:#ffbbbb;"|reminder="background-color:#E7DBBD;"|#default="background-color:#ffeeee;"}} | {|type="wikitable" border="0" style={{#switch:{{{2}}}|error="background-color:#ffbbbb;"|gotcha="background-color:#ffbbbb;"|reminder="background-color:#E7DBBD;"|#default="background-color:#ffeeee;"}} | ||
|valign="top"|{{#switch:{{{2}}}|error=[[ | |valign="top"|<font size="+3">{{#switch:{{{2}}}|error=❗[[category:Error]]|gotcha=❗|reminder=💡|#default=🗒️}}</font> | ||
|{{{1}}} | |{{{1}}} | ||
|} | |} | ||
Line 22: | Line 22: | ||
<pre>{{note|This is just a note.}}</pre> | <pre>{{note|This is just a note.}}</pre> | ||
delivers | delivers | ||
{ | {{note|This is just a note.}} | ||
|This is just a note. | |||
<pre>{{note|Error|error}}</pre> | <pre>{{note|Error|error}}</pre> | ||
delivers | delivers | ||
{ | {{note|Error|error}} | ||
|Error | |||
|} | |||
<pre>{{note|Don't forget me!|reminder}}</pre> | <pre>{{note|Don't forget me!|reminder}}</pre> | ||
delivers | delivers | ||
{ | {{note|Don't forget me!|reminder}} | ||
|Don't forget me! | |||
|} | |||
[[Category:ContentTemplate]] | [[Category:ContentTemplate]] | ||
{{interwiki}} | |||
</noinclude> | </noinclude> |
Latest revision as of 17:27, 20 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
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
|