Difference between revisions of "Template:Infobox Person"

From TAMS Wiki
Jump to navigation Jump to search
m (Protected "Template:Infobox Person": commonly used template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
Line 1: Line 1:
 
<div class="infobox">
 
<div class="infobox">
<div class="infobox-title">{{PAGENAME}}</div>{{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}{{#if:{{{nickname|}}} {{{pronoun|}}} {{{known-for|}}} {{{website|}}}|<table>{{#if:{{{nickname|}}}|<tr>
+
<div class="infobox-title">{{PAGENAME}}</div>{{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}{{#if:{{{nickname|}}} {{{pronoun|}}} {{{occupation-after-tams|}}} {{{known-for|}}} {{{website|}}}|<table>{{#if:{{{nickname|}}}|<tr>
 
     <th>Nickname(s)</th>
 
     <th>Nickname(s)</th>
 
     <td>{{{nickname}}}</td>
 
     <td>{{{nickname}}}</td>
Line 7: Line 7:
 
     <th>Pronoun(s)</th>
 
     <th>Pronoun(s)</th>
 
     <td>{{{pronoun}}}</td>
 
     <td>{{{pronoun}}}</td>
 +
</tr>}}
 +
{{#if:{{{occupation|}}}|<tr>
 +
    <th>Occupation</th>
 +
    <td>{{{occupation}}}</td>
 
</tr>}}
 
</tr>}}
 
{{#if:{{{known-for|}}}|<tr>
 
{{#if:{{{known-for|}}}|<tr>
Line 16: Line 20:
 
     <td>{{{website}}}</td>
 
     <td>{{{website}}}</td>
 
</tr>}}
 
</tr>}}
</table>}}{{#if:{{{education-after-tams|}}} {{{class-of|}}} {{{occupation-after-tams|}}}|<div>TAMS-Related</div>
+
</table>}}{{#if:{{{education-after-tams|}}} {{{class-of|}}} {{{track|}}}|<div>TAMS-Related</div>
 
     <table>
 
     <table>
 
     {{#if:{{{class-of|}}}|<tr>
 
     {{#if:{{{class-of|}}}|<tr>
Line 49: Line 53:
 
         <th>Education(s)</th>
 
         <th>Education(s)</th>
 
         <td>{{{education-after-tams}}}</td>
 
         <td>{{{education-after-tams}}}</td>
    </tr>}}
 
    {{#if:{{{occupation-after-tams|}}}|<tr>
 
        <th>Occupation</th>
 
        <td>{{{occupation-after-tams}}}</td>
 
 
     </tr>}}
 
     </tr>}}
 
     {{#if:{{{clubs|}}}|<tr>
 
     {{#if:{{{clubs|}}}|<tr>
Line 100: Line 100:
 
"education-after-tams": {},
 
"education-after-tams": {},
 
"class-of": {},
 
"class-of": {},
"occupation-after-tams": {},
 
 
"track": {
 
"track": {
 
"label": "TAMS Track",
 
"label": "TAMS Track",
Line 128: Line 127:
 
"type": "unknown",
 
"type": "unknown",
 
"suggested": true
 
"suggested": true
 +
},
 +
"occupation": {
 +
"aliases": [
 +
"occupation-after-tams"
 +
]
 
}
 
}
 
},
 
},

Revision as of 20:03, 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
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
Occupationoccupation occupation-after-tams

no description

Unknownoptional