Template:Person Infobox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
< | <table class="infobox"> | ||
{{#if:{{{name|}}}| | {{#if:{{{name|}}}| | ||
< | <tr> | ||
<th colspan="2" class="infobox-above">{{{name}}}</th> | |||
</tr> | |||
}} | }} | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
< | <tr> | ||
<td colspan="2" class="infobox-image">[[File:{{{image}}}|frameless|upright=1.2]]</td> | |||
</tr> | |||
}} | }} | ||
{{#if:{{{caption|}}}| | {{#if:{{{caption|}}}| | ||
<tr> | <tr> | ||
< | <td colspan="2" class="infobox-image" style="font-size: 90%;">{{{caption}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{birthdate|{{{birthplace|{{{age|}}}}}}}}}| | ||
<tr> | <tr> | ||
< | <th colspan="2" class="infobox-header">Personal information</th> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{birthname|}}}| | ||
<tr> | <tr> | ||
<td | <th>Born</th> | ||
<td>{{{birthname}}}<br/>{{{birthdate}}}{{#if:{{{birthplace|}}}|<br/>{{{birthplace}}}}}</td> | |||
</tr> | </tr> | ||
|{{#if:{{{birthdate|}}}| | |||
{{#if:{{{ | |||
<tr> | <tr> | ||
<td | <th>Born</th> | ||
<td>{{{birthdate}}}{{#if:{{{birthplace|}}}|<br/>{{{birthplace}}}}}</td> | |||
</tr> | </tr> | ||
}} | }}}} | ||
{{#if:{{{ | {{#if:{{{age|}}}| | ||
<tr> | <tr> | ||
<td | <th>Age</th> | ||
<td>{{{age}}}</td> | |||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{deathdate|}}}| | ||
<tr> | <tr> | ||
<th | <th>Died</th> | ||
<td>{{{deathdate}}}{{#if:{{{deathplace|}}}|<br/>{{{deathplace}}}}}</td> | |||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{nationality|}}}| | ||
<tr> | <tr> | ||
<th | <th>Nationality</th> | ||
<td | <td>{{{nationality}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{other_names|}}}| | ||
<tr> | <tr> | ||
<th | <th>Other names</th> | ||
<td | <td>{{{other_names}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{height|}}}| | ||
<tr> | <tr> | ||
<th | <th>Height</th> | ||
<td | <td>{{{height}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{weight|}}}| | ||
<tr> | <tr> | ||
<th | <th>Weight</th> | ||
<td | <td>{{{weight}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{occupation|{{{known_for|{{{years_active|}}}}}}}}}| | ||
<tr> | <tr> | ||
<th | <th colspan="2" class="infobox-header">Career</th> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{occupation|}}}| | ||
<tr> | <tr> | ||
<th | <th>Occupation</th> | ||
<td | <td>{{{occupation}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{years_active|}}}| | ||
<tr> | <tr> | ||
<th | <th>Years active</th> | ||
<td>{{{years_active}}}</td> | |||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{known_for|}}}| | ||
<tr> | <tr> | ||
<th | <th>Known for</th> | ||
<td | <td>{{{known_for}}}</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if:{{{ | {{#if:{{{notable_works|}}}| | ||
<tr> | <tr> | ||
<th | <th>Notable work</th> | ||
<td | <td>{{{notable_works}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{awards|}}}| | ||
<tr> | <tr> | ||
<th | <th>Awards</th> | ||
<td | <td>{{{awards}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{website|}}}| | ||
<tr> | <tr> | ||
<th | <th>Website</th> | ||
<td | <td>{{{website}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{spouse|{{{partner|{{{children|}}}}}}}}}| | ||
<tr> | <tr> | ||
<th | <th colspan="2" class="infobox-header">Personal life</th> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 138: | Line 134: | ||
{{#if:{{{spouse|}}}| | {{#if:{{{spouse|}}}| | ||
<tr> | <tr> | ||
<th | <th>Spouse(s)</th> | ||
<td | <td>{{{spouse}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 145: | Line 141: | ||
{{#if:{{{partner|}}}| | {{#if:{{{partner|}}}| | ||
<tr> | <tr> | ||
<th | <th>Partner(s)</th> | ||
<td | <td>{{{partner}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 152: | Line 148: | ||
{{#if:{{{children|}}}| | {{#if:{{{children|}}}| | ||
<tr> | <tr> | ||
<th | <th>Children</th> | ||
<td | <td>{{{children}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 159: | Line 155: | ||
{{#if:{{{parents|}}}| | {{#if:{{{parents|}}}| | ||
<tr> | <tr> | ||
<th | <th>Parent(s)</th> | ||
<td | <td>{{{parents}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 166: | Line 162: | ||
{{#if:{{{relatives|}}}| | {{#if:{{{relatives|}}}| | ||
<tr> | <tr> | ||
<th | <th>Relatives</th> | ||
<td | <td>{{{relatives}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 173: | Line 169: | ||
{{#if:{{{education|}}}| | {{#if:{{{education|}}}| | ||
<tr> | <tr> | ||
<th | <th>Education</th> | ||
<td | <td>{{{education}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 180: | Line 176: | ||
{{#if:{{{alma_mater|}}}| | {{#if:{{{alma_mater|}}}| | ||
<tr> | <tr> | ||
<th | <th>Alma mater</th> | ||
<td | <td>{{{alma_mater}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 243: | Line 183: | ||
{{#if:{{{custom1_label|}}}| | {{#if:{{{custom1_label|}}}| | ||
<tr> | <tr> | ||
<th | <th>{{{custom1_label}}}</th> | ||
<td | <td>{{{custom1_data}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 250: | Line 190: | ||
{{#if:{{{custom2_label|}}}| | {{#if:{{{custom2_label|}}}| | ||
<tr> | <tr> | ||
<th | <th>{{{custom2_label}}}</th> | ||
<td | <td>{{{custom2_data}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 257: | Line 197: | ||
{{#if:{{{custom3_label|}}}| | {{#if:{{{custom3_label|}}}| | ||
<tr> | <tr> | ||
<th | <th>{{{custom3_label}}}</th> | ||
<td | <td>{{{custom3_data}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
</table> | </table> | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
| Line 269: | Line 208: | ||
"params": { | "params": { | ||
"name": {}, | "name": {}, | ||
"image": {}, | "image": { | ||
"type": "wiki-file-name" | |||
}, | |||
"caption": {}, | "caption": {}, | ||
"birthdate": {}, | |||
"birthplace": {}, | |||
"age": {}, | "age": {}, | ||
" | "birthname": {}, | ||
"deathdate": {}, | |||
"deathplace": {}, | |||
"nationality": {}, | |||
"other_names": {}, | |||
"height": {}, | "height": {}, | ||
"weight": {}, | |||
"occupation": {}, | "occupation": {}, | ||
" | "known_for": {}, | ||
"years_active": {}, | |||
"notable_works": {}, | |||
"awards": {}, | |||
"website": {}, | "website": {}, | ||
"spouse": {}, | |||
"partner": {}, | |||
"children": {}, | |||
"parents": {}, | |||
"relatives": {}, | |||
"education": {}, | |||
"alma_mater": {}, | |||
"custom1_label": {}, | "custom1_label": {}, | ||
"custom1_data": {}, | "custom1_data": {}, | ||
| Line 284: | Line 242: | ||
"custom3_data": {} | "custom3_data": {} | ||
}, | }, | ||
"description": " | "description": "Template for Persons" | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 15:24, 11 January 2026
Template for Persons
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| name | name | no description | Unknown | optional |
| image | image | no description | File | optional |
| caption | caption | no description | Unknown | optional |
| birthdate | birthdate | no description | Unknown | optional |
| birthplace | birthplace | no description | Unknown | optional |
| age | age | no description | Unknown | optional |
| birthname | birthname | no description | Unknown | optional |
| deathdate | deathdate | no description | Unknown | optional |
| deathplace | deathplace | no description | Unknown | optional |
| nationality | nationality | no description | Unknown | optional |
| other_names | other_names | no description | Unknown | optional |
| height | height | no description | Unknown | optional |
| weight | weight | no description | Unknown | optional |
| occupation | occupation | no description | Unknown | optional |
| known_for | known_for | no description | Unknown | optional |
| years_active | years_active | no description | Unknown | optional |
| notable_works | notable_works | no description | Unknown | optional |
| awards | awards | no description | Unknown | optional |
| website | website | no description | Unknown | optional |
| spouse | spouse | no description | Unknown | optional |
| partner | partner | no description | Unknown | optional |
| children | children | no description | Unknown | optional |
| parents | parents | no description | Unknown | optional |
| relatives | relatives | no description | Unknown | optional |
| education | education | no description | Unknown | optional |
| alma_mater | alma_mater | 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 |