Jump to content

Template:Infobox person: Difference between revisions

From Computerwhz Wiki
m Protected "Template:Infobox person": Template ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="wikitable" style="float:right; width:300px; margin:0 0 1em 1em; font-size:90%;"
<table class="infobox" style="float:right; clear:right; width:22em; margin:0 0 1em 1em; border:1px solid #a2a9b1; border-spacing:3px; background:#f8f9fa; color:#202122; font-size:88%; line-height:1.5;">
! colspan="2" style="text-align:center; font-size:120%;" | {{{username|{{PAGENAME}}}}}
<tr>
|-
<th colspan="2" style="text-align:center; font-size:125%; font-weight:bold; background:#ccccff;">
{{#if:{{{image|}}}|! colspan="2" style="text-align:center;" {{!}} [[File:{{{image}}}|220px]]}}
{{{title|{{PAGENAME}}}}}
|-
</th>
{{#if:{{{caption|}}}|! colspan="2" style="text-align:center; font-size:85%;" {{!}} {{{caption}}}}}
</tr>
|-
 
{{#if:{{{real_name|}}}|! Real name {{!}} {{{real_name}}}}}
{{#if:{{{image|}}}|
|-
<tr>
{{#if:{{{born|}}}|! Born {{!}} {{{born}}}}}
<td colspan="2" style="text-align:center;">[[File:{{{image}}}|220px]]</td>
|-
</tr>
{{#if:{{{nationality|}}}|! Nationality {{!}} {{{nationality}}}}}
}}
|-
 
{{#if:{{{occupation|}}}|! Occupation {{!}} {{{occupation}}}}}
{{#if:{{{caption|}}}|
|-
<tr>
{{#if:{{{active_dates|}}}|! Active dates {{!}} {{{active_dates}}}}}
<td colspan="2" style="text-align:center; font-size:90%;">{{{caption}}}</td>
|-
</tr>
{{#if:{{{known_for|}}}|! Known for {{!}} {{{known_for}}}}}
}}
|-
 
{{#if:{{{website|}}}|! Website {{!}} {{{website}}}}}
{{#if:{{{username|}}}|
|}
<tr>
<th scope="row" style="text-align:left; white-space:nowrap;">Username</th>
<td>{{{username}}}</td>
</tr>
}}
 
{{#if:{{{real_name|}}}|
<tr>
<th scope="row" style="text-align:left; white-space:nowrap;">Real name</th>
<td>{{{real_name}}}</td>
</tr>
}}
 
{{#if:{{{born|}}}|
<tr>
<th scope="row" style="text-align:left; white-space:nowrap;">Born</th>
<td>{{{born}}}</td>
</tr>
}}
 
{{#if:{{{nationality|}}}|
<tr>
<th scope="row" style="text-align:left; white-space:nowrap;">Nationality</th>
<td>{{{nationality}}}</td>
</tr>
}}
 
{{#if:{{{occupation|}}}|
<tr>
<th scope="row" style="text-align:left; white-space:nowrap;">Occupation</th>
<td>{{{occupation}}}</td>
</tr>
}}
 
{{#if:{{{active_dates|}}}|
<tr>
<th scope="row" style="text-align:left; white-space:nowrap;">Active dates</th>
<td>{{{active_dates}}}</td>
</tr>
}}
 
{{#if:{{{status|}}}|
<tr>
<th scope="row" style="text-align:left; white-space:nowrap;">Status</th>
<td>{{{status}}}</td>
</tr>
}}
 
{{#if:{{{known_for|}}}|
<tr>
<th scope="row" style="text-align:left; white-space:nowrap;">Known for</th>
<td>{{{known_for}}}</td>
</tr>
}}
 
{{#if:{{{website|}}}|
<tr>
<th scope="row" style="text-align:left; white-space:nowrap;">Website</th>
<td>{{{website}}}</td>
</tr>
}}
</table>
</includeonly><noinclude>
</includeonly><noinclude>
== Usage ==
== Usage ==
<pre>
<pre>
{{Infobox person
{{Infobox person
| username =
| title =
| image =
| image =
| caption =
| caption =
| username =
| real_name =
| real_name =
| born =
| born =
Line 33: Line 95:
| occupation =
| occupation =
| active_dates =
| active_dates =
| status =
| known_for =
| known_for =
| website =
| website =

Revision as of 13:42, 1 June 2026

Usage

{{Infobox person
| title =
| image =
| caption =
| username =
| real_name =
| born =
| nationality =
| occupation =
| active_dates =
| status =
| known_for =
| website =
}}