Difference between revisions of "Template:Infobox Person"
Jump to navigation
Jump to search
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|}}} {{{occupation-after-tams|}}} {{{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|}}} {{{education-after-tams|}}} {{{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:{{{education-after-tams|}}}|<tr> | ||
+ | <th>Education(s)</th> | ||
+ | <td>{{{education-after-tams}}}</td> | ||
</tr>}} | </tr>}} | ||
{{#if:{{{occupation-after-tams|}}}|<tr> | {{#if:{{{occupation-after-tams|}}}|<tr> | ||
− | <th>Occupation</th> | + | <th>Occupation(s)</th> |
<td>{{{occupation-after-tams}}}</td> | <td>{{{occupation-after-tams}}}</td> | ||
</tr>}} | </tr>}} | ||
Line 20: | Line 24: | ||
<td>{{{website}}}</td> | <td>{{{website}}}</td> | ||
</tr>}} | </tr>}} | ||
− | </table>}}{{#if:{{{ | + | </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 33: | Line 37: | ||
<th>Pathway</th> | <th>Pathway</th> | ||
<td>[[{{{pathway}}}]]</td> | <td>[[{{{pathway}}}]]</td> | ||
+ | </tr>}} | ||
+ | {{#if:{{{clubs|}}}|<tr> | ||
+ | <th>Club(s)</th> | ||
+ | <td>{{{clubs}}}</td> | ||
+ | </tr>}} | ||
+ | {{#if:{{{roommate|}}}|<tr> | ||
+ | <th>Roommate(s)</th> | ||
+ | <td>{{{roommate}}}</td> | ||
</tr>}} | </tr>}} | ||
{{#if:{{{wing|}}}|<tr> | {{#if:{{{wing|}}}|<tr> | ||
Line 41: | Line 53: | ||
<th>Room(s)</th> | <th>Room(s)</th> | ||
<td>{{{room-number}}}</td> | <td>{{{room-number}}}</td> | ||
− | |||
− | |||
− | |||
− | |||
</tr>}} | </tr>}} | ||
{{#if:{{{prior-high-school|}}}|<tr> | {{#if:{{{prior-high-school|}}}|<tr> | ||
<th>Prior High School</th> | <th>Prior High School</th> | ||
<td>{{{prior-high-school}}}</td> | <td>{{{prior-high-school}}}</td> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</tr>}} | </tr>}} | ||
{{#if:{{{senior-quote|}}}|<tr> | {{#if:{{{senior-quote|}}}|<tr> | ||
Line 91: | Line 91: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
− | "nickname": {}, | + | "nickname": { |
+ | "label": "Nickname" | ||
+ | }, | ||
"pronoun": { | "pronoun": { | ||
"label": "Pronoun(s)", | "label": "Pronoun(s)", | ||
Line 97: | Line 99: | ||
}, | }, | ||
"known-for": {}, | "known-for": {}, | ||
− | "website": {}, | + | "website": { |
− | "education-after-tams": {}, | + | "type": "url" |
− | "class-of": {}, | + | }, |
+ | "education-after-tams": { | ||
+ | "aliases": [ | ||
+ | "education" | ||
+ | ], | ||
+ | "label": "Education(s)" | ||
+ | }, | ||
+ | "class-of": { | ||
+ | "aliases": [ | ||
+ | "class" | ||
+ | ], | ||
+ | "label": "TAMS Class of" | ||
+ | }, | ||
"track": { | "track": { | ||
"label": "TAMS Track", | "label": "TAMS Track", | ||
Line 107: | Line 121: | ||
}, | }, | ||
"wing": { | "wing": { | ||
− | "label": "TAMS Wing", | + | "label": "TAMS Wing(s)", |
− | "suggested": true | + | "suggested": true, |
+ | "example": "A300, D100B, C200A, etc" | ||
}, | }, | ||
"room-number": { | "room-number": { | ||
− | "label": "TAMS Room Number" | + | "label": "TAMS Room Number(s)" |
+ | }, | ||
+ | "roommate": { | ||
+ | "label": "TAMS Roommate(s)" | ||
+ | }, | ||
+ | "prior-high-school": { | ||
+ | "aliases": [ | ||
+ | "high-school", | ||
+ | "highschool" | ||
+ | ], | ||
+ | "label": "Prior School to TAMS" | ||
}, | }, | ||
− | |||
− | |||
"clubs": { | "clubs": { | ||
− | "label": "TAMS | + | "label": "TAMS Club(s)" |
+ | }, | ||
+ | "senior-quote": { | ||
+ | "label": "TAMS Senior Quote" | ||
+ | }, | ||
+ | "research-lab-name": { | ||
+ | "label": "Research Lab" | ||
+ | }, | ||
+ | "research-lab-website": { | ||
+ | "label": "Research Lab Website" | ||
}, | }, | ||
− | |||
− | |||
− | |||
"pathway": { | "pathway": { | ||
"label": "TAMS Pathway", | "label": "TAMS Pathway", | ||
Line 137: | Line 166: | ||
} | } | ||
}, | }, | ||
− | "description": "Add this Infobox to any page dedicated to a person! (student, alumni, staff, and faculty all included!)" | + | "description": "Add this Infobox to any page dedicated to a person! (student, alumni, staff, and faculty all included!)", |
+ | "paramOrder": [ | ||
+ | "image", | ||
+ | "nickname", | ||
+ | "pronoun", | ||
+ | "education-after-tams", | ||
+ | "occupation-after-tams", | ||
+ | "known-for", | ||
+ | "website", | ||
+ | "class-of", | ||
+ | "track", | ||
+ | "pathway", | ||
+ | "clubs", | ||
+ | "wing", | ||
+ | "room-number", | ||
+ | "roommate", | ||
+ | "prior-high-school", | ||
+ | "senior-quote", | ||
+ | "research-lab-name", | ||
+ | "research-lab-website" | ||
+ | ] | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Revision as of 20:16, 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 |
Education(s) | education-after-tams education | no description | Unknown | optional |
Occupation | occupation-after-tams occupation job title | no description | Unknown | optional |
Known-for | known-for | no description | Unknown | optional |
Website | website | no description | URL | optional |
TAMS Class of | class-of class | no description | Unknown | optional |
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 | optional |
TAMS Wing(s) | wing | no description
| Unknown | suggested |
TAMS Room Number(s) | room-number | no description | Unknown | optional |
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 | Unknown | optional |
Research Lab Website | research-lab-website | no description | Unknown | optional |