Template:CourseRank: Difference between revisions

From RHLUG Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 39: 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)",
      "type": "number",
      "required": true,
      "suggestedvalues": [1, 2, 3]
    },
    "desc": {
      "label": "Description",
      "description": "Short description of the course or software used",
      "type": "string",
      "required": false
    }
  }
}
</templatedata>
</noinclude>
</noinclude>

Revision as of 05:08, 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

Property "params.rank.suggestedvalues[0]" is expected to be of type "string".