Template:Faculty: Difference between revisions
No edit summary |
No edit summary |
||
| Line 21: | Line 21: | ||
<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 | |||
}, | |||
"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", | |||
"type": "string", | |||
"required": true | |||
} | |||
}, | |||
"paramOrder": [ | |||
"name", | |||
"department", | |||
"joined", | |||
"directory", | |||
"difficulty", | |||
"subject" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Revision as of 04:56, 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 }, "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", "type": "string", "required": true } }, "paramOrder": [ "name", "department", "joined", "directory", "difficulty", "subject" ] } </templatedata>