Difference between revisions of "Template:FacultyandStaff"
From TSAS Library
JStallings (talk | contribs) |
JStallings (talk | contribs) |
||
Line 17: | Line 17: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
{{#cargo_declare:_table=FacultyandStaff|lastname=Text|photo=Page|department=Page|house=Page|email=Email|joined=Date|education=List (,) of String|whytsas=Text|interestingfact=Text}} | {{#cargo_declare:_table=FacultyandStaff|lastname=Text|photo=Page|department=Page|house=Page|email=Email|joined=Date|education=List (,) of String|whytsas=Text|interestingfact=Text}} | ||
</noinclude><includeonly>{{#cargo_store:_table=FacultyandStaff|lastname={{{lastname|}}}|photo={{{photo|}}}|department={{{department|}}}|house={{{house|}}}|email={{{email|}}}|joined={{{joined|}}}|education={{{education|}}}|whytsas={{{whytsas|}}}|interestingfact={{{interestingfact|}}} }}{{Infobox person|bodystyle = border: 0px; background-color: #ffffff;| titlestyle = display: none;| headerstyle = text-align: left; | </noinclude><includeonly>{{#cargo_store:_table=FacultyandStaff|lastname={{{lastname|}}}|photo={{{photo|}}}|department={{{department|}}}|house={{{house|}}}|email={{{email|}}}|joined={{{joined|}}}|education={{{education|}}}|whytsas={{{whytsas|}}}|interestingfact={{{interestingfact|}}} }} | ||
| | {{Infobox person | ||
| bodystyle = border: 0px; background-color: #ffffff; | |||
| titlestyle = display: none; | |||
| headerstyle = text-align: left; | |||
| data2 = {{#if:{{{photo|}}}|[[{{{photo|}}}]]}} | |||
| label3 = Department | |||
| | | data3 = {{{department|}}} | ||
| label4 = House | |||
| | | data4 = {{#if:{{{house|}}}|[[{{{house|}}}]]}} | ||
| | | label5 = Contact | ||
| data5 = {{{email|}}} | |||
| {{#if:{{{house|}}}|[[{{{house|}}}]]}} | | label6 = Joined | ||
| | | data6 = {{{joined|}}} | ||
| label7 = Education | |||
| {{{email|}}} | | data7 = {{#arraymap:{{{education|}}}|,|x|[[x]]}} | ||
| | | label8 = Why TSAS? | ||
| data8 = {{{whytsas|}}} | |||
| {{{joined|}}} | | label9 = Interesting Fact | ||
| | | data9 = {{{interestingfact|}}} | ||
}} | |||
| {{#arraymap:{{{education|}}}|,|x|[[x]]}} | |||
| | |||
| {{{whytsas|}}} | |||
| | |||
| {{{interestingfact|}}} | |||
[[Category:Faculty]] | [[Category:Faculty]] | ||
</includeonly> | </includeonly> |
Revision as of 14:58, 22 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.