Difference between revisions of "Template:NotaBene"

From Usenet Big-8 Management Board
(improve appearance and documentation)
Line 1: Line 1:
<div style="background-color: #EFF0DF; border-width: 1px; border-style: solid; border-color: #CCCCCC; padding:6px">{{{1}}}</div>
+
<div class="card mb-3">
 +
  <p class="card-header text-white bg-primary">{{{1}}}</p>
 +
  <div class="card-body">
 +
 
 +
{{{2}}}
 +
 
 +
</div>
 +
</div>
 +
 
 
<noinclude>
 
<noinclude>
'''Usage:''' <nowiki>{{NotaBene|body of the message}}</nowiki>
+
'''Usage:''' <nowiki>{{NotaBene|title of message|body of the message}}</nowiki>
{{NotaBene|This produces a div with a non-white background color.}}
+
{{NotaBene|Sample title|This template produces a conspicuous message in a box}}
 
</noinclude>
 
</noinclude>

Revision as of 12:36, 10 November 2020

{{{1}}}

{{{2}}}


Usage: {{NotaBene|title of message|body of the message}}

Sample title

This template produces a conspicuous message in a box