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:{...")
 
Line 1: Line 1:
 
<div class="infobox">
 
<div class="infobox">
 
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
 
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{{image}}}|400px]]</div>}}
+
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<table>{{#if:{{{class-of|}}}|<tr>
+
<table>
 +
{{#if:{{{class-of|}}}|<tr>
 
     <th>Class of</th>
 
     <th>Class of</th>
 
     <td>{{{class-of}}}</td>
 
     <td>{{{class-of}}}</td>
</tr>}}{{#if:{{{topics|}}}|<tr>
+
</tr>}}
     <th>Topics</th>
+
 
     <td>{{{topics}}}</td>
+
{{#if:{{{education|}}}|<tr>
</tr>}}{{#if:{{{active-years|}}}|<tr>
+
    <th>Education</th>
     <th>Active Years</th>
+
    <td>{{{education}}}</td>
     <td>{{{active-years}}}</td>
+
</tr>}}
</tr>}}{{#if:{{{is-advised|}}}|<tr>
+
 
     <th>Advised</th>
+
{{#if:{{{occupation|}}}|<tr>
     <td>{{{is-advised}}}</td>
+
    <th>Occupation(s)</th>
</tr>}}{{#if:{{{website|}}}|<tr>
+
    <td>{{{occupation}}}</td>
 +
</tr>}}
 +
 
 +
{{#if:{{{nickname|}}}|<tr>
 +
     <th>Nickname(s)</th>
 +
     <td>{{{nickname}}}</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>}}
 +
</table>
 
</div>
 
</div>

Revision as of 00:02, 6 February 2021

Infobox Student