Difference between revisions of "Template:Infobox Person"

From TAMS Wiki
Jump to navigation Jump to search
 
(13 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
     <td>{{{pronoun}}}</td>
 
     <td>{{{pronoun}}}</td>
 
</tr>}}
 
</tr>}}
{{#if:{{{education-after-tams|}}}|<tr>
+
{{#if:{{{education|}}}|<tr>
 
     <th>Education(s)</th>
 
     <th>Education(s)</th>
     <td>{{{education-after-tams}}}</td>
+
     <td>{{{education}}}</td>
 
</tr>}}
 
</tr>}}
{{#if:{{{occupation-after-tams|}}}|<tr>
+
{{#if:{{{occupation|}}}|<tr>
 
     <th>Occupation(s)</th>
 
     <th>Occupation(s)</th>
     <td>{{{occupation-after-tams}}}</td>
+
     <td>{{{occupation}}}</td>
 
</tr>}}
 
</tr>}}
 
{{#if:{{{known-for|}}}|<tr>
 
{{#if:{{{known-for|}}}|<tr>
 
     <th>Known for</th>
 
     <th>Known for</th>
 
     <td>{{{known-for}}}</td>
 
     <td>{{{known-for}}}</td>
 +
</tr>}}
 +
{{#if:{{{wiki-username|}}}|<tr>
 +
    <th>TAMS Wiki Username</th>
 +
    <td>[{{fullurl: Special:Contributions/{{{wiki-username}}}}} {{{wiki-username}}}]</td>
 
</tr>}}
 
</tr>}}
 
