Template:Course-link

From School of CS Student Wiki
Jump to navigation Jump to search

[[COMP{{{code}}}|COMP{{{code}}}]]

[edit] [purge] Template documentation

Usage

This template should be used for links to a course unit's main page.

Options

variable values
code The course number.
type Can be any of code, both, fname and sname. Defaults to code. The type will determine what text is displayed for the link. See template:course-fname and template:course-sname.

Example

{{course-link|code=33512}}

Will result in:


COMP33512


{{course-link|code=33512|type=fname}}

Will result in:


User Experience


{{course-link|code=33512|type=sname}}

Will result in:


UX


{{course-link|code=33512|type=both}}

Will result in:


COMP33512:User Experience


Authors

  • gravatar Mbax9mc3 [userbureaucrateditorsysopPHRhYmxlIGNsYXNzPSJ0d3BvcHVwIj48dHI+PHRkIGNsYXNzPSJ0d3BvcHVwLWVudHJ5dGl0bGUiPkdyb3Vwczo8L3RkPjx0ZD51c2VyPGJyIC8+YnVyZWF1Y3JhdDxiciAvPmVkaXRvcjxiciAvPnN5c29wPGJyIC8+PC90ZD48L3RyPjwvdGFibGU+]