Difference between revisions of "Template:Infobox Staff"

From TAMS Wiki
Jump to navigation Jump to search
(staff infobox)
 
m (Protected "Template:Infobox Staff" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<div class="infobox">
 
<div class="infobox">
  
<div class="infobox-title" id="staff">{{PAGENAME}}</div>
+
<div class="infobox-title">{{PAGENAME}}</div>
  
{{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image}}}|400px]]</div>}}
+
{{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
  
 
<table>
 
<table>
Line 11: Line 11:
 
</tr>}}
 
</tr>}}
  
{{#if:{{{email|}}}|<tr>
+
{{#if:{{{education-and-degree|}}}|<tr>
     <th>Email</th>
+
     <th>Education(s)</th>
     <td>[mailto:{{{email}}} {{{email}}}]</td>
+
     <td>{{{education-and-degree}}}</td>
 
</tr>}}
 
</tr>}}
  
{{#if:{{{phone|}}}|<tr>
+
{{#if:{{{tams-class-of|}}}|<tr>
     <th>Phone</th>
+
     <th>Class of</th>
     <td>{{{phone}}}</td>
+
     <td>[[:Category:Class of {{{tams-class-of}}}|{{{tams-class-of}}}]]</td>
 
</tr>}}
 
</tr>}}
  
Line 31: Line 31:
 
</tr>}}
 
</tr>}}
  
{{#if:{{{notes|}}}|<tr>
+
{{#if:{{{preferred-name|}}}|<tr>
     <th>Notes</th>
+
     <th>Preferred Name</th>
     <td>{{{notes}}}</td>
+
     <td>{{{preferred-name}}}</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:{{{office|}}}|<tr>
 +
    <th>Office</th>
 +
    <td>{{{office}}}</td>
 +
</tr>}}
 +
 
 +
{{#if:{{{email|}}}|<tr>
 +
    <th>Email</th>
 +
    <td>[mailto:{{{email}}} {{{email}}}]</td>
 +
</tr>}}
 +
 
 +
{{#if:{{{phone|}}}|<tr>
 +
    <th>Phone</th>
 +
    <td>{{{phone}}}</td>
 +
</tr>}}
 +
 
 +
{{#if:{{{appointment-link|}}}|<tr>
 +
    <th>Appointment</th>
 +
    <td>[{{{appointment-link}}} Link]</td>
 
</tr>}}
 
</tr>}}
 
</table>
 
</table>
 
</div>
 
</div>

Latest revision as of 23:25, 8 February 2021

Infobox Staff