Template:NoteBox: Difference between revisions

From NeuroWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:


=== Example ===
=== Example ===
<code>{{{NoteBox|info|This is an informational note.}}}</code>
<code>{{{NoteBox|info}}}</code>
produces:
produces:
<div role="note" class="note note-info">
<div role="note" class="note note-info">

Revision as of 20:24, 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.