Template:CourseRank: Difference between revisions

From RHLUG Wiki
Jump to navigation Jump to search
Created page with "__NOEDITSECTION__<dl style=" background: #FBFBFB; padding-left: 0.5em; border: 1px solid #aaa; border-left: 10px solid #{{#switch: {{{rank|}}} | 1 = dc0000 | 2..."
 
test color fix
Line 1: Line 1:
__NOEDITSECTION__<dl style="
__NOEDITSECTION__
| color = {{#switch: {{{rank|}}}
  | 1 = #dc0000
  | 2 = #dcdc00
  | 3 = #00dc00
  | #default = #000000
}}
 
<dl style="
   background: #FBFBFB;
   background: #FBFBFB;
   padding-left: 0.5em;
   padding-left: 0.5em;
   border: 1px solid #aaa;
   border: 1px solid #aaa;
   border-left: 10px solid #{{#switch: {{{rank|}}}
   border-left: 10px solid {{{color}}};
    | 1 = dc0000
    | 2 = dcdc00
    | 3 = 00dc00
    | #default = 000000
  }};
">
">
<dt>
<dt>

Revision as of 04:08, 23 April 2025

| color =

  1. 000000

Course

Usage

Most of the time you should use a more specific decedent of the box template such as guide:note or guide:file.

{{CourseRank
  | course = Course Name
  | rank   = {1,2,3}
  | [desc   =] Description
}}

Examples

| color =

  1. 00dc00

CSSE332 - Operating Systems

Software: gcc, gdb, vim/emacs, svn


| color =

  1. dcdc00

CSSE123 - Foo Bar

Software: acme, limbo


| color =

  1. dc0000

ECE380 - Discrete Time and Continuous Systems

Software: PSpice