{{#if:{{{website|}}}|<tr>
 
{{#if:{{{website|}}}|<tr>
Line 24: Line 28:
 
     <td>{{{website}}}</td>
 
     <td>{{{website}}}</td>
 
</tr>}}
 
</tr>}}
</table>}}{{#if:{{{class-of|}}} {{{track|}}} {{{pathway|}}} {{{clubs|}}} {{{roommate|}}} {{{wing|}}} {{{room-number|}}} {{{prior-high-school|}}} {{{senior-quote|}}}|<div>TAMS-Related</div>
+
</table>}}{{#if:{{{class-of|}}} {{{track|}}} {{{pathway|}}} {{{clubs|}}} {{{roommate|}}} {{{wing|}}} {{{room-number|}}} {{{prior-high-school|}}} {{{senior-quote|}}}|<div>'''TAMS-Related'''</div>
 
     <table>
 
     <table>
 
     {{#if:{{{class-of|}}}|<tr>
 
     {{#if:{{{class-of|}}}|<tr>
Line 45: Line 49:
 
         <th>Roommate(s)</th>
 
         <th>Roommate(s)</th>
 
         <td>{{{roommate}}}</td>
 
         <td>{{{roommate}}}</td>
    </tr>}}
 
    {{#if:{{{wing|}}}|<tr>
 
        <th>Wing(s)</th>
 
        <td>{{{wing}}}</td>
 
    </tr>}}
 
    {{#if:{{{room-number|}}}|<tr>
 
        <th>Room(s)</th>
 
        <td>{{{room-number}}}</td>
 
 
     </tr>}}
 
     </tr>}}
 
     {{#if:{{{prior-high-school|}}}|<tr>
 
     {{#if:{{{prior-high-school|}}}|<tr>
Line 61: Line 57:
 
         <th>Senior Quote</th>
 
         <th>Senior Quote</th>
 
         <td>{{{senior-quote}}}</td>
 
         <td>{{{senior-quote}}}</td>
     </tr>}}</table>}}{{#if:{{{research-lab-name|}}} {{{research-topic|}}} {{{research-lab-website|}}}|<div>Research-Related</div><table>
+
     </tr>}}</table>}}{{#if:{{{research-lab-name|}}} {{{research-topic|}}} {{{research-lab-website|}}}|<div>'''Research-Related'''</div><table>
 
     {{#if:{{{research-lab-name|}}}|<tr>
 
     {{#if:{{{research-lab-name|}}}|<tr>
 
         {{#ifeq:{{{research-lab-website|}}}||<th>Research Lab</th>
 
         {{#ifeq:{{{research-lab-website|}}}||<th>Research Lab</th>
 
         <td>{{{research-lab-name}}}</td>|<th>Research Lab</th>
 
         <td>{{{research-lab-name}}}</td>|<th>Research Lab</th>
         <td>[[{{{research-lab-website}}}|{{{research-lab-name}}}]]</td>}}
+
         <td>[{{{research-lab-website}}} {{{research-lab-name}}}]</td>}}
    </tr>}}
 
    {{#if:{{{research-topic|}}}|<tr>
 
        <th>Research Topic(s)</th>
 
        <td>{{{research-topic}}}</td>
 
 
     </tr>}}
 
     </tr>}}
 
     {{#if:{{{research-topic|}}}|<tr>
 
     {{#if:{{{research-topic|}}}|<tr>
Line 105: Line 97:
 
"website": {
 
"website": {
 
"type": "url"
 
"type": "url"
},
 
"education-after-tams": {
 
"aliases": [
 
"education"
 
],
 
"label": "Education(s)"
 
 
},
 
},
 
"class-of": {
 
"class-of": {
Line 116: Line 102:
 
"class"
 
"class"
 
],
 
],
"label": "TAMS Class of"
+
"label": "TAMS Class of",
 +
"suggested": true
 
},
 
},
 
"track": {
 
"track": {
Line 122: Line 109:
 
"description": "TAMS Track (not pathway)",
 
"description": "TAMS Track (not pathway)",
 
"suggested": true,
 
"suggested": true,
"type": "string"
+
"type": "string",
},
+
"example": "Health Professions, Music, General Science and Mathematics, etc"
"wing": {
 
"label": "TAMS Wing(s)",
 
"suggested": true,
 
"example": "A300, D100B, C200A, etc"
 
},
 
"room-number": {
 
"label": "TAMS Room Number(s)"
 
 
},
 
},
 
"roommate": {
 
"roommate": {
Line 143: Line 123:
 
},
 
},
 
"clubs": {
 
"clubs": {
"label": "TAMS Club(s)"
+
"label": "TAMS Club(s)",
 +
"example": "CSO, Ballot, Ambassadors, Robotics, etc",
 +
"suggested": true
 
},
 
},
 
"senior-quote": {
 
"senior-quote": {
Line 153: Line 135:
 
},
 
},
 
"research-lab-website": {
 
"research-lab-website": {
"label": "Research Lab Website",
+
"label": "Research Lab Website"
"type": "url"
 
 
},
 
},
 
"pathway": {
 
"pathway": {
Line 163: Line 144:
 
"suggested": true
 
"suggested": true
 
},
 
},
"occupation-after-tams": {
+
"research-topic": {
 +
"label": "Research Topic(s)"
 +
},
 +
"education": {
 +
"aliases": [
 +
"education-after-tams"
 +
],
 +
"label": "Education(s)"
 +
},
 +
"occupation": {
 
"aliases": [
 
"aliases": [
"occupation",
+
"occupation-after-tams",
 
"job",
 
"job",
 
"title"
 
"title"
Line 171: Line 161:
 
"label": "Occupation"
 
"label": "Occupation"
 
},
 
},
"research-topic": {
+
"wiki-username": {
"label": "Research Topic(s)"
+
"aliases": [
 +
"username"
 +
],
 +
"label": "TAMS Wiki Username"
 
}
 
}
 
},
 
},
Line 180: Line 173:
 
"nickname",
 
"nickname",
 
"pronoun",
 
"pronoun",
"education-after-tams",
+
"education",
"occupation-after-tams",
+
"occupation",
 
"known-for",
 
"known-for",
 +
"wiki-username",
 
"website",
 
"website",
 
"class-of",
 
"class-of",
Line 188: Line 182:
 
"pathway",
 
"pathway",
 
"clubs",
 
"clubs",
"wing",
 
"room-number",
 
 
"roommate",
 
"roommate",
 
"prior-high-school",
 
"prior-high-school",

Latest revision as of 17:35, 12 October 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
Education(s)education education-after-tams

no description

Unknownoptional
Occupationoccupation occupation-after-tams job title

no description

Unknownoptional
Known-forknown-for

no description

Unknownoptional
TAMS Wiki Usernamewiki-username username

no description

Unknownoptional
Websitewebsite

no description

URLoptional
TAMS Class ofclass-of class

no description

Unknownsuggested
TAMS Tracktrack

TAMS Track (not pathway)

Example
Health Professions, Music, General Science and Mathematics, etc
Stringsuggested
TAMS Pathwaypathway

Pathways! Use track parameter if applicable

Example
Computer Science Pathway, Mathematics Pathway, Electrical Engineering Pathway, etc
Unknownsuggested
TAMS Club(s)clubs

no description

Example
CSO, Ballot, Ambassadors, Robotics, etc
Unknownsuggested
TAMS Roommate(s)roommate

no description

Unknownoptional
Prior School to TAMSprior-high-school high-school highschool

no description

Unknownoptional
TAMS Senior Quotesenior-quote

no description

Unknownoptional
Research Labresearch-lab-name

no description

Stringoptional
Research Lab Websiteresearch-lab-website

no description

Unknownoptional
Research Topic(s)research-topic

no description

Unknownoptional