Template:Faculty: Difference between revisions
No edit summary |
No edit summary |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 9: | Line 9: | ||
| label2=Joined | | label2=Joined | ||
| data2={{{joined|Unknown}}} | | data2={{{joined|Unknown}}} | ||
| label3=Directory | | label3={{#if: {{{directory|}}} | Directory | }} | ||
| data3=[https://scgssm.org/faculty-staff/{{{directory}}} {{{directory}}}] | | data3={{#if: {{{directory|}}} |[https://scgssm.org/faculty-staff/{{{directory}}} {{{directory}}}]| }} | ||
| label4={{#if: {{{difficulty|}}} | Difficulty | }} | | label4={{#if: {{{difficulty|}}} | Difficulty | }} | ||
| data4={{{difficulty|}}} | | data4={{{difficulty|}}} | ||
| label5={{#if: {{{thesis|}}} | Dissertation | }} | |||
| data5={{{thesis|}}} | |||
}} | }} | ||
<noinclude> | <noinclude> | ||
[[Category: Prepared Templates]] | |||
{{Documentation|content= | {{Documentation|content= | ||
== Usage == | == Usage == | ||
Use this template like a normal template. If the difficulty is unknown, don't don't add it. You can find the directory at https://scgssm.org/faculty-staff. Upload photos of faculty members [[Special:Upload|here]]. You can find photos of faculty on the faculty directory page. if you can't find a photo of them, then dont upload one. | |||
}} | }} | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | |||
"name": { | |||
"label": "Name of Faculty Member", | |||
"description": "The name of the faculty member to put at the top of the infobox.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"department": { | |||
"label": "Department", | |||
"description": "The academic department to which the faculty member belongs.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"joined": { | |||
"label": "Joined year", | |||
"description": "The year the faculty member joined the school.", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"directory": { | |||
"label": "SCGSSM Faculty Directory Code", | |||
"description": "The last string of text after https://scgssm.org/faculty-staff/ that links to their page.", | |||
"type": "string", | |||
"required": false, | |||
"example": "john-doe-phd" | |||
}, | |||
"difficulty": { | |||
"label": "Difficulty", | |||
"description": "The difficulty of the teacher from 1-10.", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"subject": { | |||
"label": "Subject", | |||
"description": "The subject that the teacher teaches. Always use the full subject name (e.g. Mathematics instead of Math)", | |||
"example": "Mathematics, Engineering, Chemistry, Biology, Physics, Language Arts, English, Art, Elective", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"thesis": { | |||
"label": "Dissertation", | |||
"description": "Doctoral Dissertation", | |||
"type": "url" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"name", | |||
"department", | |||
"joined", | |||
"directory", | |||
"difficulty", | |||
"subject", | |||
"thesis" | |||
], | |||
"description": "A template for faculty members." | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 13:49, 25 September 2024
[[Category:{{{subject}}} Teachers]] [[Category:{{{subject}}}]] {{#invoke:Infobox|infobox}} {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}} <templatedata> { "params": { "name": { "label": "Name of Faculty Member", "description": "The name of the faculty member to put at the top of the infobox.", "type": "string", "required": true }, "department": { "label": "Department", "description": "The academic department to which the faculty member belongs.", "type": "string", "required": true }, "joined": { "label": "Joined year", "description": "The year the faculty member joined the school.", "type": "string", "required": false }, "directory": { "label": "SCGSSM Faculty Directory Code", "description": "The last string of text after https://scgssm.org/faculty-staff/ that links to their page.", "type": "string", "required": false, "example": "john-doe-phd" }, "difficulty": { "label": "Difficulty", "description": "The difficulty of the teacher from 1-10.", "type": "string", "required": false }, "subject": { "label": "Subject", "description": "The subject that the teacher teaches. Always use the full subject name (e.g. Mathematics instead of Math)", "example": "Mathematics, Engineering, Chemistry, Biology, Physics, Language Arts, English, Art, Elective", "type": "string", "required": true }, "thesis": { "label": "Dissertation", "description": "Doctoral Dissertation", "type": "url" } }, "paramOrder": [ "name", "department", "joined", "directory", "difficulty", "subject", "thesis" ], "description": "A template for faculty members." } </templatedata>