Difference between revisions of "Template:GradedNoticeBar"
From Maths
m |
m (Adding text colour (default black)) |
||
(3 intermediate revisions 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;"><!-- | ||
Line 7: | Line 7: | ||
-->|}}<!-- | -->|}}<!-- | ||
-->{{#if:{{{title|{{{1|}}}}}}|<!-- | -->{{#if:{{{title|{{{1|}}}}}}|<!-- | ||
− | -->< | + | --><div style="text-decoration:underline;font-weight:bold;margin-left:0.2em;font-size:1.2em;margin-bottom:0.3em;"><!-- |
-->{{{title|{{{1|}}}}}}<!-- | -->{{{title|{{{1|}}}}}}<!-- | ||
− | --></ | + | --></div><!-- |
-->|}}<!-- | -->|}}<!-- | ||
--><div style="{{#if:{{{title|{{{1|}}}}}}|border-left:0.2em solid #AAA;margin-left:2em;|}}padding-left:0.2em;"><!-- | --><div style="{{#if:{{{title|{{{1|}}}}}}|border-left:0.2em solid #AAA;margin-left:2em;|}}padding-left:0.2em;"><!-- |
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
blah blah
- A
- B
- C