Template:Infobox person: Difference between revisions
Jump to navigation
Jump to search
m Removed gradient styling for clean look |
Added omni-case fallback parameter support (e.g. Education vs education), and integrated missing Residence and Birth Date attributes |
||
| Line 1: | Line 1: | ||
{| class="infobox biography vcard" style="width: | {| class="infobox biography vcard" style="width:25em; text-align:left; font-size:90%; border:1px solid #aaa; background:#f9f9f9; float:right; margin:0 0 1em 1em; clear:right; border-collapse:collapse;" | ||
! colspan="2" style="font-size:125%; font-weight:bold; background-color:#f8f9fa; color:#000; padding:5px; text-align:center;" class="fn" | {{{name|{{PAGENAME}}}}}{{#if:{{{verified|}}}| <span class="verified-badge"></span>}} | ! colspan="2" style="font-size:125%; font-weight:bold; background-color:#f8f9fa; color:#000; padding:8px 5px; text-align:center;" class="fn" | {{{name|{{{Name|{{PAGENAME}}}}}}}}{{#if:{{{verified|{{{Verified|}}}}}}| <span class="verified-badge"></span>}} | ||
|- | |- | ||
{{#if:{{{image|}}}| | {{#if:{{{image|{{{Image|}}}}}}| | ||
{{!}} colspan="2" style="text-align:center; padding: | {{!}} colspan="2" style="text-align:center; padding:15px; border-bottom:1px solid #ddd;" {{!}} [[File:{{{image|{{{Image}}}}}}|250px]] | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{caption|}}}| | {{#if:{{{caption|{{{Caption|}}}}}}| | ||
{{!}} colspan="2" style="text-align:center; font-size:90%;" {{!}} {{{caption}}} | {{!}} colspan="2" style="text-align:center; font-size:90%; border-bottom:1px solid #ddd; padding:5px;" {{!}} {{{caption|{{{Caption}}}}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{birth_name|}}}| | {{#if:{{{birth_name|{{{Birth_name|{{{Birth Name|}}}}}}}}}| | ||
! style="background:#e8e8e8; padding: | ! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Birth Name | ||
{{!}} style="padding: | {{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{birth_name|{{{Birth_name|{{{Birth Name}}}}}}}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{birth_date|{{{Birth_date|{{{Birth Date|}}}}}}}}}| | ||
! style="background:#e8e8e8; padding: | ! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Born | ||
{{!}} style="padding: | {{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{birth_date|{{{Birth_date|{{{Birth Date}}}}}}}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{birth_place|{{{Birth_place|{{{Birth Place|}}}}}}}}}| | ||
! style="background:#e8e8e8; padding: | ! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Birth Place | ||
{{!}} style="padding: | {{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{birth_place|{{{Birth_place|{{{Birth Place}}}}}}}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{residence|{{{Residence|}}}}}}| | ||
! style="background:#e8e8e8; padding: | ! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Residence | ||
{{!}} style="padding: | {{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{residence|{{{Residence}}}}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{nationality|{{{Nationality|}}}}}}| | ||
! style="background:#e8e8e8; padding: | ! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Nationality | ||
{{!}} style="padding: | {{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{nationality|{{{Nationality}}}}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{education|{{{Education|}}}}}}| | ||
! style="background:#e8e8e8; padding: | ! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Education | ||
{{!}} style="padding: | {{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{education|{{{Education}}}}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{occupation|{{{Occupation|}}}}}}| | ||
! style="background:#e8e8e8; padding: | ! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Occupation | ||
{{!}} style="padding: | {{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{occupation|{{{Occupation}}}}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{years_active|{{{Years_active|{{{Years Active|}}}}}}}}}| | ||
! style="background:#e8e8e8; padding: | ! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Years Active | ||
{{!}} style="padding: | {{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{years_active|{{{Years_active|{{{Years Active}}}}}}}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{industry|{{{Industry|}}}}}}| | ||
! style="background:#e8e8e8; padding: | ! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Industry | ||
{{!}} style="padding: | {{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{industry|{{{Industry}}}}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{website|}}}| | {{#if:{{{known_for|{{{Known_for|{{{Known For|}}}}}}}}}| | ||
! style="background:#e8e8e8; padding: | ! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Known For | ||
{{!}} style="padding: | {{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{known_for|{{{Known_for|{{{Known For}}}}}}}}} | ||
{{!}}- | |||
}} | |||
{{#if:{{{awards|{{{Awards|}}}}}}| | |||
! style="background:#e8e8e8; padding:4px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Awards | |||
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{awards|{{{Awards}}}}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{website|{{{Website|}}}}}}| | |||
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Website | |||
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{website|{{{Website}}}}}} | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
|} | |} | ||
{{#if:{{{verified|}}}|[[Category:Verified profiles]]}} | {{#if:{{{verified|{{{Verified|}}}}}}|[[Category:Verified profiles]]}} | ||
<noinclude>[[Category:Infobox templates]]</noinclude> | <noinclude> | ||
{{Documentation}} | |||
[[Category:Infobox templates]] | |||
</noinclude> | |||
Revision as of 16:41, 20 February 2026
| Infobox person |
|---|