Template:Course Category Overview
From Foss2Serve
(Difference between revisions)
(Created page with "{| class="wikitable" |- ! style="text-align:right;"| Course || {{{capstone}}} |- ! style="text-align:right;"| Course Overview || {{{overview}}} |- ! style="text-alig...") |
m |
||
(21 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
+ | This category is for [[:Category:Learning Activity|Learning Activities]] and other materials appropriate for a '''{{{course}}}''' or similar [[:Category:Courses|Courses]]. | ||
+ | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | ! style="text-align:right;"| Course | + | ! style="text-align:right;"| Course |
+ | | '''{{{course}}}''' | ||
|- | |- | ||
− | ! style="text-align:right;"| Course Overview | + | ! style="text-align:right;"| Course Overview |
+ | | {{{overview}}} | ||
|- | |- | ||
− | ! style="text-align:right;"| Prerequisites | + | ! style="text-align:right;"| Prerequisites |
+ | | {{{prerequisites}}} | ||
|- | |- | ||
|} | |} | ||
+ | <noinclude> | ||
+ | == Usage == | ||
+ | This template provides a consistent overview for [[:Category:Courses|Course categories]]. | ||
+ | It should be invoked with a value for each parameter: | ||
+ | <pre> | ||
+ | {{Course Category Overview | ||
+ | |course= | ||
+ | Capstone | ||
+ | |overview= | ||
+ | Culminating course for students in their final year of the major. | ||
+ | |prerequisites= | ||
+ | Varies, but typically all other required courses in the major. | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | === Notes === | ||
+ | * If we enable [https://www.mediawiki.org/wiki/Extension:ParserFunctions Extension:ParserFunctions] we could include prompts for missing parameters, e.g.: | ||
+ | <pre>{{#if: {{{testing|}}} | {{{testing}}} | Testing is missing. }}</pre> | ||
+ | [[Category:Templates]] | ||
+ | </noinclude> |
Latest revision as of 17:35, 22 January 2019
This category is for Learning Activities and other materials appropriate for a {{{course}}} or similar Courses.
Course | {{{course}}} |
---|---|
Course Overview | {{{overview}}} |
Prerequisites | {{{prerequisites}}} |
Usage
This template provides a consistent overview for Course categories. It should be invoked with a value for each parameter:
{{Course Category Overview |course= Capstone |overview= Culminating course for students in their final year of the major. |prerequisites= Varies, but typically all other required courses in the major. }}
Notes
- If we enable Extension:ParserFunctions we could include prompts for missing parameters, e.g.:
{{#if: {{{testing|}}} | {{{testing}}} | Testing is missing. }}