Difference between revisions of "Template:Infobox Student"

From TAMS Wiki
Jump to navigation Jump to search
(Created page with "<div class="infobox"> <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| <div class="infobox-image">[[File:{{{image}}}|400px]]</div>}} <table>{{#if:{...")
 
(removed room number display)
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<div class="infobox">
 
<div class="infobox">
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
+
 
<div class="infobox-image">[[File:{{{image}}}|400px]]</div>}}
+
<div class="infobox-title">{{PAGENAME}}</div>
<table>{{#if:{{{class-of|}}}|<tr>
+
 
 +
{{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
 +
 
 +
<table>
 +
{{#if:{{{class-of|}}}|<tr>
 
     <th>Class of</th>
 
     <th>Class of</th>
     <td>{{{class-of}}}</td>
+
     <td>[[:Category:Class of {{{class-of}}}|{{{class-of}}}]]</td>
</tr>}}{{#if:{{{topics|}}}|<tr>
+
</tr>}}
     <th>Topics</th>
+
 
     <td>{{{topics}}}</td>
+
{{#if:{{{wing|}}}|<tr>
</tr>}}{{#if:{{{active-years|}}}|<tr>
+
     <th>Wing(s)</th>
     <th>Active Years</th>
+
     <td>{{{wing}}}</td>
     <td>{{{active-years}}}</td>
+
</tr>}}
</tr>}}{{#if:{{{is-advised|}}}|<tr>
+
 
     <th>Advised</th>
+
{{#if:{{{roommate|}}}|<tr>
     <td>{{{is-advised}}}</td>
+
    <th>Roommate(s)</th>
</tr>}}{{#if:{{{website|}}}|<tr>
+
    <td>{{{roommate}}}</td>
 +
</tr>}}
 +
 
 +
{{#if:{{{track|}}}|<tr>
 +
    <th>Track</th>
 +
    <td>[[{{{track}}} Track|{{{track}}}]]</td>
 +
</tr>}}
 +
 
 +
{{#if:{{{pathway|}}}|<tr>
 +
    <th>Pathway</th>
 +
    <td>[[{{{pathway}}}]]</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:{{{nickname|}}}|<tr>
 +
    <th>Nickname(s)</th>
 +
    <td>{{{nickname}}}</td>
 +
</tr>}}
 +
 
 +
{{#if:{{{pronoun|}}}|<tr>
 +
    <th>Pronoun(s)</th>
 +
    <td>{{{pronoun}}}</td>
 +
</tr>}}
 +
 
 +
{{#if:{{{known-for|}}}|<tr>
 +
    <th>Known for</th>
 +
    <td>{{{known-for}}}</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>}}
 +
 
 +
{{#if:{{{website|}}}|<tr>
 
     <th>Website</th>
 
     <th>Website</th>
 
     <td>{{{website}}}</td>
 
     <td>{{{website}}}</td>
</tr>}}</table>
+
</tr>}}
 +
 
 +
{{#if:{{{username|}}}|<tr>
 +
    <th>TAMS Wiki Username</th>
 +
    <td>{{{username}}}</td>
 +
</tr>}}
 +
 
 +
</table>
 
</div>
 
</div>
 +
<noinclude>
 +
<templatedata>
 +
{
 +
"params": {
 +
"image": {},
 +
"class-of": {},
 +
"wing": {},
 +
"roommate": {},
 +
"track": {},
 +
"pathway": {},
 +
"prior-high-school": {},
 +
"education-after-tams": {},
 +
"occupation-after-tams": {},
 +
"nickname": {},
 +
"pronoun": {},
 +
"known-for": {},
 +
"clubs": {},
 +
"senior-quote": {},
 +
"website": {},
 +
"username": {}
 +
},
 +
"description": "Please use Infobox Person. This template is deprecated."
 +
}
 +
</templatedata>
 +
</noinclude>

Latest revision as of 01:00, 14 October 2022

Infobox Student


Please use Infobox Person. This template is deprecated.

Template parameters

ParameterDescriptionTypeStatus
Imageimage

no description

Unknownoptional
Class-ofclass-of

no description

Unknownoptional
Wingwing

no description

Unknownoptional
Roommateroommate

no description

Unknownoptional
Tracktrack

no description

Unknownoptional
Pathwaypathway

no description

Unknownoptional
Prior-high-schoolprior-high-school

no description

Unknownoptional
Education-after-tamseducation-after-tams

no description

Unknownoptional
Occupation-after-tamsoccupation-after-tams

no description

Unknownoptional
Nicknamenickname

no description

Unknownoptional
Pronounpronoun

no description

Unknownoptional
Known-forknown-for

no description

Unknownoptional
Clubsclubs

no description

Unknownoptional
Senior-quotesenior-quote

no description

Unknownoptional
Websitewebsite

no description

Unknownoptional
Usernameusername

no description

Unknownoptional