Jump to content

Template:Faculty: Difference between revisions

From GSSM Wiki
No edit summary
uraghhh why is this so complicated now
Line 18: Line 18:
{{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 57: Line 57:
"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

Revision as of 18:45, 24 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 } }, "paramOrder": [ "name", "department", "joined", "directory", "difficulty", "subject" ], "description": "A template for faculty members." } </templatedata>