Difference between revisions of "Template:Infobox Person"

From TAMS Wiki
Jump to navigation Jump to search
Line 25: Line 25:
 
         <th>Track</th>
 
         <th>Track</th>
 
         <td>[[{{{track}}} Track|{{{track}}}]]</td>
 
         <td>[[{{{track}}} Track|{{{track}}}]]</td>
 +
    </tr>}}
 +
    {{#if:{{{pathway|}}}|<tr>
 +
        <th>Pathway</th>
 +
        <td>[[{{{pathway}}}]]</td>
 
     </tr>}}
 
     </tr>}}
 
     {{#if:{{{wing|}}}|<tr>
 
     {{#if:{{{wing|}}}|<tr>
Line 77: Line 81:
 
{
 
{
 
"params": {
 
"params": {
"image": {},
+
"image": {
 +
"aliases": [
 +
"picture",
 +
"photo"
 +
],
 +
"label": "Image",
 +
"description": "Add a photo!",
 +
"type": "wiki-file-name",
 +
"suggested": true
 +
},
 
"nickname": {},
 
"nickname": {},
"pronoun": {},
+
"pronoun": {
 +
"label": "Pronoun(s)",
 +
"suggested": true
 +
},
 
"known-for": {},
 
"known-for": {},
 
"website": {},
 
"website": {},
Line 91: Line 107:
 
"type": "string"
 
"type": "string"
 
},
 
},
"wing": {},
+
"wing": {
"room-number": {},
+
"label": "TAMS Wing",
 +
"suggested": true
 +
},
 +
"room-number": {
 +
"label": "TAMS Room Number"
 +
},
 
"roommate": {},
 
"roommate": {},
 
"prior-high-school": {},
 
"prior-high-school": {},
"clubs": {},
+
"clubs": {
 +
"label": "TAMS Clubs"
 +
},
 
"senior-quote": {},
 
"senior-quote": {},
 
"research-lab-name": {},
 
"research-lab-name": {},
"research-lab-website": {}
+
"research-lab-website": {},
}
+
"pathway": {
 +
"label": "TAMS Pathway",
 +
"description": "Pathways! Use track parameter if applicable",
 +
"example": "Computer Science Pathway, Mathematics Pathway, Electrical Engineering Pathway, etc",
 +
"type": "unknown",
 +
"suggested": true
 +
}
 +
},
 +
"description": "Add this Infobox to any page dedicated to a person! (student, alumni, staff, and faculty all included!)"
 
}
 
}
 
</templatedata></noinclude>
 
</templatedata></noinclude>

Revision as of 19:09, 12 August 2022

Infobox Person

Usage

  • Add it
  • Thing
  • Something
  • stuff

Add this Infobox to any page dedicated to a person! (student, alumni, staff, and faculty all included!)

Template parameters

ParameterDescriptionTypeStatus
Imageimage picture photo

Add a photo!

Filesuggested
Nicknamenickname

no description

Unknownoptional
Pronoun(s)pronoun

no description

Unknownsuggested
Known-forknown-for

no description

Unknownoptional
Websitewebsite

no description

Unknownoptional
Education-after-tamseducation-after-tams

no description

Unknownoptional
Class-ofclass-of

no description

Unknownoptional
Occupation-after-tamsoccupation-after-tams

no description

Unknownoptional
TAMS Tracktrack

TAMS Track (not pathway)

Stringsuggested
TAMS Wingwing

no description

Unknownsuggested
TAMS Room Numberroom-number

no description

Unknownoptional
Roommateroommate

no description

Unknownoptional
Prior-high-schoolprior-high-school

no description

Unknownoptional
TAMS Clubsclubs

no description

Unknownoptional
Senior-quotesenior-quote

no description

Unknownoptional
Research-lab-nameresearch-lab-name

no description

Unknownoptional
Research-lab-websiteresearch-lab-website

no description

Unknownoptional
TAMS Pathwaypathway

Pathways! Use track parameter if applicable

Example
Computer Science Pathway, Mathematics Pathway, Electrical Engineering Pathway, etc
Unknownsuggested