Difference between revisions of "Template:Box Note"
From Coastal Wiki
(Taken from https://en.wiki.bluespice.com/wiki/Manual:Template/Example/Notification_Box) |
m (add styling) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
| + | <templatestyles src="Template:Box_Note/styles.css" /> | ||
<div class="infobox notification-{{{boxtype}}}"> | <div class="infobox notification-{{{boxtype}}}"> | ||
<span class="boxlabel"> | <span class="boxlabel"> | ||
| Line 12: | Line 13: | ||
</span>{{{Note text}}} | </span>{{{Note text}}} | ||
</div> | </div> | ||
| + | <noinclude> | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "boxtype": { | ||
| + | "description": "Possible values: note, tip, warning, example, important, backgroundbox", | ||
| + | "example": "note", | ||
| + | "type": "string", | ||
| + | "default": "note", | ||
| + | "required": true | ||
| + | }, | ||
| + | "Note text": {} | ||
| + | }, | ||
| + | "description": "To add standard info boxes such as notes or warnings to a page" | ||
| + | } | ||
| + | </templatedata> | ||
| + | </noinclude> | ||
Latest revision as of 12:26, 24 March 2021
Notice: {{{Note text}}}
<templatedata> { "params": { "boxtype": { "description": "Possible values: note, tip, warning, example, important, backgroundbox", "example": "note", "type": "string", "default": "note", "required": true }, "Note text": {} }, "description": "To add standard info boxes such as notes or warnings to a page" } </templatedata>