Infobox person: Difference between revisions

From UtubeTrollPedia

No edit summary
Tag: Manual revert
No edit summary
Line 1: Line 1:
{{Infobox subject
<includeonly>
| name        = John Doe
 
| image      = Placeholder.png
<table class="utp-infobox">
| caption    = A photograph of John Doe in 2026.
 
| label1      = Born
<!-- TITLE -->
| data1      = January 1, 1990
<tr>
| label2      = Nationality
<th colspan="2" class="utp-title">
| data2      = American
 
| header3    = Professional Career
{{{name|{{PAGENAME}}}}}
| label4      = Occupation
 
| data4      = Software Engineer
</th>
| label5      = Website
</tr>
| data5      = [https://example.com example.com]
 
 
<!-- 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>

Revision as of 18:15, 14 July 2026