Template:Infobox test: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<table class="infobox player">
<table class="infobox player">
<tbody>
<tr>
<tr>
<th class="name" colspan="2">{{{title|{{PAGENAME}}}}}</th>
<th class="name" colspan="2">{{{title|{{PAGENAME}}}}}</th>
</tr>
</tr>
{{#if:{{{tag|}}}|
{{#if:{{{tag|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<td class="tag" colspan="2">{{{tag}}}</td>
<td class="tag" colspan="2">{{{tag}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
<tr class="mergedtoprow">
<tr class="mergedtoprow">
<td colspan="2">[[File:{{{image}}}|300px]]</td>
<td colspan="2">[[File:{{{image}}}|300px]]</td>
</tr>
</tr>
}}
}}
{{#if:{{{gender|}}}|
{{#if:{{{gender|}}}|
<tr class="mergedtoprow">
<tr class="mergedtoprow">
<th>Gender</th>
<th>Gender</th>
<td>{{{gender}}}</td>
<td>{{{gender}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{race|}}}|
{{#if:{{{race|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th>Race</th>
<th>Race</th>
<td>{{{race}}}</td>
<td>{{{race}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{alignment|}}}|
{{#if:{{{alignment|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th>Alignment</th>
<th>Alignment</th>
<td>{{{alignment}}}</td>
<td>{{{alignment}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{class|}}}|
{{#if:{{{class|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th>Class</th>
<th>Class</th>
<td>{{{class}}}</td>
<td>{{{class}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{height|}}}|
{{#if:{{{height|}}}|
<tr class="mergedtoprow">
<tr class="mergedtoprow">
<th>Height</th>
<th>Height</th>
<td>{{{height}}}</td>
<td>{{{height}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{weight|}}}|
{{#if:{{{weight|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th>Weight</th>
<th>Weight</th>
<td>{{{weight}}}</td>
<td>{{{weight}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{status|}}}|
{{#if:{{{status|}}}|
<tr class="mergedtoprow">
<tr class="mergedtoprow">
<th>Status</th>
<th>Status</th>
<td>{{{status}}}</td>
<td>{{{status}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{born|}}}|
{{#if:{{{born|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th>Born</th>
<th>Born</th>
<td>{{{born}}}</td>
<td>{{{born}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{age|}}}|
{{#if:{{{age|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th>Age</th>
<th>Age</th>
<td>{{{age}}}</td>
<td>{{{age}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{died|}}}|
{{#if:{{{died|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th>Died</th>
<th>Died</th>
<td>{{{died}}}</td>
<td>{{{died}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{campaigns|}}}|
{{#if:{{{campaigns|}}}|
<tr class="mergedtoprow">
<tr class="mergedtoprow">
<th>Campaigns</th>
<th>Campaigns</th>
<td>{{{campaigns}}}</td>
<td>{{{campaigns}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{firstsession|}}}|
{{#if:{{{firstsession|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th>First Session</th>
<th>First Session</th>
<td>{{{firstsession}}}</td>
<td>{{{firstsession}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{lastsession|}}}|
{{#if:{{{lastsession|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th>Last Session</th>
<th>Last Session</th>
<td>{{{lastsession}}}</td>
<td>{{{lastsession}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{charactersheet|}}}|
{{#if:{{{charactersheet|}}}|
<tr class="mergedtoprow">
<tr class="mergedtoprow">
<td colspan="2" class="charactersheet">[{{{charactersheet}}} Character Sheet]</td>
<td colspan="2" class="charactersheet">[{{{charactersheet}}} Character Sheet]</td>
</tr>
</tr>
}}
}}
</tbody>
</table>
</table>

Revision as of 23:59, 13 March 2021

Infobox test