注意:
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Template:SupportBox"
Jump to navigation
Jump to search
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:header_bgcolor|{{#switch: {{{grade}}} | <includeonly>{{#vardefine:header_bgcolor|{{#switch: {{{grade}}} | ||
| A = #3d9a6f | | A = #3d9a6f | ||
| B = # | | B = #8da197 | ||
| C = #7694b9 | | C = #7694b9 | ||
}}}}{{#vardefine:body_bgcolor|{{#switch: {{{grade}}} | }}}}{{#vardefine:body_bgcolor|{{#switch: {{{grade}}} | ||
| A = #d6eccf | | A = #d6eccf | ||
| B = # | | 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}};"> | }}}}<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> {{{title}}} - Grade '{{{grade}}}'</div><div class="note-body" style="padding: 8px; font-size: 0.9em;">{{{body}}} | ||
</div></div></includeonly> | </div></div></includeonly> |