Template:CourseRank: Difference between revisions

From RHLUG Wiki
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOEDITSECTION__
__NOEDITSECTION__
<div style="border-left: 10px solid {{RankColor|{{{rank|}}}}}; padding-left: 0.5em; background: #8883;">
<div style="border-left: 10px solid {{RankColor|{{{rank|}}}}}; background: #8883;">
<dl>
<div style="background: #aaa4; font-weight: bold; padding-left: 0.5em;">
{{RankName|{{{rank|}}}}}
</div>
<dl style="padding-left: 0.5em;">
<dt>
<dt>
==== {{{course|Course}}} ====
==== {{{course|Course}}} ====
Line 36: Line 39:
| desc  = Software: PSpice
| desc  = Software: PSpice
}}
}}
== TemplateData ==
<templatedata>
{
  "description": "Displays a course with rank-based styling.",
  "params": {
    "course": {
      "label": "Course",
      "description": "The name of the course",
      "type": "string",
      "required": true
    },
    "rank": {
      "label": "Rank",
      "description": "The rank of the course (1, 2, 3, 4, 5)",
      "type": "number",
      "required": true,
      "suggestedvalues": ["1", "2", "3", "4", "5"]
    },
    "desc": {
      "label": "Description",
      "description": "Short description of the course or software used",
      "type": "string",
      "required": false
    }
  }
}
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 05:13, 23 April 2025

Unknown

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

Alternative Software Available

CSSE332 - Operating Systems

Software: gcc, gdb, vim/emacs, svn


VM Required

CSSE123 - Foo Bar

Software: acme, limbo


Dual-Boot Required

ECE380 - Discrete Time and Continuous Systems

Software: PSpice


TemplateData

Displays a course with rank-based styling.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Coursecourse

The name of the course

Stringrequired
Rankrank

The rank of the course (1, 2, 3, 4, 5)

Suggested values
1 2 3 4 5
Numberrequired
Descriptiondesc

Short description of the course or software used

Stringoptional