Template:Biography: Difference between revisions
Template page
More actions
Deploy Template:Biography (2026-08-27 07:35:24) |
Wrap Born/Died place in a dedicated span instead of relying on <br/> line position, so infobox CSS can target it reliably (fixes wrapped Occupation/Role values being incorrectly muted) |
||
| Line 6: | Line 6: | ||
| content = <tr class="wv-infobox-section-header"><th colspan="2">Personal Details</th></tr> | | content = <tr class="wv-infobox-section-header"><th colspan="2">Personal Details</th></tr> | ||
{{#if: {{{date_of_birth|}}}{{{place_of_birth|}}}{{{birth_date|}}}{{{birth_place|}}} | | {{#if: {{{date_of_birth|}}}{{{place_of_birth|}}}{{{birth_date|}}}{{{birth_place|}}} | | ||
<tr class="wv-infobox-row"><th class="wv-infobox-label">Born</th><td class="wv-infobox-data">{{{date_of_birth|{{{birth_date|}}}}}}{{#if: {{{place_of_birth|{{{birth_place|}}}}}} | < | <tr class="wv-infobox-row"><th class="wv-infobox-label">Born</th><td class="wv-infobox-data">{{{date_of_birth|{{{birth_date|}}}}}}{{#if: {{{place_of_birth|{{{birth_place|}}}}}} | <span class="wv-infobox-subtext">{{{place_of_birth|{{{birth_place|}}}}}}</span> }}</td></tr> | ||
}} | }} | ||
{{#if: {{{date_of_death|}}}{{{place_of_death|}}}{{{death_date|}}}{{{death_place|}}} | | {{#if: {{{date_of_death|}}}{{{place_of_death|}}}{{{death_date|}}}{{{death_place|}}} | | ||
<tr class="wv-infobox-row"><th class="wv-infobox-label">Died</th><td class="wv-infobox-data">{{{date_of_death|{{{death_date|}}}}}}{{#if: {{{place_of_death|{{{death_place|}}}}}} | < | <tr class="wv-infobox-row"><th class="wv-infobox-label">Died</th><td class="wv-infobox-data">{{{date_of_death|{{{death_date|}}}}}}{{#if: {{{place_of_death|{{{death_place|}}}}}} | <span class="wv-infobox-subtext">{{{place_of_death|{{{death_place|}}}}}}</span> }}</td></tr> | ||
}} | }} | ||
{{#if: {{{nationality|}}} | | {{#if: {{{nationality|}}} | | ||
| Line 50: | Line 50: | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 12:45, 9 September 2026
| Name | Biography |
|---|---|
| Role | Biographical Record |
| Personal Details | |
| Career & Education | |
| Recognition & Links | |