Template:Infobox person: Difference between revisions
Template page
More actions
Premium theme-aware person infobox: responsive layout, accessible portraits, title fallback, supported fields and corrected documentation |
Support existing writer fields and notableworks alias; retain semantic row headers |
||
| Line 5: | Line 5: | ||
{{#if:{{{caption|}}}|<div class="bhi-infobox-caption">{{{caption}}}</div>}} | {{#if:{{{caption|}}}|<div class="bhi-infobox-caption">{{{caption}}}</div>}} | ||
<div class="bhi-infobox-data"> | <div class="bhi-infobox-data"> | ||
<table | <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_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_date|}}}|<tr><th scope="row">Born</th><td>{{{birth_date|}}}</td></tr>}} | ||
| Line 16: | Line 19: | ||
{{#if:{{{years_active|}}}|<tr><th scope="row">Years active</th><td>{{{years_active|}}}</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:{{{known_for|{{{Known_for|}}}}}}|<tr><th scope="row">Known for</th><td>{{{known_for|{{{Known_for|}}}}}}</td></tr>}} | ||
{{#if:{{{notable_works|}}}|<tr><th scope="row">Notable works</th><td>{{{notable_works|}}}</td></tr>}} | {{#if:{{{notable_works|{{{notableworks|}}}}}}|<tr><th scope="row">Notable works</th><td>{{{notable_works|}}}</td></tr>}} | ||
{{#if:{{{education|}}}|<tr><th scope="row">Education</th><td>{{{education|}}}</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:{{{alma_mater|}}}|<tr><th scope="row">Alma mater</th><td>{{{alma_mater|}}}</td></tr>}} | ||
| Line 33: | Line 36: | ||
| image_alt = | | image_alt = | ||
| caption = | | caption = | ||
| native_name = | |||
| pseudonym = | |||
| language = | |||
| birth_name = | | birth_name = | ||
| birth_date = | | birth_date = | ||
| Line 50: | Line 56: | ||
}} | }} | ||
</pre> | </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 | 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. | 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> | </noinclude> | ||
Revision as of 16:50, 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.