Template:Person infobox: Difference between revisions

From Tigerjek
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
|+ style="font-size:120%; font-weight:bold; padding:6px; text-align:center; background:#ececec;" | {{{name|{{PAGENAME}}}}}
|+ style="font-size:120%; font-weight:bold; padding:6px; text-align:center; background:#ececec;" | {{{name|{{PAGENAME}}}}}
|-
|-
| colspan="2"; padding:6px;" | [[File:{{{image|No image.png}}}|220px]]
| colspan="2" style="text-align:center; padding:6px;" | [[File:{{{image|No image.png}}}|220px]]


{{#if:{{{birth_date|}}}{{{birth_place|}}}
{{#if:{{{birth_date|}}}{{{birth_place|}}}
|+ style="width:40%; font-weight:bold; padding:4px;" | Born
|{{!}}-
|+ style="padding:4px;" | {{{birth_date|}}}<br>{{{birth_place|}}}
! Born
| {{{birth_date|}}}<br>{{{birth_place|}}}
}}
}}


{{#if:{{{death_date|}}}{{{death_place|}}}
{{#if:{{{death_date|}}}{{{death_place|}}}
|-
|{{!}}-
| Died
! Died
| style="padding:4px;" | {{{death_date|}}}<br>{{{death_place|}}}
| {{{death_date|}}}<br>{{{death_place|}}}
}}
}}


{{#if:{{{nationality|}}}
{{#if:{{{nationality|}}}
|-
|{{!}}-
| Nationality
! Nationality
| style="padding:4px;" | {{{nationality|}}}
| {{{nationality|}}}
}}
}}


{{#if:{{{occupation|}}}
{{#if:{{{occupation|}}}
|-
|{{!}}-
| Occupation
! Occupation
| style="padding:4px;" | {{{occupation|}}}
| {{{occupation|}}}
}}
}}


{{#if:{{{years_active|}}}
{{#if:{{{years_active|}}}
|-
|{{!}}-
style="width:40%; font-weight:bold; padding:4px;" | Years active
! Years active
| style="padding:4px;" | {{{years_active|}}}
| {{{years_active|}}}
}}
}}


{{#if:{{{spouse|}}}
{{#if:{{{spouse|}}}
|-
|{{!}}-
style="width:40%; font-weight:bold; padding:4px;" | Spouse(s)
! Spouse(s)
| style="padding:4px;" | {{{spouse|}}}
| {{{spouse|}}}
}}
}}


{{#if:{{{children|}}}
{{#if:{{{children|}}}
|-
|{{!}}-
style="width:40%; font-weight:bold; padding:4px;" | Children
! Children
| style="padding:4px;" | {{{children|}}}
| {{{children|}}}
}}
}}


{{#if:{{{notable_works|}}}
{{#if:{{{notable_works|}}}
|-
|{{!}}-
style="width:40%; font-weight:bold; padding:4px;" | Notable works
! Notable works
| style="padding:4px;" | {{{notable_works|}}}
| {{{notable_works|}}}
}}
}}
|}
|}

Revision as of 20:51, 1 October 2025

Person infobox









Usage

Example:

{{Infobox actor
| name          = Emma Watson
| image         = Emma_Watson_2013.jpg
| birth_date    = {{Birth date and age|1990|4|15}}
| birth_place   = Paris, France
| nationality   = British
| occupation    = Actress, activist
| years_active  = 1999–present
| spouse        = –
| children      = –
| notable_works = ''Harry Potter'', ''Beauty and the Beast''
}}