Template:Note: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
(Redirected page to wiki2:template:note) Tag: New redirect |
(Removed redirect to wiki2:template:note) Tag: Removed redirect |
||
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;"|#default="background-color:#ffeeee;"}} | |||
|valign="top"|{{#switch:{{{2}}}|error=[[file:rufzeichen.png|50px]][[category:Error]]|gotcha=[[file:rufzeichen.png|50px]]|reminder=[[file:birne.png|50px]]|#default=[[file:note.png|50px]]}} | |||
|{{{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 | |||
===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 | |||
{|border="5" | |||
| | |||
{|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=[[file:rufzeichen.png|50px]]|gotcha=[[file:rufzeichen.png|50px]]|reminder=[[file:birne.png|50px]]|#default=[[file:note.png|50px]]}} | |||
|This is just a note. | |||
|} | |||
|} | |||
<pre>{{note|Error|error}}</pre> | |||
delivers | |||
{|border="5" | |||
| | |||
{|type="wikitable" border="0" style={{#switch:error|error="background-color:#ffbbbb;"|gotcha="background-color:#ffbbbb;"|reminder="background-color:#E7DBBD;"|#default="background-color:#ffeeee;"}} | |||
|valign="top"|{{#switch:error|error=[[file:rufzeichen.png|50px]]|gotcha=[[file:rufzeichen.png|50px]]|reminder=[[file:birne.png|50px]]|#default=[[file:note.png|50px]]}} | |||
|Error | |||
|} | |||
|} | |||
<pre>{{note|Don't forget me!|reminder}}</pre> | |||
delivers | |||
{|border="5" | |||
| | |||
{|type="wikitable" border="0" style={{#switch:reminder|error="background-color:#ffbbbb;"|gotcha="background-color:#ffbbbb;"|reminder="background-color:#E7DBBD;"|#default="background-color:#ffeeee;"}} | |||
|valign="top"|{{#switch:reminder|error=[[file:rufzeichen.png|50px]]|gotcha=[[file:rufzeichen.png|50px]]|reminder=[[file:birne.png|50px]]|#default=[[file:note.png|50px]]}} | |||
|Don't forget me! | |||
|} | |||
|} | |||
[[Category:ContentTemplate]] | |||
</noinclude> |
Revision as of 12:05, 16 September 2019
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
|