Template:NoteBox: Difference between revisions

From NeuroWiki
Jump to navigation Jump to search
(Created page with "<includeonly> <div class="note note-{{{1}}}"> {{{2|}}} </div> </includeonly><noinclude> == 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 === <code>{{{NoteBox|info|This is an informational note.}}}</code> produces: <div class="note note-info"> This is an informational note. </div> </noinclude>")
 
No edit summary
Line 12: Line 12:
<code>{{{NoteBox|info|This is an informational note.}}}</code>
<code>{{{NoteBox|info|This is an informational note.}}}</code>
produces:
produces:
<div class="note note-info">
<div role="note" class="note-info">
   This is an informational note.
   This is an informational note.
</div>
</div>
</noinclude>
</noinclude>

Revision as of 18:35, 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.