Template:Infobox person: Difference between revisions

From QME Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Reverted
Line 8: Line 8:
|-
|-
| colspan="2" style="text-align:center; font-style:italic; color:#444; padding:4px 6px;" | {{{caption|}}}
| colspan="2" style="text-align:center; font-style:italic; color:#444; padding:4px 6px;" | {{{caption|}}}
<!-- Birth name -->
{{#if:{{{birth_name|}}}
|-
|-
! style="white-space:nowrap; padding:4px 6px;" | Birth name
! style="white-space:nowrap; padding:4px 6px;" | Birth name
| style="padding:4px 6px;" | {{{birth_name|}}}
| style="padding:4px 6px;" | {{{birth_name}}}
}}
<!-- Born (date and/or place) -->
{{#if:{{{birth_date|}}}{{{birth_place|}}}
|-
|-
! style="white-space:nowrap; padding:4px 6px;" | Born
! style="white-space:nowrap; padding:4px 6px;" | Born
| style="padding:4px 6px;" | {{{birth_date|}}}{{#if:{{{birth_place|}}}|<br />{{{birth_place}}}}}
| style="padding:4px 6px;" | {{{birth_date|}}}{{#if:{{{birth_place|}}}|<br />{{{birth_place}}}}
}}
<!-- Died (date and/or place) -->
{{#if:{{{death_date|}}}{{{death_place|}}}
|-
|-
! style="white-space:nowrap; padding:4px 6px;" | Died
! style="white-space:nowrap; padding:4px 6px;" | Died
| style="padding:4px 6px;" | {{{death_date|}}}{{#if:{{{death_place|}}}|<br />{{{death_place}}}}}
| style="padding:4px 6px;" | {{{death_date|}}}{{#if:{{{death_place|}}}|<br />{{{death_place}}}}
}}
<!-- Nationality -->
{{#if:{{{nationality|}}}
|-
|-
! style="white-space:nowrap; padding:4px 6px;" | Nationality
! style="white-space:nowrap; padding:4px 6px;" | Nationality
| style="padding:4px 6px;" | {{{nationality|}}}
| style="padding:4px 6px;" | {{{nationality}}}
}}
<!-- Other names -->
{{#if:{{{other_names|}}}
|-
|-
! style="white-space:nowrap; padding:4px 6px;" | Other names
! style="white-space:nowrap; padding:4px 6px;" | Other names
| style="padding:4px 6px;" | {{{other_names|}}}
| style="padding:4px 6px;" | {{{other_names}}}
}}
<!-- Occupation -->
{{#if:{{{occupation|}}}
|-
|-
! style="white-space:nowrap; padding:4px 6px;" | Occupation
! style="white-space:nowrap; padding:4px 6px;" | Occupation
| style="padding:4px 6px;" | {{{occupation|}}}
| style="padding:4px 6px;" | {{{occupation}}}
}}
<!-- Years active -->
{{#if:{{{years_active|}}}
|-
|-
! style="white-space:nowrap; padding:4px 6px;" | Years active
! style="white-space:nowrap; padding:4px 6px;" | Years active
| style="padding:4px 6px;" | {{{years_active|}}}
| style="padding:4px 6px;" | {{{years_active}}}
}}
<!-- Known for -->
{{#if:{{{known_for|}}}
|-
|-
! style="white-space:nowrap; padding:4px 6px;" | Known for
! style="white-space:nowrap; padding:4px 6px;" | Known for
| style="padding:4px 6px;" | {{{known_for|}}}
| style="padding:4px 6px;" | {{{known_for}}}
}}
<!-- Notable works -->
{{#if:{{{notable_works|}}}
|-
|-
! style="white-space:nowrap; padding:4px 6px;" | Notable works
! style="white-space:nowrap; padding:4px 6px;" | Notable works
| style="padding:4px 6px;" | {{{notable_works|}}}
| style="padding:4px 6px;" | {{{notable_works}}}
}}
<!-- Spouse(s) -->
{{#if:{{{spouse|}}}
|-
|-
! style="white-space:nowrap; padding:4px 6px;" | Spouse(s)
! style="white-space:nowrap; padding:4px 6px;" | Spouse(s)
| style="padding:4px 6px;" | {{{spouse|}}}
| style="padding:4px 6px;" | {{{spouse}}}
}}
<!-- Children -->
{{#if:{{{children|}}}
|-
|-
! style="white-space:nowrap; padding:4px 6px;" | Children
! style="white-space:nowrap; padding:4px 6px;" | Children
| style="padding:4px 6px;" | {{{children|}}}
| style="padding:4px 6px;" | {{{children}}}
}}
<!-- Alma mater -->
{{#if:{{{alma_mater|}}}
|-
|-
! style="white-space:nowrap; padding:4px 6px;" | Alma mater
! style="white-space:nowrap; padding:4px 6px;" | Alma mater
| style="padding:4px 6px;" | {{{alma_mater|}}}
| style="padding:4px 6px;" | {{{alma_mater}}}
}}
<!-- Awards -->
{{#if:{{{awards|}}}
|-
|-
! style="white-space:nowrap; padding:4px 6px;" | Awards
! style="white-space:nowrap; padding:4px 6px;" | Awards
| style="padding:4px 6px;" | {{{awards|}}}
| style="padding:4px 6px;" | {{{awards}}}
}}
<!-- Website -->
{{#if:{{{website|}}}
|-
|-
! style="white-space:nowrap; padding:4px 6px;" | Website
! style="white-space:nowrap; padding:4px 6px;" | Website
| style="padding:4px 6px;" | {{{website|}}}
| style="padding:4px 6px;" | {{{website}}}
}}
<!-- IMDb (already conditional but kept for safety) -->
{{#if:{{{imdb|}}}
|-
|-
! style="white-space:nowrap; padding:4px 6px;" | IMDb
! style="white-space:nowrap; padding:4px 6px;" | IMDb
| style="padding:4px 6px;" | {{#if:{{{imdb|}}}|[https://www.imdb.com/name/{{{imdb}}}/ IMDb]}}
| style="padding:4px 6px;" | [https://www.imdb.com/name/{{{imdb}}}/ IMDb]
|}
}}
|}  
</includeonly>
</includeonly>
<noinclude>
<noinclude>

Revision as of 19:57, 4 October 2025


This is the local Infobox person template for the Quincy Examiner wiki.

Usage example:

{{Infobox person
 | name          = Example Name
 | image         = Example.jpg
 | caption       = Example caption
 | birth_name    = 
 | birth_date    = 
 | birth_place   = 
 | death_date    = 
 | death_place   = 
 | nationality   = 
 | occupation    = 
 | years_active  = 
 | known_for     = 
 | notable_works = 
 | spouse        = 
 | children      = 
 | alma_mater    = 
 | awards        = 
 | website       = 
 | imdb          = nm0000000
}}
By using this site, you agree to the Terms of Use. © 1996–2025 The Quincy Examiner / MTB. All rights reserved.