Difference between revisions of "Template:Infobox Club"

From TAMS Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
<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}}}|400px]]</div>}}
<table>{{#if:{{{topics|}}}|<tr>
+
<table>
 +
{{#if:{{{topics|}}}|<tr>
 
     <th>Topics</th>
 
     <th>Topics</th>
 
     <td>{{{topics}}}</td>
 
     <td>{{{topics}}}</td>
</tr>}}{{#if:{{{active-years|}}}|<tr>
+
</tr>}}
 +
 
 +
{{#if:{{{active-years|}}}|<tr>
 
     <th>Active Years</th>
 
     <th>Active Years</th>
 
     <td>{{{active-years}}}</td>
 
     <td>{{{active-years}}}</td>
</tr>}}{{#if:{{{is-advised|}}}|<tr>
+
</tr>}}
 +
 
 +
{{#if:{{{is-advised|}}}|<tr>
 
     <th>Advised</th>
 
     <th>Advised</th>
 
     <td>{{{is-advised}}}</td>
 
     <td>{{{is-advised}}}</td>
</tr>}}{{#if:{{{website|}}}|<tr>
+
</tr>}}
 +
 
 +
{{#if:{{{current-advisor|}}}|<tr>
 +
    <th>Advisor</th>
 +
    <td>{{{current-advisor}}}</td>
 +
</tr>}}
 +
 
 +
{{#if:{{{current-execs|}}}|<tr>
 +
    <th>Execs</th>
 +
    <td>{{{current-execs}}}</td>
 +
</tr>}}
 +
 
 +
{{#if:{{{major-events|}}}|<tr>
 +
    <th>Events</th>
 +
    <td>{{{major-events}}}</td>
 +
</tr>}}
 +
 
 +
{{#if:{{{website|}}}|<tr>
 
     <th>Website</th>
 
     <th>Website</th>
 
     <td>{{{website}}}</td>
 
     <td>{{{website}}}</td>
</tr>}}{{#if:{{{email|}}}|<tr>
+
</tr>}}
 +
 
 +
{{#if:{{{email|}}}|<tr>
 
     <th>Email</th>
 
     <th>Email</th>
 
     <td>{{{email}}}</td>
 
     <td>{{{email}}}</td>
</tr>}}</table>
+
</tr>}}
 +
</table>
 
</div>
 
</div>

Revision as of 00:05, 6 February 2021

Infobox Club