Difference between revisions of "Template:Infobox Club"

From TAMS Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{| class="infobox bordered vevent" style="float: {{{align|right}}}; width: {{#if:{{{width|}}}|{{{width|}}}|30em}}; font-size: 90%; text-align: left;" cellpadding="3" ! colspan="2" style="font-size:110%; text-align: Center; background-color: #CCCCFF;" class="summary" | ''{{{title|{{PAGENAME}}}}}'' {{#if:{{{Image|}}}|<nowiki/> {{!}}- {{!}} colspan="2" style="font-size: 100%; text-align: center;" {{!}} [[File:{{{Image|}}}|300px]]{{#if:{{{caption|}}}|<br/><cite>{{{caption|}}}</cite>|}} }} |- ! style="background-color: #ccccff; white-space: nowrap;" | Date of Birth | {{{ITEM1}}} |- ! style="background-color: #ccccff;" | Place of Birth | {{{ITEM2}}} |- |}
+
<div class="infobox">
 +
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
 +
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
 +
<table>{{#if:{{{advised|}}}|<tr>
 +
    <th>Advised</th>
 +
    <td>{{{advised}}}</td>
 +
</tr>}}{{#if:{{{active-years|}}}|<tr>
 +
    <th>Active Years</th>
 +
    <td>{{{active-years}}}</td>
 +
</tr>}}{{#if:{{{param3|}}}|<tr>
 +
    <th>Parameter 3</th>
 +
    <td>{{{param3}}}</td>
 +
</tr>}}{{#if:{{{param4|}}}|<tr>
 +
    <th>Parameter 4</th>
 +
    <td>{{{param4}}}</td>
 +
</tr>}}{{#if:{{{param5|}}}|<tr>
 +
    <th>Parameter 5</th>
 +
    <td>{{{param5}}}</td>
 +
</tr>}}</table>
 +
</div>

Revision as of 14:25, 5 February 2021

Infobox Club