Template:Infobox cricketer: Difference between revisions

Imported template from EncycloIndia
 
Created professional Infobox cricketer template
 
(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="text-align:center; font-size:125%; font-weight:bold; background:linear-gradient(135deg, #667eea 0%, #764ba2 100%); color:white; padding:10px;" 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:{{{birth_name|}}}|
{{#if:{{{country|{{{Country|}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Birth Name
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Country
{{!}} style="padding:4px 8px;" {{!}} {{{birth_name}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{country|{{{Country}}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{birth_date|}}}|
{{#if:{{{fullname|{{{Fullname|{{{Full Name|}}}}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Born
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Full Name
{{!}} style="padding:4px 8px;" {{!}} {{{birth_date}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{fullname|{{{Fullname|{{{Full Name}}}}}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{origin|}}}|
{{#if:{{{birth_date|{{{Birth_date|{{{Birth Date|}}}}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Origin
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Born
{{!}} style="padding:4px 8px;" {{!}} {{{origin}}}
{{!}} 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:{{{role|}}}|
{{#if:{{{height|{{{Height|}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Role
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Height
{{!}} style="padding:4px 8px;" {{!}} {{{role}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{height|{{{Height}}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{batting_style|}}}|
{{#if:{{{batting|{{{Batting|}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Batting Style
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Batting
{{!}} style="padding:4px 8px;" {{!}} {{{batting_style}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{batting|{{{Batting}}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{bowling_style|}}}|
{{#if:{{{bowling|{{{Bowling|}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Bowling Style
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Bowling
{{!}} style="padding:4px 8px;" {{!}} {{{bowling_style}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{bowling|{{{Bowling}}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{teams|}}}|
{{#if:{{{role|{{{Role|}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Teams
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Role
{{!}} style="padding:4px 8px;" {{!}} {{{teams}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{role|{{{Role}}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{debut|}}}|
{{#if:{{{internationalspan|{{{Internationalspan|{{{International Span|}}}}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Debut
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} International Span
{{!}} style="padding:4px 8px;" {{!}} {{{debut}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{internationalspan|{{{Internationalspan|{{{International Span}}}}}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{matches|}}}|
! colspan="2" style="background:#f8f9fa; text-align:center; font-weight:bold; padding:6px; border-bottom:1px solid #ddd;" | International Debut
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Matches
|-
{{!}} style="padding:4px 8px;" {{!}} {{{matches}}}
{{#if:{{{testdebutdate|{{{Testdebutdate|{{{Test Debut Date|}}}}}}}}}|
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Test (cap {{{testcap|{{{Testcap|}}}}}})
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{testdebutdate|{{{Testdebutdate|{{{Test Debut Date}}}}}}}}} v {{{testdebutagainst|}}}{{#if:{{{testdebutagainst|}}}|<br>}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{runs|}}}|
{{#if:{{{odidebutdate|{{{Odidebutdate|{{{ODI Debut Date|}}}}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Runs
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} ODI (cap {{{odicap|{{{Odicap|}}}}}})
{{!}} style="padding:4px 8px;" {{!}} {{{runs}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{odidebutdate|{{{Odidebutdate|{{{ODI Debut Date}}}}}}}}} v {{{odidebutagainst|}}}{{#if:{{{odidebutagainst|}}}|<br>}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{wickets|}}}|
{{#if:{{{t20Idebutdate|{{{T20Idebutdate|{{{T20I Debut Date|}}}}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Wickets
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} T20I (cap {{{t20Icap|{{{T20Icap|}}}}}})
{{!}} style="padding:4px 8px;" {{!}} {{{wickets}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{t20Idebutdate|{{{T20Idebutdate|{{{T20I Debut Date}}}}}}}}} v {{{t20Idebutagainst|}}}{{#if:{{{t20Idebutagainst|}}}|<br>}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{website|}}}|
{{#if:{{{clubs|{{{Clubs|}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Website
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Domestic / IPL Clubs
{{!}} style="padding:4px 8px;" {{!}} {{{website}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{clubs|{{{Clubs}}}}}}
{{!}}-
{{!}}-
}}
}}
|}
|}
{{#if:{{{verified|}}}|[[Category:Verified profiles]]}}
{{#if:{{{verified|{{{Verified|}}}}}}|[[Category:Verified profiles]]}}
<noinclude>[[Category:Infobox templates]]</noinclude>
<noinclude>
{{Documentation}}
[[Category:Infobox templates]]
</noinclude>