Jump to content

Template:Faculty: Difference between revisions

From GSSM Wiki
No edit summary
No edit summary
Line 21: Line 21:
<templatedata>
<templatedata>
{
{
    "description": "",
"params": {
    "params": {
"name": {
        "name": {
"label": "Name of Faculty Member",
            "label": "Name of Faculty Member",
"description": "The name of the faculty member to put at the top of the infobox.",
            "description": "The name of the faculty member to put at the top of the infobox.",
"type": "string",
            "type": "string",
"required": true
            "required": true
},
        },
"department": {
      "department": {
"label": "Department",
            "label": "Department",
"description": "The academic department to which the faculty member belongs.",
            "description": "The academic department to which the faculty member belongs.",
"type": "string",
            "type": "string",
"required": true
            "required": true
},
        },
"joined": {
        "joined": {
"label": "Joined year",
            "label": "Joined year",
"description": "The year the faculty member joined the school.",
            "description": "The year the faculty member joined the school.",
"type": "string",
            "type": "string",
"required": false
            "required": false
},
        },
"directory": {
        "directory": {
"label": "SCGSSM Faculty Directory Code",
            "label": "SCGSSM Faculty Directory Code",
"description": "The last string of text after https://scgssm.org/faculty-staff/ that links to their page.",
            "description": "The last string of text after https://scgssm.org/faculty-staff/ that links to their page.",
"type": "string",
            "type": "string",
"required": false
            "required": false
},
        },
"difficulty": {
        "difficulty": {
"label": "Difficulty",
            "label": "Difficulty",
"description": "The difficulty of the teacher from 1-10.",
            "description": "The difficulty of the teacher from 1-10.",
"type": "string",
            "type": "string",
"required": false
            "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>