Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox person: Difference between revisions

Template page
mNo edit summary
Apply notableworks alias consistently to writer field value as well as its visibility condition
 
(61 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="max-width: 22em; margin-left: auto; margin-top: 1em; margin-bottom: 1em;">
<templatestyles src="Template:Main Page/Style.css" />
{| class="infobox" style="width: 100%; font-size: 90%; border: 1px solid #aaa; border-collapse: separate;"
<div class="infobox bhi-infobox">
|-
<div class="bhi-infobox-title">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</div>
! colspan="2" style="text-align:center; font-size:120%; font-weight:bold; background:#ddd; padding: 0.4em;" | {{{name|{{PAGENAME}}}}}
{{#if:{{{image|}}}|<div class="bhi-infobox-media">[[File:{{{image}}}|300px|center|alt={{#if:{{{image_alt|{{{alt|}}}}}}|{{{image_alt|{{{alt|}}}}}}|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}]]</div>}}
|-
{{#if:{{{caption|}}}|<div class="bhi-infobox-caption">{{{caption}}}</div>}}
| style="text-align:center; padding: 0.5em;" colspan="2" |
<div class="bhi-infobox-data">
{{#if: {{{image|}}} | [[File:{{{image}}}|220px|alt={{{name|}}}]] }}
<table>{{#if:{{{native_name|}}}|<tr><th scope="row">Native name</th><td>{{{native_name|}}}</td></tr>}}{{#if:{{{pseudonym|}}}|<tr><th scope="row">Pen name</th><td>{{{pseudonym|}}}</td></tr>}}{{#if:{{{language|{{{languages|}}}}}}|<tr><th scope="row">Languages</th><td>{{{language|{{{languages|}}}}}}</td></tr>}}{{#if:{{{birth_name|}}}|<tr><th scope="row">Birth name</th><td>{{{birth_name|}}}</td></tr>}}{{#if:{{{birth_date|}}}|<tr><th scope="row">Born</th><td>{{{birth_date|}}}</td></tr>}}{{#if:{{{birth_place|}}}|<tr><th scope="row">Birthplace</th><td>{{{birth_place|}}}</td></tr>}}{{#if:{{{death_date|}}}|<tr><th scope="row">Died</th><td>{{{death_date|}}}</td></tr>}}{{#if:{{{death_place|}}}|<tr><th scope="row">Place of death</th><td>{{{death_place|}}}</td></tr>}}{{#if:{{{nationality|}}}|<tr><th scope="row">Nationality</th><td>{{{nationality|}}}</td></tr>}}{{#if:{{{other_names|}}}|<tr><th scope="row">Other names</th><td>{{{other_names|}}}</td></tr>}}{{#if:{{{occupation|}}}|<tr><th scope="row">Occupation</th><td>{{{occupation|}}}</td></tr>}}{{#if:{{{years_active|}}}|<tr><th scope="row">Years active</th><td>{{{years_active|}}}</td></tr>}}{{#if:{{{known_for|{{{Known_for|}}}}}}|<tr><th scope="row">Known for</th><td>{{{known_for|{{{Known_for|}}}}}}</td></tr>}}{{#if:{{{notable_works|{{{notableworks|}}}}}}|<tr><th scope="row">Notable works</th><td>{{{notable_works|{{{notableworks|}}}}}}</td></tr>}}{{#if:{{{education|}}}|<tr><th scope="row">Education</th><td>{{{education|}}}</td></tr>}}{{#if:{{{alma_mater|}}}|<tr><th scope="row">Alma mater</th><td>{{{alma_mater|}}}</td></tr>}}{{#if:{{{awards|}}}|<tr><th scope="row">Awards</th><td>{{{awards|}}}</td></tr>}}{{#if:{{{website|}}}|<tr><th scope="row">Website</th><td>{{{website|}}}</td></tr>}}</table>
|-
! style="padding: 0.3em 0.5em; width: 30%;" | Gender
| style="padding: 0.3em 0.5em;" | {{{gender|}}}
|-
! style="padding: 0.3em 0.5em;" | Age
| style="padding: 0.3em 0.5em;" | {{{age|}}}
|-
! style="padding: 0.3em 0.5em;" | Born
| style="padding: 0.3em 0.5em;" | {{{birth_name|}}}
|-
! style="padding: 0.3em 0.5em;" | Birth date
| style="padding: 0.3em 0.5em;" | {{{birth_date|}}}
|-
! style="padding: 0.3em 0.5em;" | Birth place
| style="padding: 0.3em 0.5em;" | {{{birth_place|}}}
|-
! style="padding: 0.3em 0.5em;" | Parents
| style="padding: 0.3em 0.5em;" | {{{parents|}}}
|-
! style="padding: 0.3em 0.5em;" | Relatives
| style="padding: 0.3em 0.5em;" | {{{relatives|}}}
|-
! style="padding: 0.3em 0.5em;" | Nationality
| style="padding: 0.3em 0.5em;" | {{{nationality|}}}
|-
! style="padding: 0.3em 0.5em;" | Other names
| style="padding: 0.3em 0.5em;" | {{{other_names|}}}
|-
! style="padding: 0.3em 0.5em;" | Occupation
| style="padding: 0.3em 0.5em;" | {{{occupation|}}}
|-
! style="padding: 0.3em 0.5em;" | Years active
| style="padding: 0.3em 0.5em;" | {{{years_active|}}}
|-
! style="padding: 0.3em 0.5em;" | Known for
| style="padding: 0.3em 0.5em;" | {{{known_for|}}}
|-
! style="padding: 0.3em 0.5em;" | Notable work(s)
| style="padding: 0.3em 0.5em;" | {{{notable_works|}}}
|-
! style="padding: 0.3em 0.5em;" | Home town
| style="padding: 0.3em 0.5em;" | {{{home_town|}}}
|-
! style="padding: 0.3em 0.5em;" | Website
| style="padding: 0.3em 0.5em;" | {{#if: {{{website|}}} | [{{{website}}} {{{website}}}] }}
|-
! colspan="2" style="background:#f0f0f0; text-align:center; font-weight:bold; padding: 0.4em;" | Attributes
|-
! style="padding: 0.3em 0.5em;" | Height
| style="padding: 0.3em 0.5em;" | {{{height|}}}
|-
! style="padding: 0.3em 0.5em;" | Weight
| style="padding: 0.3em 0.5em;" | {{{weight|}}}
|-
! style="padding: 0.3em 0.5em;" | Hair color
| style="padding: 0.3em 0.5em;" | {{{hair|}}}
|-
! style="padding: 0.3em 0.5em;" | Eye color
| style="padding: 0.3em 0.5em;" | {{{eyes|}}}
|}
</div>
</div>
</div>
<noinclude>
== Usage ==
Add this infobox near the beginning of a biography. Blank optional fields are hidden. Data is entered by editors; this template does not verify biographical claims or query a live database.
<pre>
{{Infobox person
| name =
| image =
| image_alt =
| caption =
| native_name =
| pseudonym =
| language =
| birth_name =
| birth_date =
| birth_place =
| death_date =
| death_place =
| nationality =
| other_names =
| occupation =
| years_active =
| known_for =
| notable_works =
| education =
| alma_mater =
| awards =
| website =
}}
</pre>
Use a filename without the File: prefix for image, and a descriptive image_alt. Use a complete website URL or a formatted external link. The legacy Known_for and notableworks parameters are also accepted. A missing or blank name uses the article title. Supported fields are listed above; unrelated parameters are not rendered.
This template uses shared, scoped Bhikitia styles and adapts to the Citizen color theme. Previous versions and attribution remain available in the page history.
</noinclude>

Latest revision as of 16:57, 31 October 2026

Infobox person


Usage

Add this infobox near the beginning of a biography. Blank optional fields are hidden. Data is entered by editors; this template does not verify biographical claims or query a live database.

{{Infobox person
| name =
| image =
| image_alt =
| caption =
| native_name =
| pseudonym =
| language =
| birth_name =
| birth_date =
| birth_place =
| death_date =
| death_place =
| nationality =
| other_names =
| occupation =
| years_active =
| known_for =
| notable_works =
| education =
| alma_mater =
| awards =
| website =
}}

Use a filename without the File: prefix for image, and a descriptive image_alt. Use a complete website URL or a formatted external link. The legacy Known_for and notableworks parameters are also accepted. A missing or blank name uses the article title. Supported fields are listed above; unrelated parameters are not rendered.

This template uses shared, scoped Bhikitia styles and adapts to the Citizen color theme. Previous versions and attribution remain available in the page history.

Contents