Jump to content

Template:Faculty: Difference between revisions

From GSSM Wiki
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 13: Line 13:
| 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.
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>
Line 56: Line 60:
"label": "Subject",
"label": "Subject",
"description": "The subject that the teacher teaches. Always use the full subject name (e.g. Mathematics instead of Math)",
"description": "The subject that the teacher teaches. Always use the full subject name (e.g. Mathematics instead of Math)",
"example": "Mathematics",
"example": "Mathematics, Engineering, Chemistry, Biology, Physics, Language Arts, English, Art, Elective",
"type": "string",
"type": "string",
"required": true
"required": true
},
"thesis": {
"label": "Dissertation",
"description": "Doctoral Dissertation",
"type": "url"
}
}
},
},
Line 67: Line 76:
"directory",
"directory",
"difficulty",
"difficulty",
"subject"
"subject",
"thesis"
],
],
"description": "A template for faculty members."
"description": "A template for faculty members."

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>