Template:CourseRank: Difference between revisions
Jump to navigation
Jump to search
AlphaCubed (talk | contribs) 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..." |
No edit summary |
||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
__NOEDITSECTION__< | __NOEDITSECTION__ | ||
<div style="border-left: 10px solid {{RankColor|{{{rank|}}}}}; background: #8883;"> | |||
<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 15: | Line 10: | ||
{{{desc|}}}{{{1|}}} | {{{desc|}}}{{{1|}}} | ||
</dl> | </dl> | ||
</div> | |||
<noinclude> | <noinclude> | ||
__TOC__ | __TOC__ | ||
== Usage == | == Usage == | ||
Most of the time you should use a more specific decedent of the box template such as [[Template:guide:note|guide:note]] or [[Template:guide:file|guide:file]]. | Most of the time you should use a more specific decedent of the box template such as [[Template:guide:note|guide:note]] or [[Template:guide:file|guide:file]]. | ||
Line 42: | 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Course | course | The name of the course | String | required |
Rank | rank | The rank of the course (1, 2, 3, 4, 5)
| Number | required |
Description | desc | Short description of the course or software used | String | optional |