Difference between revisions of "Template:CourseList"

From TSAS Library
Jump to: navigation, search
Line 23: Line 23:
|fields=Courses._pageName=coursename,{{{2|description,}}}{{{3|teacher,}}}requiredby
|fields=Courses._pageName=coursename,{{{2|description,}}}{{{3|teacher,}}}requiredby
|format=template
|format=template
|template=CourseDisplay
|template=FacultyandStaff
|named args=yes
|named args=yes
|delimiter=<br />
|delimiter=<br />
}}
}}
</includeonly>
</includeonly>

Revision as of 18:22, 24 April 2020

This is the 'Course List' template; it should be called in the following format:

{{CourseList|COLUMNNAME|2|3}}

Where COLUMNNAME can equal:

  • teacher
  • requiredby
  • department
Param Value
2 Add pipe to hide teacher
3 Add pipe to hide description

It transcludes the template {{CourseDisplay}}, which manages the individual entries. Edit the page to see the source code.