注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Template:SupportBox"

From Funtoo
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{{#vardefine:header_bgcolor|{{#switch: {{{grade}}}
<includeonly>{{#vardefine:header_bgcolor|{{#switch: {{{grade}}}
  | A = #3d9a6f
  | A = #3d9a6f
  | B = #5c69a9
  | B = #787244
  | C = #7694b9
  | C = #7694b9
}}}}{{#vardefine:body_bgcolor|{{#switch: {{{grade}}}
}}}}{{#vardefine:body_bgcolor|{{#switch: {{{grade}}}
  | A = #d6eccf
  | A = #d6eccf
  | B = #d6eccf
  | B = #c1b87d
  | 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; 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></div></includeonly>
</div></div></includeonly>

Revision as of 02:29, November 16, 2021