Difference between revisions of "Template:FacultyandStaff"
From TSAS Library
JStallings (talk | contribs) |
JStallings (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 25: | Line 25: | ||
| data3 = [[{{{department|}}}]] | | data3 = [[{{{department|}}}]] | ||
| label4 = House | | label4 = House | ||
| data4 = {{#if:{{{house|}}}| | | data4 = {{#if:{{{house|}}}|[[{{{house|}}}]]}} | ||
| label5 = Contact | | label5 = Contact | ||
| data5 = {{{email|}}} | | data5 = {{{email|}}} | ||
Line 39: | Line 39: | ||
{{#tweekihide:sidebar-right}} | {{#tweekihide:sidebar-right}} | ||
{{#cargo_query:tables=Courses | |||
|where=Courses.teacher HOLDS "{{PAGENAME}}" | |||
|fields=Courses._pageName=coursename,description,teacher,requiredby | |||
|format=template | |||
|template=CourseDisplay | |||
|named args=yes | |||
|delimiter=<br /> | |||
}} | |||
[[Category:Faculty|{{{lastname}}}]] | [[Category:Faculty|{{{lastname}}}]] | ||
</includeonly> | </includeonly> |
Latest revision as of 14:22, 27 April 2020
This is the "FacultyandStaff" template. It should be called in the following format:
{{FacultyandStaff |lastname= |photo= |department= |house= |email= |joined= |education= |whytsas= |interestingfact= }}
Edit the page to see the template text. This template defines the table "FacultyandStaff". View table.