Difference between revisions of "Template:CourseList"
From TSAS Library
JStallings (talk | contribs) |
JStallings (talk | contribs) |
||
Line 12: | Line 12: | ||
{{#cargo_query:tables=Courses | {{#cargo_query:tables=Courses | ||
|where=Courses.{{{1}}} HOLDS "{{PAGENAME}}" | |where=Courses.{{{1}}} HOLDS "{{PAGENAME}}" | ||
|fields=Courses._pageName=coursename,description,teacher, | |fields=Courses._pageName=coursename,description,teacher,requiredby | ||
|format=template | |format=template | ||
|template=CourseDisplay | |template=CourseDisplay |
Revision as of 11:19, 24 April 2020
This is the 'Course List' template; it should be called in the following format:
{{CourseList|COLUMNNAME}}
Where column name can equal:
- teacher
- requiredby
It transcludes the template {{CourseDisplay}}, which manages the individual entries. Edit the page to see the source code.