Template:Note: Difference between revisions

From Foxwells Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><nowiki>
<noinclude>
Usage examples:
Usage examples:
* <nowiki>{{Note|text=This is an info note}}</nowiki>
* <nowiki>{{Note|type=error|text=This is an error note}}</nowiki>
* <nowiki>{{Note|type=warn|text=Warning note!}}</nowiki>
* <nowiki>{{Note|type=reminder|text=Reminder note}}</nowiki>
* <nowiki>{{Note|inline=note-inline|text=Inline note}}</nowiki>


* {{Note|text=This is an info note}}
Example output:
* {{Note|type=error|text=This is an error note}}
* {{Note|type=warn|text=Warning note!}}
* {{Note|type=reminder|text=Reminder note}}
* {{Note|inline=1|text=Inline note}}
}}</nowiki></noinclude>


<div role="note" class="note note-info">
{{Note|text=This is an info note}}
{{Note|type=error|text=This is an error note}}
{{Note|type=warn|text=Warning note!}}
{{Note|type=reminder|text=Reminder note}}
{{Note|inline=note-inline|text=Inline note}}
</noinclude>
 
<div role="note" class="note note-{{{type|info}}} {{{inline|}}}">
   {{{text|Note: No content provided.}}}
   {{{text|Note: No content provided.}}}
</div>
</div>

Latest revision as of 01:39, 7 July 2025

Usage examples:

  • {{Note|text=This is an info note}}
  • {{Note|type=error|text=This is an error note}}
  • {{Note|type=warn|text=Warning note!}}
  • {{Note|type=reminder|text=Reminder note}}
  • {{Note|inline=note-inline|text=Inline note}}

Example output:


 This is an info note


 This is an error note


 Warning note!


 Reminder note


 Inline note


 Note: No content provided.