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|}}} {{{known-for|}}} {{{website|}}}|<table>{{#if:{{{nickname|}}}|<tr> | |
− | <div class="infobox-title">{{PAGENAME}}</div> | ||
− | |||
− | {{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}} | ||
− | |||
− | |||
− | {{#if:{{{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{#if:{{{nickname|}}}|<tr> | ||
<th>Nickname(s)</th> | <th>Nickname(s)</th> | ||
<td>{{{nickname}}}</td> | <td>{{{nickname}}}</td> | ||
</tr>}} | </tr>}} | ||
− | |||
{{#if:{{{pronoun|}}}|<tr> | {{#if:{{{pronoun|}}}|<tr> | ||
<th>Pronoun(s)</th> | <th>Pronoun(s)</th> | ||
<td>{{{pronoun}}}</td> | <td>{{{pronoun}}}</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>}} | </tr>}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{#if:{{{website|}}}|<tr> | {{#if:{{{website|}}}|<tr> | ||
<th>Website</th> | <th>Website</th> | ||
<td>{{{website}}}</td> | <td>{{{website}}}</td> | ||
</tr>}} | </tr>}} | ||
− | </table> | + | </table>}}{{#if:{{{education-after-tams|}}} {{{class-of|}}} {{{occupation-after-tams|}}}|<div class="infobox-title">TAMS-Related</div> |
+ | <table> | ||
+ | {{#if:{{{class-of|}}}|<tr> | ||
+ | <th>Class of</th> | ||
+ | <td>[[:Category:Class of {{{class-of}}}|{{{class-of}}}]]</td> | ||
+ | </tr>}} | ||
+ | {{#if:{{{track|}}}|<tr> | ||
+ | <th>Track</th> | ||
+ | <td>[[{{{track}}} Track|{{{track}}}]]</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>}} | ||
+ | {{#if:{{{roommate|}}}|<tr> | ||
+ | <th>Roommate(s)</th> | ||
+ | <td>{{{roommate}}}</td> | ||
+ | </tr>}} | ||
+ | {{#if:{{{prior-high-school|}}}|<tr> | ||
+ | <th>Prior High School</th> | ||
+ | <td>{{{prior-high-school}}}</td> | ||
+ | </tr>}} | ||
+ | {{#if:{{{education-after-tams|}}}|<tr> | ||
+ | <th>Education(s)</th> | ||
+ | <td>{{{education-after-tams}}}</td> | ||
+ | </tr>}} | ||
+ | {{#if:{{{occupation-after-tams|}}}|<tr> | ||
+ | <th>Occupation</th> | ||
+ | <td>{{{occupation-after-tams}}}</td> | ||
+ | </tr>}} | ||
+ | {{#if:{{{clubs|}}}|<tr> | ||
+ | <th>Club(s)</th> | ||
+ | <td>{{{clubs}}}</td> | ||
+ | </tr>}} | ||
+ | {{#if:{{{senior-quote|}}}|<tr> | ||
+ | <th>Senior Quote</th> | ||
+ | <td>{{{senior-quote}}}</td> | ||
+ | </tr>}} | ||
+ | </table>}}{{#if:{{{research-lab-name|}}} {{{research-lab-website|}}}| | ||
+ | <div class="infobox-title">Research-Related</div> | ||
+ | <table> | ||
+ | {{#if:{{{research-lab-name|}}} {{{research-lab-website|}}} | ||
+ | <tr> | ||
+ | <th>Research Lab</th> | ||
+ | <td>[{{{research-lab-website|}}} {{{research-lab-name}}}]</td> | ||
+ | </tr>}} | ||
+ | </table>}} | ||
</div> | </div> | ||
− | |||
− | |||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
Line 96: | Line 78: | ||
"params": { | "params": { | ||
"image": {}, | "image": {}, | ||
+ | "nickname": {}, | ||
+ | "pronoun": {}, | ||
+ | "known-for": {}, | ||
+ | "website": {}, | ||
+ | "education-after-tams": {}, | ||
"class-of": {}, | "class-of": {}, | ||
+ | "occupation-after-tams": {}, | ||
+ | "track": { | ||
+ | "label": "TAMS Track", | ||
+ | "description": "TAMS Track (not pathway)", | ||
+ | "suggested": true, | ||
+ | "type": "string" | ||
+ | }, | ||
"wing": {}, | "wing": {}, | ||
"room-number": {}, | "room-number": {}, | ||
"roommate": {}, | "roommate": {}, | ||
− | |||
− | |||
"prior-high-school": {}, | "prior-high-school": {}, | ||
− | |||
− | |||
− | |||
− | |||
"clubs": {}, | "clubs": {}, | ||
"senior-quote": {}, | "senior-quote": {}, | ||
− | " | + | "research-lab-name": {}, |
− | + | "research-lab-website": {} | |
− | + | } | |
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Revision as of 15:38, 11 August 2022
Infobox Person
Usage
- Add it
- Thing
- Something
- stuff
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image | no description | Unknown | optional |
Nickname | nickname | no description | Unknown | optional |
Pronoun | pronoun | no description | Unknown | optional |
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 |
Occupation-after-tams | occupation-after-tams | no description | Unknown | optional |
TAMS Track | track | TAMS Track (not pathway) | String | suggested |
Wing | wing | no description | Unknown | optional |
Room-number | room-number | no description | Unknown | optional |
Roommate | roommate | no description | Unknown | optional |
Prior-high-school | prior-high-school | no description | Unknown | optional |
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 |