Template:Person Infobox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 12: | Line 12: | ||
}} | }} | ||
<table class="infobox-person- | <table class="infobox-person"> | ||
{{#if:{{{name|}}}| | |||
<tr> | |||
<th colspan="2" class="infobox-person-title">{{{name}}}</th> | |||
</tr> | |||
}} | |||
{{#if:{{{image|}}}| | |||
<tr> | |||
<td colspan="2" class="infobox-person-image">[[File:{{{image}}}|frameless|upright=1]]</td> | |||
</tr> | |||
}} | |||
{{#if:{{{caption|}}}| | |||
<tr> | |||
<td colspan="2" class="infobox-person-caption">{{{caption}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{birthdate|{{{age|{{{birthplace|}}}}}}}}}| | |||
<tr> | |||
<th colspan="2" class="infobox-person-header">Personal information</th> | |||
</tr> | |||
}} | |||
{{#if:{{{birthdate|}}}| | |||
<tr> | |||
<th class="infobox-person-label">Born</th> | |||
<td class="infobox-person-data">{{{birthdate}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{birthplace|}}}| | |||
<tr> | |||
<th class="infobox-person-label">Birthplace</th> | |||
<td class="infobox-person-data">{{{birthplace}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{age|}}}| | {{#if:{{{age|}}}| | ||
<tr> | <tr> | ||
< | <th class="infobox-person-label">Age</th> | ||
<td class="infobox-person-data">{{{age}}}</td> | <td class="infobox-person-data">{{{age}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{deathdate|}}}| | ||
<tr> | |||
<th class="infobox-person-label">Died</th> | |||
<td class="infobox-person-data">{{{deathdate}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{nationality|}}}| | |||
<tr> | <tr> | ||
< | <th class="infobox-person-label">Nationality</th> | ||
<td class="infobox-person-data">{{{ | <td class="infobox-person-data">{{{nationality}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 29: | Line 74: | ||
{{#if:{{{height|}}}| | {{#if:{{{height|}}}| | ||
<tr> | <tr> | ||
< | <th class="infobox-person-label">Height</th> | ||
<td class="infobox-person-data">{{{height}}}</td> | <td class="infobox-person-data">{{{height}}}</td> | ||
</tr> | |||
}} | |||
{{#if:{{{weight|}}}| | |||
<tr> | |||
<th class="infobox-person-label">Weight</th> | |||
<td class="infobox-person-data">{{{weight}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{occupation|{{{known_for|}}}}}}}| | |||
<tr> | |||
<th colspan="2" class="infobox-person-header">Career</th> | |||
</tr> | </tr> | ||
}} | }} | ||
| Line 36: | Line 94: | ||
{{#if:{{{occupation|}}}| | {{#if:{{{occupation|}}}| | ||
<tr> | <tr> | ||
< | <th class="infobox-person-label">Occupation</th> | ||
<td class="infobox-person-data">{{{occupation}}}</td> | <td class="infobox-person-data">{{{occupation}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{years_active|}}}| | ||
<tr> | |||
<th class="infobox-person-label">Years active</th> | |||
<td class="infobox-person-data">{{{years_active}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{known_for|}}}| | |||
<tr> | |||
<th class="infobox-person-label">Known for</th> | |||
<td class="infobox-person-data">{{{known_for}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{notable_works|}}}| | |||
<tr> | <tr> | ||
< | <th class="infobox-person-label">Notable work</th> | ||
<td class="infobox-person-data">{{{ | <td class="infobox-person-data">{{{notable_works}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 50: | Line 122: | ||
{{#if:{{{website|}}}| | {{#if:{{{website|}}}| | ||
<tr> | <tr> | ||
< | <th class="infobox-person-label">Website</th> | ||
<td class="infobox-person-data">{{{website}}}</td> | <td class="infobox-person-data">{{{website}}}</td> | ||
</tr> | |||
}} | |||
{{#if:{{{spouse|{{{partner|{{{children|}}}}}}}}}| | |||
<tr> | |||
<th colspan="2" class="infobox-person-header">Personal life</th> | |||
</tr> | |||
}} | |||
{{#if:{{{spouse|}}}| | |||
<tr> | |||
<th class="infobox-person-label">Spouse(s)</th> | |||
<td class="infobox-person-data">{{{spouse}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{partner|}}}| | |||
<tr> | |||
<th class="infobox-person-label">Partner(s)</th> | |||
<td class="infobox-person-data">{{{partner}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{children|}}}| | |||
<tr> | |||
<th class="infobox-person-label">Children</th> | |||
<td class="infobox-person-data">{{{children}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{parents|}}}| | |||
<tr> | |||
<th class="infobox-person-label">Parent(s)</th> | |||
<td class="infobox-person-data">{{{parents}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{relatives|}}}| | |||
<tr> | |||
<th class="infobox-person-label">Relatives</th> | |||
<td class="infobox-person-data">{{{relatives}}}</td> | |||
</tr> | </tr> | ||
}} | }} | ||
| Line 57: | Line 170: | ||
{{#if:{{{custom1_label|}}}| | {{#if:{{{custom1_label|}}}| | ||
<tr> | <tr> | ||
< | <th class="infobox-person-label">{{{custom1_label}}}</th> | ||
<td class="infobox-person-data">{{{custom1_data}}}</td> | <td class="infobox-person-data">{{{custom1_data}}}</td> | ||
</tr> | </tr> | ||
| Line 64: | Line 177: | ||
{{#if:{{{custom2_label|}}}| | {{#if:{{{custom2_label|}}}| | ||
<tr> | <tr> | ||
< | <th class="infobox-person-label">{{{custom2_label}}}</th> | ||
<td class="infobox-person-data">{{{custom2_data}}}</td> | <td class="infobox-person-data">{{{custom2_data}}}</td> | ||
</tr> | </tr> | ||
| Line 71: | Line 184: | ||
{{#if:{{{custom3_label|}}}| | {{#if:{{{custom3_label|}}}| | ||
<tr> | <tr> | ||
< | <th class="infobox-person-label">{{{custom3_label}}}</th> | ||
<td class="infobox-person-data">{{{custom3_data}}}</td> | <td class="infobox-person-data">{{{custom3_data}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
</table> | </table> | ||
</div> | </div> | ||
Revision as of 15:15, 11 January 2026
| Career |
|---|
{{Person Infobox | name = Jane Smith | image = Jane.jpg | age = 30 | height = 5'6" | occupation = Artist | custom1_label = Favorite Color | custom1_data = Blue | custom2_label = Pet | custom2_data = Cat named Whiskers }}
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| name | name | no description | Unknown | optional |
| image | image | no description | Unknown | optional |
| caption | caption | no description | Unknown | optional |
| age | age | no description | Unknown | optional |
| birthdate | birthdate | no description | Unknown | optional |
| height | height | no description | Unknown | optional |
| occupation | occupation | no description | Unknown | optional |
| nationality | nationality | no description | Unknown | optional |
| website | website | no description | Unknown | optional |
| custom1_label | custom1_label | no description | Unknown | optional |
| custom1_data | custom1_data | no description | Unknown | optional |
| custom2_label | custom2_label | no description | Unknown | optional |
| custom2_data | custom2_data | no description | Unknown | optional |
| custom3_label | custom3_label | no description | Unknown | optional |
| custom3_data | custom3_data | no description | Unknown | optional |