Difference between revisions of "Template:SupportBox"

From Funtoo
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:header_bgcolor|{{#switch: {{{level}}}
<includeonly>{{#vardefine:header_bgcolor|{{#switch: {{{grade}}}
  | A = #3d9a6f
  | A = #3d9a6f
  | B = #5c69a9
  | B = #8da197
  | C = #7694b9
  | C = #7694b9
}}}}{{#vardefine:body_bgcolor|{{#switch: {{{level}}}
}}}}{{#vardefine:body_bgcolor|{{#switch: {{{grade}}}
  | A = #d6eccf
  | A = #d6eccf
  | B = #d6eccf
  | B = #e6ede4
  | C = #cbcce8
  | C = #cbcce8
}}}}<div class="note" style="display: inline-block; background-color: {{#var:body_bgcolor}}; width: 20em;"><div class="note-head" style="background-color: {{#var:header_bgcolor}};"><i class="fa fa-check"></i>&nbsp;&nbsp;&nbsp;{{{title}}} - Grade '{{{grade}}}'</div><div class="note-body" style="padding: 15px;">{{{body}}}
}}}}<div class="note" style="display: inline-block; vertical-align: top; background-color: {{#var:body_bgcolor}}; width: 20em;"><div class="note-head" style="font-size: 0.9em; background-color: {{#var:header_bgcolor}};">{{#fas:check}}</i>&nbsp;&nbsp;&nbsp;{{{title}}} - Grade '{{{grade}}}'</div><div class="note-body" style="padding: 8px; font-size: 0.9em;">{{{body}}}
</div></div></includeonly>
</div></div></includeonly>

Latest revision as of 18:58, February 7, 2022