Template:Infobox person: Difference between revisions
Appearance
Add TemplateStyles include |
Wikipedia-style infobox/citation template |
||
| (One intermediate revision by the same user not shown) | |||
| Line 11: | Line 11: | ||
{{!}} class="infobox-data" {{!}} {{#if:{{{birth_name|}}}|<div class="nickname">{{{birth_name}}}</div>}}{{{born|}}}{{{birth_date|}}}{{#if:{{{birth_place|}}}|<div>{{{birth_place}}}</div>}} | {{!}} class="infobox-data" {{!}} {{#if:{{{birth_name|}}}|<div class="nickname">{{{birth_name}}}</div>}}{{{born|}}}{{{birth_date|}}}{{#if:{{{birth_place|}}}|<div>{{{birth_place}}}</div>}} | ||
}} | }} | ||
{{#if:{{{death_date|{{{death_place|{{{died|}}}}}}}}}| | {{#if:{{{death_date|{{{death_place|{{{died|{{{death_cause|}}}}}}}}}}}}| | ||
{{!}}- | {{!}}- | ||
! class="infobox-label" {{!}} Died | ! class="infobox-label" {{!}} Died | ||
{{!}} class="infobox-data" {{!}} {{{died|}}}{{{death_date|}}}{{#if:{{{death_place|}}}|<div>{{{death_place}}}</div>}} | {{!}} class="infobox-data" {{!}} {{{died|}}}{{{death_date|}}}{{#if:{{{death_place|}}}|<div>{{{death_place}}}</div>}}{{#if:{{{death_cause|}}}|<div>{{{death_cause}}}</div>}} | ||
}} | }} | ||
{{#if:{{{nationality|}}}| | {{#if:{{{nationality|}}}| | ||
| Line 20: | Line 20: | ||
! class="infobox-label" {{!}} Nationality | ! class="infobox-label" {{!}} Nationality | ||
{{!}} class="infobox-data" {{!}} {{{nationality}}} | {{!}} class="infobox-data" {{!}} {{{nationality}}} | ||
}} | |||
{{#if:{{{citizenship|}}}| | |||
{{!}}- | |||
! class="infobox-label" {{!}} Citizenship | |||
{{!}} class="infobox-data" {{!}} {{{citizenship}}} | |||
}} | }} | ||
{{#if:{{{other_names|}}}| | {{#if:{{{other_names|}}}| | ||
| Line 25: | Line 30: | ||
! class="infobox-label" {{!}} Other names | ! class="infobox-label" {{!}} Other names | ||
{{!}} class="infobox-data" {{!}} {{{other_names}}} | {{!}} class="infobox-data" {{!}} {{{other_names}}} | ||
}} | |||
{{#if:{{{education|{{{alma_mater|}}}}}}| | |||
{{!}}- | |||
! class="infobox-label" {{!}} Education | |||
{{!}} class="infobox-data" {{!}} {{{education|{{{alma_mater|}}}}}} | |||
}} | }} | ||
{{#if:{{{occupation|}}}| | {{#if:{{{occupation|}}}| | ||
| Line 40: | Line 50: | ||
! class="infobox-label" {{!}} Known for | ! class="infobox-label" {{!}} Known for | ||
{{!}} class="infobox-data" {{!}} {{{known_for|{{{known|}}}}}} | {{!}} class="infobox-data" {{!}} {{{known_for|{{{known|}}}}}} | ||
}} | |||
{{#if:{{{height|}}}| | |||
{{!}}- | |||
! class="infobox-label" {{!}} Height | |||
{{!}} class="infobox-data" {{!}} {{{height}}} | |||
}} | |||
{{#if:{{{hair_color|{{{hair_colour|}}}}}}| | |||
{{!}}- | |||
! class="infobox-label" {{!}} Hair color | |||
{{!}} class="infobox-data" {{!}} {{{hair_color|{{{hair_colour|}}}}}} | |||
}} | |||
{{#if:{{{eye_color|{{{eye_colour|}}}}}}| | |||
{{!}}- | |||
! class="infobox-label" {{!}} Eye color | |||
{{!}} class="infobox-data" {{!}} {{{eye_color|{{{eye_colour|}}}}}} | |||
}} | |||
{{#if:{{{agency|}}}| | |||
{{!}}- | |||
! class="infobox-label" {{!}} Agency | |||
{{!}} class="infobox-data" {{!}} {{{agency}}} | |||
}} | |||
{{#if:{{{employer|}}}| | |||
{{!}}- | |||
! class="infobox-label" {{!}} Employer | |||
{{!}} class="infobox-data" {{!}} {{{employer}}} | |||
}} | |||
{{#if:{{{notable_works|}}}| | |||
{{!}}- | |||
! class="infobox-label" {{!}} Notable work | |||
{{!}} class="infobox-data" {{!}} {{{notable_works}}} | |||
}} | |||
{{#if:{{{spouse|}}}| | |||
{{!}}- | |||
! class="infobox-label" {{!}} Spouse | |||
{{!}} class="infobox-data" {{!}} {{{spouse}}} | |||
}} | |||
{{#if:{{{partner|}}}| | |||
{{!}}- | |||
! class="infobox-label" {{!}} Partner | |||
{{!}} class="infobox-data" {{!}} {{{partner}}} | |||
}} | |||
{{#if:{{{children|}}}| | |||
{{!}}- | |||
! class="infobox-label" {{!}} Children | |||
{{!}} class="infobox-data" {{!}} {{{children}}} | |||
}} | |||
{{#if:{{{awards|}}}| | |||
{{!}}- | |||
! class="infobox-label" {{!}} Awards | |||
{{!}} class="infobox-data" {{!}} {{{awards}}} | |||
}} | |||
{{#if:{{{criminal_charges|}}}| | |||
{{!}}- | |||
! class="infobox-label" {{!}} Criminal charges | |||
{{!}} class="infobox-data" {{!}} {{{criminal_charges}}} | |||
}} | }} | ||
{{#if:{{{website|}}}| | {{#if:{{{website|}}}| | ||
| Line 45: | Line 110: | ||
! class="infobox-label" {{!}} Website | ! class="infobox-label" {{!}} Website | ||
{{!}} class="infobox-data" {{!}} {{{website}}} | {{!}} class="infobox-data" {{!}} {{{website}}} | ||
}} | |||
{{#if:{{{module|}}}| | |||
{{!}}- | |||
{{!}} colspan="2" class="infobox-data" {{!}} {{{module}}} | |||
}} | }} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
'''Infobox person''' — Wikipedia-shaped biography box. Import as <code>Template:Infobox person</code>. | '''Infobox person''' — Wikipedia-shaped biography box. Import as <code>Template:Infobox person</code>. Omit empty parameters. Put citations on facts with <code><ref></code>; list them in <code>{{Reflist}}</code>. | ||
<pre> | <pre> | ||
{{Infobox person | {{Infobox person | ||
| name | | name = | ||
| birth_name | | image = | ||
| birth_date | | image_size = 220px | ||
| birth_place | | caption = | ||
| death_date | | alt = | ||
| death_place | | birth_name = | ||
| nationality | | birth_date = {{Birth date and age|df=yes|YYYY|M|D}} | ||
| other_names | | birth_place = | ||
| occupation | | death_date = {{Death date and age|df=yes|YYYY|M|D|BY|BM|BD}} | ||
| years_active | | death_place = | ||
| known_for = | | death_cause = | ||
| website | | nationality = | ||
| citizenship = | |||
| other_names = | |||
| education = | |||
| occupation = | |||
| years_active = | |||
| known_for = | |||
| height = | |||
| hair_color = | |||
| eye_color = | |||
| agency = | |||
| employer = | |||
| notable_works = | |||
| spouse = | |||
| partner = | |||
| children = | |||
| awards = | |||
| criminal_charges = | |||
| website = | |||
}} | }} | ||
</pre> | </pre> | ||
Latest revision as of 13:05, 11 September 2026
Infobox person — Wikipedia-shaped biography box. Import as Template:Infobox person. Omit empty parameters. Put citations on facts with <ref>; list them in
.
{{Infobox person
| name =
| image =
| image_size = 220px
| caption =
| alt =
| birth_name =
| birth_date = {{Birth date and age|df=yes|YYYY|M|D}}
| birth_place =
| death_date = {{Death date and age|df=yes|YYYY|M|D|BY|BM|BD}}
| death_place =
| death_cause =
| nationality =
| citizenship =
| other_names =
| education =
| occupation =
| years_active =
| known_for =
| height =
| hair_color =
| eye_color =
| agency =
| employer =
| notable_works =
| spouse =
| partner =
| children =
| awards =
| criminal_charges =
| website =
}}