Template: TeacherClasses: Difference between revisions
From TSAS Library
JStallings (talk | contribs) No edit summary Tag: Reverted |
JStallings (talk | contribs) No edit summary Tag: Reverted |
||
Line 15: | Line 15: | ||
<div class="alert alert-primary">'''Courses available in the upcoming school year.'''</div> | <div class="alert alert-primary">'''Courses available in the upcoming school year.'''</div> | ||
{{#cargo_query: | {{#cargo_query: | ||
Line 28: | Line 29: | ||
<div id="tab2" class="tab-pane fade" role="tabpanel" aria-labelledby="tab2Label"> | <div id="tab2" class="tab-pane fade" role="tabpanel" aria-labelledby="tab2Label"> | ||
<div class="tip tip">'''Courses offered previously and not currently available.'''</div> | <div class="tip tip">'''Courses offered previously and not currently available.'''</div> | ||
{{#cargo_query: | {{#cargo_query: | ||
tables=Classes | tables=Classes |
Revision as of 13:21, 20 February 2022
This is the 'TeacherClasses' template. It pulls from the table Classes and filters by pagename for teacher, using Template:ClassDisplay to format. Because "Classes.Teacher" is not an included field, it is not displayed. It should be called in the following format:
{{TeacherClasses}}
Which yields the following for teacher Kelly Foshee:
Courses available in the upcoming school year.
Error: operator for the virtual field 'Classes.Teacher' must be 'HOLDS', 'HOLDS NOT', 'HOLDS LIKE' or 'HOLDS NOT LIKE'.
Courses offered previously and not currently available.
Error: operator for the virtual field 'Classes.Teacher' must be 'HOLDS', 'HOLDS NOT', 'HOLDS LIKE' or 'HOLDS NOT LIKE'.
Capstones
No results