Difference between revisions of "Template:Infobox Student"

From TAMS Wiki
Jump to navigation Jump to search
(removed room number display)
 
(13 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}}}|300px]]</div>}}
+
<div class="infobox-title">{{PAGENAME}}</div>
 +
 
 +
{{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
 +
 
 
<table>
 
<table>
 
{{#if:{{{class-of|}}}|<tr>
 
{{#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>}}
 
</tr>}}
  
 
{{#if:{{{wing|}}}|<tr>
 
{{#if:{{{wing|}}}|<tr>
     <th>Wing</th>
+
     <th>Wing(s)</th>
 
     <td>{{{wing}}}</td>
 
     <td>{{{wing}}}</td>
 
</tr>}}
 
</tr>}}
  
 
+
{{#if:{{{roommate|}}}|<tr>
{{#if:{{{room-number|}}}|<tr>
+
     <th>Roommate(s)</th>
     <th>Room</th>
+
     <td>{{{roommate}}}</td>
     <td>{{{room-number}}}</td>
 
 
</tr>}}
 
</tr>}}
  
 
{{#if:{{{track|}}}|<tr>
 
{{#if:{{{track|}}}|<tr>
 
     <th>Track</th>
 
     <th>Track</th>
     <td>{{{track}}}</td>
+
     <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>}}
 
</tr>}}
  
 
{{#if:{{{education-after-tams|}}}|<tr>
 
{{#if:{{{education-after-tams|}}}|<tr>
     <th>Education</th>
+
     <th>Education(s)</th>
 
     <td>{{{education-after-tams}}}</td>
 
     <td>{{{education-after-tams}}}</td>
 
</tr>}}
 
</tr>}}
  
{{#if:{{{occupation|}}}|<tr>
+
{{#if:{{{occupation-after-tams|}}}|<tr>
     <th>Occupation(s)</th>
+
     <th>Occupation</th>
     <td>{{{occupation}}}</td>
+
     <td>{{{occupation-after-tams}}}</td>
 
</tr>}}
 
</tr>}}
  
Line 37: Line 49:
 
     <th>Nickname(s)</th>
 
     <th>Nickname(s)</th>
 
     <td>{{{nickname}}}</td>
 
     <td>{{{nickname}}}</td>
 +
</tr>}}
 +
 +
{{#if:{{{pronoun|}}}|<tr>
 +
    <th>Pronoun(s)</th>
 +
    <td>{{{pronoun}}}</td>
 
</tr>}}
 
</tr>}}
  
 
{{#if:{{{known-for|}}}|<tr>
 
{{#if:{{{known-for|}}}|<tr>
     <th>Known for(s)</th>
+
     <th>Known for</th>
 
     <td>{{{known-for}}}</td>
 
     <td>{{{known-for}}}</td>
 
</tr>}}
 
</tr>}}
Line 58: Line 75:
 
     <td>{{{website}}}</td>
 
     <td>{{{website}}}</td>
 
</tr>}}
 
</tr>}}
 +
 +
{{#if:{{{username|}}}|<tr>
 +
    <th>TAMS Wiki Username</th>
 +
    <td>{{{username}}}</td>
 +
</tr>}}
 +
 
</table>
 
</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 02: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