Template:NoteBox: Difference between revisions

From NeuroWiki
Jump to navigation Jump to search
Line 17: Line 17:
{{NoteBox |error}}error{{NoteBoxEnd}}
{{NoteBox |error}}error{{NoteBoxEnd}}


<code>{{NoteBox|info}}</code>
<code>&lt;!-- {{NoteBox|info}} --&gt;</code>
produces:
produces:
<div role="note" class="note note-info">
<div role="note" class="note note-info">

Revision as of 20:38, 17 January 2024

Usage

This template is used to create a note box. It has one parameter:

  • The parameter is the type of the note (info, reminder, warn, error).

followed by html code and ends with closer template NoteBoxEnd

Example

primary w-25
secondary w-50
info w-75
reminder
warn
error

<!--

-->

produces:

This is an informational note.