Difference between revisions of "Template:Infobox Person"
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|}}} {{{ | + | </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>}} | </tr>}} | ||
{{#if:{{{clubs|}}}|<tr> | {{#if:{{{clubs|}}}|<tr> | ||
Line 100: | Line 100: | ||
"education-after-tams": {}, | "education-after-tams": {}, | ||
"class-of": {}, | "class-of": {}, | ||
− | |||
"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!)
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 |
Known-for | known-for | no description | Unknown | optional |
Website | website | no description | Unknown | optional |
Education-after-tams | education-after-tams | no description | Unknown | optional |
Class-of | class-of | no description | Unknown | optional |
TAMS Track | track | TAMS Track (not pathway) | String | suggested |
TAMS Wing | wing | no description | Unknown | suggested |
TAMS Room Number | room-number | no description | Unknown | optional |
Roommate | roommate | no description | Unknown | optional |
Prior-high-school | prior-high-school | no description | Unknown | optional |
TAMS Clubs | clubs | no description | Unknown | optional |
Senior-quote | senior-quote | no description | Unknown | optional |
Research-lab-name | research-lab-name | no description | Unknown | optional |
Research-lab-website | research-lab-website | no description | Unknown | optional |
TAMS Pathway | pathway | Pathways! Use track parameter if applicable
| Unknown | suggested |
Occupation | occupation occupation-after-tams | no description | Unknown | optional |