Infobox person: Difference between revisions
From UtubeTrollPedia
No edit summary Tag: Manual revert |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | |||
<table class="utp-infobox"> | |||
| | |||
| | <!-- TITLE --> | ||
| | <tr> | ||
| | <th colspan="2" class="utp-title"> | ||
{{{name|{{PAGENAME}}}}} | |||
</th> | |||
</tr> | |||
<!-- IMAGE --> | |||
{{#if:{{{image|}}}| | |||
<tr> | |||
<td colspan="2" class="utp-image"> | |||
[[File:{{{image}}}|220px|alt={{{name|}}}]] | |||
{{#if:{{{caption|}}}| | |||
<div class="utp-caption"> | |||
{{{caption}}} | |||
</div> | |||
}} | }} | ||
</td> | |||
</tr> | |||
}} | |||
<!-- DATA ROW 1 --> | |||
{{#if:{{{data1|}}}| | |||
<tr> | |||
<th scope="row" class="utp-label"> | |||
{{{label1|}}} | |||
</th> | |||
<td class="utp-value"> | |||
{{{data1}}} | |||
</td> | |||
</tr> | |||
}} | |||
<!-- DATA ROW 2 --> | |||
{{#if:{{{data2|}}}| | |||
<tr> | |||
<th scope="row" class="utp-label"> | |||
{{{label2|}}} | |||
</th> | |||
<td class="utp-value"> | |||
{{{data2}}} | |||
</td> | |||
</tr> | |||
}} | |||
<!-- SECTION HEADER --> | |||
{{#if:{{{header3|}}}| | |||
<tr> | |||
<th colspan="2" class="utp-section"> | |||
{{{header3}}} | |||
</th> | |||
</tr> | |||
}} | |||
<!-- DATA ROW 4 --> | |||
{{#if:{{{data4|}}}| | |||
<tr> | |||
<th scope="row" class="utp-label"> | |||
{{{label4|}}} | |||
</th> | |||
<td class="utp-value"> | |||
{{{data4}}} | |||
</td> | |||
</tr> | |||
}} | |||
<!-- DATA ROW 5 --> | |||
{{#if:{{{data5|}}}| | |||
<tr> | |||
<th scope="row" class="utp-label"> | |||
{{{label5|}}} | |||
</th> | |||
<td class="utp-value"> | |||
{{{data5}}} | |||
</td> | |||
</tr> | |||
}} | |||
<!-- SECTION HEADER 6 --> | |||
{{#if:{{{header6|}}}| | |||
<tr> | |||
<th colspan="2" class="utp-section"> | |||
{{{header6}}} | |||
</th> | |||
</tr> | |||
}} | |||
<!-- DATA ROW 7 --> | |||
{{#if:{{{data7|}}}| | |||
<tr> | |||
<th scope="row" class="utp-label"> | |||
{{{label7|}}} | |||
</th> | |||
<td class="utp-value"> | |||
{{{data7}}} | |||
</td> | |||
</tr> | |||
}} | |||
<!-- FOOTER --> | |||
{{#if:{{{footer|}}}| | |||
<tr> | |||
<td colspan="2" class="utp-footer"> | |||
{{{footer}}} | |||
</td> | |||
</tr> | |||
}} | |||
</table> | |||
</includeonly> | |||
