Difference between revisions of "Template:GradedNoticeBar"
From Maths
m (Too big) |
m (Adding bottom margin) |
||
Line 1: | Line 1: | ||
<includeonly><div><!-- | <includeonly><div><!-- | ||
− | --><div style="width:80%;margin-left:auto;margin-right:auto;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 #FFEB8E;padding:0.2em;overflow:auto;background-color:#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;"><!-- |
Revision as of 13:40, 10 May 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
blah blah
- A
- B
- C