Template:Infobox person: Difference between revisions

The Free Encyclopedia of Bharat
Jump to navigation Jump to search
Added omni-case fallback parameter support (e.g. Education vs education), and integrated missing Residence and Birth Date attributes
Restored parameter hierarchy prioritizing strictly Capitalized properties to match VisualEditor output exactly.
 
Line 1: Line 1:
{| 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;"
{| 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:8px 5px; text-align:center;" class="fn" | {{{name|{{{Name|{{PAGENAME}}}}}}}}{{#if:{{{verified|{{{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|{{{Image|}}}}}}|
{{#if:{{{image|{{{Image|}}}}}}|
Line 25: Line 25:
{{!}}-
{{!}}-
}}
}}
{{#if:{{{residence|{{{Residence|}}}}}}|
{{#if:{{{Residence|{{{residence|}}}}}}|
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Residence
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Residence
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{residence|{{{Residence}}}}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{Residence|{{{residence}}}}}}
{{!}}-
{{!}}-
}}
}}
Line 35: Line 35:
{{!}}-
{{!}}-
}}
}}
{{#if:{{{education|{{{Education|}}}}}}|
{{#if:{{{Education|{{{education|}}}}}}|
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Education
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Education
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{education|{{{Education}}}}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{Education|{{{education}}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{occupation|{{{Occupation|}}}}}}|
{{#if:{{{Occupation|{{{occupation|}}}}}}|
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Occupation
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Occupation
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{occupation|{{{Occupation}}}}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{Occupation|{{{occupation}}}}}}
{{!}}-
{{!}}-
}}
}}
Line 50: Line 50:
{{!}}-
{{!}}-
}}
}}
{{#if:{{{industry|{{{Industry|}}}}}}|
{{#if:{{{Industry|{{{industry|}}}}}}|
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Industry
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Industry
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{industry|{{{Industry}}}}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{Industry|{{{industry}}}}}}
{{!}}-
{{!}}-
}}
}}

Latest revision as of 16:45, 20 February 2026

Infobox person}


Template:Documentation