Difference between revisions of "Template:GradedNoticeBar"

From Maths
Jump to: navigation, search
m
m (Adding text colour (default black))
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<includeonly><div><!--  
 
<includeonly><div><!--  
   --><div style="width:80%;margin-left:auto;margin-right:auto;margin-bottom:0.2em;border:0.3em solid #FFEB8E;padding:0.2em;overflow:auto;background-color:#FFF9E3;"><!--
+
   --><div style="width:80%;margin-left:auto;margin-right:auto;margin-bottom:0.2em;border:0.3em solid {{{bordercolour|#FFEB8E}}};padding:0.2em;overflow:auto;color:{{{textcolour|#000000}}};background-color:{{{bgcolour|#FFF9E3}}};"><!--
 
       -->{{#if:{{{grade|}}}|<!--
 
       -->{{#if:{{{grade|}}}|<!--
 
         --><div style="border:0.2em solid #0D6ABE;background-color:#E0EEF7;float:right;min-width:20%;padding-left:0.2em;padding-right:0.2em;font-weight:bold;text-align:center;"><!--
 
         --><div style="border:0.2em solid #0D6ABE;background-color:#E0EEF7;float:right;min-width:20%;padding-left:0.2em;padding-right:0.2em;font-weight:bold;text-align:center;"><!--

Latest revision as of 16:07, 13 November 2016

Using the template

{{GradedNoticeBar|title=Testing notice bar|content|Blah blah blah<br/>blah blah * A * B * C And so forth|grade=Grade A Theorem}} generates:

Grade A Theorem
Testing notice bar
Blah blah blah
blah blah
  • A
  • B
  • C
And so forth