Difference between revisions of "Template:Infobox Person"
Jump to navigation
Jump to search
Zachary Li (talk | contribs) |
|||
(17 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
<td>{{{pronoun}}}</td> | <td>{{{pronoun}}}</td> | ||
</tr>}} | </tr>}} | ||
− | {{#if:{{{education | + | {{#if:{{{education|}}}|<tr> |
<th>Education(s)</th> | <th>Education(s)</th> | ||
− | <td>{{{education | + | <td>{{{education}}}</td> |
</tr>}} | </tr>}} | ||
− | {{#if:{{{occupation | + | {{#if:{{{occupation|}}}|<tr> |
<th>Occupation(s)</th> | <th>Occupation(s)</th> | ||
− | <td>{{{occupation | + | <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>}} | </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> | ||
− | <th>Research Lab</th> | + | {{#ifeq:{{{research-lab-website|}}}||<th>Research Lab</th> |
− | <td>{{{research-lab-name}}}</td> | + | <td>{{{research-lab-name}}}</td>|<th>Research Lab</th> |
− | + | <td>[{{{research-lab-website}}} {{{research-lab-name}}}]</td>}} | |
− | |||
− | |||
− | <td>{{{research- | ||
</tr>}} | </tr>}} | ||
{{#if:{{{research-topic|}}}|<tr> | {{#if:{{{research-topic|}}}|<tr> | ||
Line 104: | Line 97: | ||
"website": { | "website": { | ||
"type": "url" | "type": "url" | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
"class-of": { | "class-of": { | ||
Line 115: | Line 102: | ||
"class" | "class" | ||
], | ], | ||
− | "label": "TAMS Class of" | + | "label": "TAMS Class of", |
+ | "suggested": true | ||
}, | }, | ||
"track": { | "track": { | ||
Line 121: | 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" | |
− | |||
− | |||
− | |||
− | "example": " | ||
− | |||
− | |||
− | |||
}, | }, | ||
"roommate": { | "roommate": { | ||
Line 142: | 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 148: | Line 131: | ||
}, | }, | ||
"research-lab-name": { | "research-lab-name": { | ||
− | "label": "Research Lab" | + | "label": "Research Lab", |
+ | "type": "string" | ||
}, | }, | ||
"research-lab-website": { | "research-lab-website": { | ||
Line 160: | Line 144: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
− | " | + | "research-topic": { |
+ | "label": "Research Topic(s)" | ||
+ | }, | ||
+ | "education": { | ||
"aliases": [ | "aliases": [ | ||
− | "occupation", | + | "education-after-tams" |
+ | ], | ||
+ | "label": "Education(s)" | ||
+ | }, | ||
+ | "occupation": { | ||
+ | "aliases": [ | ||
+ | "occupation-after-tams", | ||
"job", | "job", | ||
"title" | "title" | ||
], | ], | ||
"label": "Occupation" | "label": "Occupation" | ||
+ | }, | ||
+ | "wiki-username": { | ||
+ | "aliases": [ | ||
+ | "username" | ||
+ | ], | ||
+ | "label": "TAMS Wiki Username" | ||
} | } | ||
}, | }, | ||
Line 174: | Line 173: | ||
"nickname", | "nickname", | ||
"pronoun", | "pronoun", | ||
− | "education | + | "education", |
− | "occupation | + | "occupation", |
"known-for", | "known-for", | ||
+ | "wiki-username", | ||
"website", | "website", | ||
"class-of", | "class-of", | ||
Line 182: | Line 182: | ||
"pathway", | "pathway", | ||
"clubs", | "clubs", | ||
− | |||
− | |||
"roommate", | "roommate", | ||
"prior-high-school", | "prior-high-school", | ||
"senior-quote", | "senior-quote", | ||
"research-lab-name", | "research-lab-name", | ||
− | "research-lab-website" | + | "research-lab-website", |
+ | "research-topic" | ||
] | ] | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Latest revision as of 16: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!)
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image picture photo | Add a photo! | File | suggested |
Nickname | nickname | no description | Unknown | optional |
Pronoun(s) | pronoun | no description | Unknown | suggested |
Education(s) | education education-after-tams | no description | Unknown | optional |
Occupation | occupation occupation-after-tams job title | no description | Unknown | optional |
Known-for | known-for | no description | Unknown | optional |
TAMS Wiki Username | wiki-username username | no description | Unknown | optional |
Website | website | no description | URL | optional |
TAMS Class of | class-of class | no description | Unknown | suggested |
TAMS Track | track | TAMS Track (not pathway)
| String | suggested |
TAMS Pathway | pathway | Pathways! Use track parameter if applicable
| Unknown | suggested |
TAMS Club(s) | clubs | no description
| Unknown | suggested |
TAMS Roommate(s) | roommate | no description | Unknown | optional |
Prior School to TAMS | prior-high-school high-school highschool | no description | Unknown | optional |
TAMS Senior Quote | senior-quote | no description | Unknown | optional |
Research Lab | research-lab-name | no description | String | optional |
Research Lab Website | research-lab-website | no description | Unknown | optional |
Research Topic(s) | research-topic | no description | Unknown | optional |