Difference between revisions of "Template:Note"

(Added note box template)
 
m (Added template styles)
Line 1: Line 1:
<includeonly><div class="infobox notification-{{{type|{{{1|{{META: Error}}}}}}}}">
+
<includeonly>
 +
<templatestyles src="Template:Note/styles.css" />
 +
<div class="infobox notification-{{{type|{{{1|{{META: Error}}}}}}}}">
 
<span class = "boxlabel">
 
<span class = "boxlabel">
 
{{#switch: {{{type|{{{1|{{META: Error}}}}}}}}
 
{{#switch: {{{type|{{{1|{{META: Error}}}}}}}}

Revision as of 21:05, 10 May 2021


Create an info box to highlight important information.

Usage

1 or type: The type of box. Possible values: note, tip, warning, example, important, background. Defaults to note.
2 or text: The text to put in the box.


{{Note|tip|This is a tip}} 
{{Note|type=warning|text=This is a warning}} 

Example

Tip: This is a tip

Warning: This is a warning

Example: Text for an example can go here.


No categories assignedEdit