Template:Infobox person: Difference between revisions

m Removed gradient styling for clean look
Restored parameter hierarchy prioritizing strictly Capitalized properties to match VisualEditor output exactly.
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{| class="infobox biography vcard" style="width:22em; text-align:left; font-size:90%; border:1px solid #aaa; background:#f9f9f9;"
{| 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:5px;" {{!}} [[File:{{{image}}}|220px]]
{{!}} 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:4px 8px;" {{!}} Birth Name
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Birth Name
{{!}} style="padding:4px 8px;" {{!}} {{{birth_name}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{birth_name|{{{Birth_name|{{{Birth Name}}}}}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{birth_place|}}}|
{{#if:{{{birth_date|{{{Birth_date|{{{Birth Date|}}}}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Birth Place
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Born
{{!}} style="padding:4px 8px;" {{!}} {{{birth_place}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{birth_date|{{{Birth_date|{{{Birth Date}}}}}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{nationality|}}}|
{{#if:{{{birth_place|{{{Birth_place|{{{Birth Place|}}}}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Nationality
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Birth Place
{{!}} style="padding:4px 8px;" {{!}} {{{nationality}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{birth_place|{{{Birth_place|{{{Birth Place}}}}}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{education|}}}|
{{#if:{{{Residence|{{{residence|}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Education
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Residence
{{!}} style="padding:4px 8px;" {{!}} {{{education}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{Residence|{{{residence}}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{occupation|}}}|
{{#if:{{{nationality|{{{Nationality|}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Occupation
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Nationality
{{!}} style="padding:4px 8px;" {{!}} {{{occupation}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{nationality|{{{Nationality}}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{years_active|}}}|
{{#if:{{{Education|{{{education|}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Years Active
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Education
{{!}} style="padding:4px 8px;" {{!}} {{{years_active}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{Education|{{{education}}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{industry|}}}|
{{#if:{{{Occupation|{{{occupation|}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Industry
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Occupation
{{!}} style="padding:4px 8px;" {{!}} {{{industry}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{Occupation|{{{occupation}}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{known_for|}}}|
{{#if:{{{years_active|{{{Years_active|{{{Years Active|}}}}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Known For
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Years Active
{{!}} style="padding:4px 8px;" {{!}} {{{known_for}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{years_active|{{{Years_active|{{{Years Active}}}}}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{awards|}}}|
{{#if:{{{Industry|{{{industry|}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Awards
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Industry
{{!}} style="padding:4px 8px;" {{!}} {{{awards}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{Industry|{{{industry}}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{website|}}}|
{{#if:{{{known_for|{{{Known_for|{{{Known For|}}}}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Website
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Known For
{{!}} style="padding:4px 8px;" {{!}} {{{website}}}
{{!}} 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>