Template: TeacherClasses: Difference between revisions
From TSAS Library
JStallings (talk | contribs) No edit summary |
JStallings (talk | contribs) No edit summary |
||
Line 8: | Line 8: | ||
{{#tweekihide: sidebar-right}}{{#cargo_query: | {{#tweekihide: sidebar-right}}{{#cargo_query: | ||
tables=Classes | tables=Classes | ||
|fields= | |fields=Classes.Name, Classes.description, Classes.Requiredby | ||
|where=Classes.Teacher="{{PAGENAME}}" | |where=Classes.Teacher="{{PAGENAME}}" | ||
|order by=Classes.Name ASC | |order by=Classes.Name ASC |
Revision as of 22:20, 14 January 2022
This is the 'TeacherClasses' template. It pulls from the table Classes and filters by pagename for teacher, using Template:ClassDisplay to format. It should be called in the following format:
{{TeacherClasses}}
Edit the page to see the source code.