Template:NoteBox: Difference between revisions

From NeuroWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<div role="note" class="note note-{{{1}}}">
<div role="note" class="note note-{{{1}}}">
   {{{2}}}
   <p>{{{2}}}</p>
</div>
</div>
</includeonly><noinclude>
</includeonly><noinclude>

Revision as of 18:45, 17 January 2024

Usage

This template is used to create a note box. It has two parameters:

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

Example

info produces:

This is an informational note.