Andoza:Infobox baseball biography: Versiyalar orasidagi farq
Qiyofa
# | {{main other|{{short description|Baseball player|noreplace}}}} | ||
{{infobox | |||
| templatestyles = Infobox baseball biography/styles.css | |||
| child = {{{embed|}}} | |||
| bodyclass = ib-baseball-bio vcard | |||
| abovestyle = {{Infobox baseball biography/style|{{{team}}}}}; {{#ifeq:{{Yesno|{{if empty|{{{embed|}}}|no}}}}|yes||font-size: 125%}} | |||
| aboveclass = fn | |||
| {{#ifeq:{{{embed|}}}|yes|title|above}} = {{#ifeq:{{{embed|}}}|yes|<hr />'''Baseball career'''|<span class="note">{{if empty|{{{name|}}}|{{PAGENAMEBASE}}}}</span>}}<!-- | |||
Top section uses a child box to facilitate a difference label/data alignment | |||
-->{{infobox|child=yes | |||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{if empty|{{{image_size|}}}|{{{width|}}}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}|suppressplaceholder=yes}} | |||
| caption = {{{caption|}}} | |||
| rowstyle1 = {{Infobox baseball biography/style|{{{team}}}|secondary}} | |||
| header1 = {{#if:{{{team|}}}|<span class="note" style="font-weight:bold">{{{team}}} {{#if:{{{number|}}}| – No. {{if empty|{{{number|}}}|--}}}}</span>}} | |||
| data2 = {{#if:{{{position|}}}| '''{{{position}}}''' }} | |||
| data3 = {{#if:{{{positionplain|}}}| '''{{{positionplain}}}''' }} | |||
| data4 = {{#if:{{{birth_name|}}}{{{birth_date|}}}{{{birth_place|}}} | |||
|'''Born:''' {{br separated entries | |||
| 1 = {{#if:{{{birth_name|}}}|<span class="nickname">{{{birth_name|}}}</span>}} | |||
| 2 = {{#invoke:person date|birth}} | |||
| 3 = {{#if:{{{birth_place|}}}|<span class="birthplace">{{{birth_place|}}}</span>}} | |||
}} }} | |||
| data5 = {{#if:{{{death_date|}}}{{{death_place|}}} | |||
|'''Died:''' {{br separated entries | |||
| 1 = {{#invoke:person date|death}} | |||
| 2 = {{#if:{{{death_place|}}}|<span class="deathplace">{{{death_place|}}}</span>}} | |||
}} }} | |||
| data6 = {{#if:{{{bats|}}}{{{throws|}}}|<div class="ib-baseball-bio-batsthrows"><div>{{#if:{{{bats|}}}|'''{{#if:{{{finalyear|}}}{{{pasttense|}}}{{{death_date|}}}|Batted|Bats}}:''' {{{bats}}}}}</div><div>{{#if:{{{throws|}}}|'''{{#if:{{{finalyear|}}}{{{pasttense|}}}{{{death_date|}}}|Threw|Throws}}:''' {{{throws}}}}}</div></div>}} | |||
| rowstyle7 = {{Infobox baseball biography/style|{{{team}}}}} | |||
| header7 = {{#if:{{{debutyear|}}}{{{debutteam|}}}|{{#if:{{{debut2league|}}}{{{debut2year|}}}{{{debut2team|}}}{{{debut2date|}}}{{{debut3league|}}}{{{debut3year|}}}{{{debut3team|}}}{{{debut3date|}}}|Professional debut|{{delink|{{{debutleague|}}}}} debut}}}} | |||
| data8 = | |||
{{#if:{{{debutleague|}}} | |||
|{{#if:{{{debut2league|}}}{{{debut2year|}}}{{{debut2team|}}}{{{debut2date|}}}{{{debut3league|}}}{{{debut3year|}}}{{{debut3team|}}}{{{debut3date|}}}|'''{{{debutleague}}}:'''}} | |||
}} {{#if:{{{debutdate|}}}|{{{debutdate}}}, | |||
}}{{{debutyear|}}}{{#if:{{{debutteam|}}} | |||
|{{#if:{{{debutyear|}}}|, for the }}{{{debutteam}}} | |||
}} | |||
| data9 = | |||
{{#if:{{{debut2league|}}} | |||
|'''{{{debut2league}}}:''' {{#if:{{{debut2date|}}}|{{{debut2date}}}, | |||
}}{{{debut2year|}}}{{#if:{{{debut2team|}}} | |||
|{{#if:{{{debut2year|}}}|, for the }}{{{debut2team}}} | |||
}}}} | |||
| data10 = | |||
{{#if:{{{debut3league|}}} | |||
|'''{{{debut3league}}}:''' {{#if:{{{debut3date|}}}|{{{debut3date}}}, | |||
}}{{{debut3year|}}}{{#if:{{{debut3team|}}} | |||
|{{#if:{{{debut3year|}}}|, for the }}{{{debut3team}}} | |||
}}}} | |||
| data11 = | |||
{{#if:{{{debut4league|}}} | |||
|'''{{{debut4league}}}:''' {{#if:{{{debut4date|}}}|{{{debut4date}}}, | |||
}}{{{debut4year|}}}{{#if:{{{debut4team|}}} | |||
|{{#if:{{{debut4year|}}}|, for the }}{{{debut4team}}} | |||
}}}} | |||
| rowstyle13 = {{Infobox baseball biography/style|{{{team}}}}} | |||
| header13 = {{#if:{{{finalyear|}}}{{{finalteam|}}}|Last {{#if:{{{final2league|}}}{{{final2year|}}}{{{final2team|}}}{{{final2date|}}}{{{final3league|}}}{{{final3year|}}}{{{final3team|}}}{{{final3date|}}}||{{Delink|{{{finalleague|}}}}}}} appearance}} | |||
| data14 = | |||
{{#if:{{{finalleague|}}} | |||
|{{#if:{{{final2league|}}}{{{final2year|}}}{{{final2team|}}}{{{final2date|}}}{{{final3league|}}}{{{final3year|}}}{{{final3team|}}}{{{final3date|}}}|'''{{{finalleague}}}:'''|}} | |||
}} {{#if:{{{finaldate|}}}|{{{finaldate}}}, | |||
}}{{{finalyear|}}}{{#if:{{{finalteam|}}} | |||
|{{#if:{{{finalyear|}}}|, for the }}{{{finalteam}}} | |||
}} | |||
| data15 = | |||
{{#if:{{{final2league|}}} | |||
|'''{{{final2league}}}:''' {{#if:{{{final2date|}}}|{{{final2date}}}, | |||
}}{{{final2year|}}}{{#if:{{{final2team|}}} | |||
|{{#if:{{{final2year|}}}|, for the }}{{{final2team}}} | |||
}}}} | |||
| data16 = | |||
{{#if:{{{final3league|}}} | |||
|'''{{{final3league}}}:''' {{#if:{{{final3date|}}}|{{{final3date}}}, | |||
}}{{{final3year|}}}{{#if:{{{final3team|}}} | |||
|{{#if:{{{final3year|}}}|, for the | |||
}}{{{final3team}}} | |||
}}}} | |||
| data17 = | |||
{{#if:{{{final4league|}}} | |||
|'''{{{final4league}}}:''' {{#if:{{{final4date|}}}|{{{final4date}}}, | |||
}}{{{final4year|}}}{{#if:{{{final4team|}}} | |||
|{{#if:{{{final4year|}}}|, for the | |||
}}{{{final4team}}} | |||
}}}} | |||
}}<!-- | |||
Middle section uses a subbox to facilitate a difference label/data alignment | |||
-->{{infobox|child=yes | |||
| decat = yes | |||
| labelstyle = text-align:right; width:50%; padding-right:0.5em; | |||
| datastyle = width:50%; padding-left:0.5em; | |||
| rowstyle1 = {{Infobox baseball biography/style|{{{team}}}|secondary}} | |||
| header1 = {{#if:{{{stat1value|}}}{{{stat2value|}}}{{{stat3value|}}}{{{stat4value|}}}{{{stat5value|}}}| {{#if:{{{statleague|}}}|{{{statleague}}} statistics|Career statistics}} {{#if:{{{statyear|}}}|<br/>(through {{{statyear}}})}}}} | |||
| label2 = {{{stat1label}}} | |||
| data2 = {{#if:{{{stat1label|}}}|{{{stat1value|}}}}} | |||
| label3 = {{{stat2label}}} | |||
| data3 = {{#if:{{{stat2label|}}}|{{{stat2value|}}}}} | |||
| label4 = {{{stat3label}}} | |||
| data4 = {{#if:{{{stat3label|}}}|{{{stat3value|}}}}} | |||
| label5 = {{{stat4label}}} | |||
| data5 = {{#if:{{{stat4label|}}}|{{{stat4value|}}}}} | |||
| label6 = {{{stat5label}}} | |||
| data6 = {{#if:{{{stat5label|}}}|{{{stat5value|}}}}} | |||
| label7 = {{{stat6label}}} | |||
| data7 = {{#if:{{{stat6label|}}}|{{{stat6value|}}}}} | |||
| label8 = {{{stat7label}}} | |||
| data8 = {{#if:{{{stat7label|}}}|{{{stat7value|}}}}} | |||
| label9 = {{{stat8label}}} | |||
| data9 = {{#if:{{{stat8label|}}}|{{{stat8value|}}}}} | |||
| rowstyle10 = {{Infobox baseball biography/style|{{{team}}}|secondary}} | |||
| header10 = {{#if:{{{stat21value|}}}{{{stat22value|}}}{{{stat23value|}}}{{{stat24value|}}}{{{stat25value|}}}| {{#if:{{{stat2league|}}}|{{{stat2league}}} statistics|Career statistics}} {{#if:{{{stat2year|}}}|<br/>(through {{{stat2year}}})}}}} | |||
| label11 = {{{stat21label}}} | |||
| data11 = {{#if:{{{stat21label|}}}|{{{stat21value|}}}}} | |||
| label12 = {{{stat22label}}} | |||
| data12 = {{#if:{{{stat22label|}}}|{{{stat22value|}}}}} | |||
| label13 = {{{stat23label}}} | |||
| data13 = {{#if:{{{stat23label|}}}|{{{stat23value|}}}}} | |||
| label14 = {{{stat24label}}} | |||
| data14 = {{#if:{{{stat24label|}}}|{{{stat24value|}}}}} | |||
| label15 = {{{stat25label}}} | |||
| data15 = {{#if:{{{stat25label|}}}|{{{stat25value|}}}}} | |||
| label16 = {{{stat26label}}} | |||
| data16 = {{#if:{{{stat26label|}}}|{{{stat26value|}}}}} | |||
| label17 = {{{stat27label}}} | |||
| data17 = {{#if:{{{stat27label|}}}|{{{stat27value|}}}}} | |||
| label18 = {{{stat28label}}} | |||
| data18 = {{#if:{{{stat28label|}}}|{{{stat28value|}}}}} | |||
| rowstyle20 = {{Infobox baseball biography/style|{{{team}}}|secondary}} | |||
| header20= {{#if:{{{stat31value|}}}{{{stat32value|}}}{{{stat33value|}}}{{{stat34value|}}}{{{stat35value|}}}| {{#if:{{{stat3league|}}}|{{{stat3league}}} statistics|Career statistics}} {{#if:{{{stat3year|}}}|<br/>(through {{{stat3year}}})}}}} | |||
| label21 = {{{stat31label}}} | |||
| data21 = {{#if:{{{stat31label|}}}|{{{stat31value|}}}}} | |||
| label22 = {{{stat32label}}} | |||
| data22 = {{#if:{{{stat32label|}}}|{{{stat32value|}}}}} | |||
| label23 = {{{stat33label}}} | |||
| data23 = {{#if:{{{stat33label|}}}|{{{stat33value|}}}}} | |||
| label24 = {{{stat34label}}} | |||
| data24 = {{#if:{{{stat34label|}}}|{{{stat34value|}}}}} | |||
| label25 = {{{stat35label}}} | |||
| data25 = {{#if:{{{stat35label|}}}|{{{stat35value|}}}}} | |||
| label26 = {{{stat36label}}} | |||
| data26 = {{#if:{{{stat36label|}}}|{{{stat36value|}}}}} | |||
| label27 = {{{stat37label}}} | |||
| data27 = {{#if:{{{stat37label|}}}|{{{stat37value|}}}}} | |||
| rowstyle30 = {{Infobox baseball biography/style|{{{team}}}|secondary}} | |||
| header30= {{#if:{{{stat41value|}}}{{{stat42value|}}}{{{stat43value|}}}{{{stat44value|}}}{{{stat45value|}}}| {{#if:{{{stat4league|}}}|{{{stat4league}}} statistics|Career statistics}} {{#if:{{{stat4year|}}}|<br/>(through {{{stat4year}}})}}}} | |||
| label31 = {{{stat41label}}} | |||
| data31 = {{#if:{{{stat41label|}}}|{{{stat41value|}}}}} | |||
| label32 = {{{stat42label}}} | |||
| data32 = {{#if:{{{stat42label|}}}|{{{stat42value|}}}}} | |||
| label33 = {{{stat43label}}} | |||
| data33 = {{#if:{{{stat43label|}}}|{{{stat43value|}}}}} | |||
| label34 = {{{stat44label}}} | |||
| data34 = {{#if:{{{stat44label|}}}|{{{stat44value|}}}}} | |||
| label35 = {{{stat45label}}} | |||
| data35 = {{#if:{{{stat45label|}}}|{{{stat45value|}}}}} | |||
| label36 = {{{stat46label}}} | |||
| data36 = {{#if:{{{stat46label|}}}|{{{stat46value|}}}}} | |||
| label37 = {{{stat47label}}} | |||
| data37 = {{#if:{{{stat47label|}}}|{{{stat47value|}}}}} | |||
| data38 = {{#if:{{{baseball_ref|}}} | |||
| '''[https://www.baseball-reference.com/players/{{#invoke:String|replace|source={{{baseball_ref}}}|pattern=^(%a)(%a)|replace=%1/%1%2|count=1|plain=false}}.shtml Stats] at [[Baseball Reference]]''' | |||
| {{#if:{{#property:P1825}} | '''[https://www.baseball-reference.com/players/{{#property:P1825}}.shtml Stats] at [[Baseball Reference]]'''{{EditAtWikidata|nbsp=y|pid=P1825}} | {{#if:{{#property:P1826}} | '''[https://www.baseball-reference.com/register/player.fcgi?id={{#property:P1826}} Stats] at [[Baseball Reference]]'''{{EditAtWikidata|nbsp=y|pid=P1826}}}}}}}} | |||
| rowstyle40 = {{Infobox baseball biography/style|{{{team}}}|secondary}} | |||
| header40 = {{#if:{{{managerwins|}}}{{{managerlosses|}}}{{{managerties|}}}| Managerial statistics {{#if:{{{statMyear|}}}|<br/>(through {{{statMyear}}})}}}} | |||
| label41 = Wins | |||
| data41 = {{{managerwins|}}} | |||
| label42 = Losses | |||
| data42 = {{{managerlosses|}}} | |||
| label43 = Ties | |||
| data43 = {{{managerties|}}} | |||
| data44 = {{#if:{{{baseball_ref_manager|}}} | |||
| '''[https://www.baseball-reference.com/managers/{{{baseball_ref_manager}}}.shtml Managerial record]{{#if:{{{baseball_ref|}}}{{#property:P1825}}|{{space}}at Baseball Reference|{{space}}at [[Baseball Reference]]}}''' | |||
| {{#if:{{#property:P12331}} | |||
| '''[https://www.baseball-reference.com/managers/{{#property:P12331}}.shtml Managerial record]{{#if:{{{baseball_ref|}}}{{#property:P1825}}|{{space}}at Baseball Reference|{{space}}at [[Baseball Reference]]}}'''{{EditAtWikidata|nbsp=y|pid=P12331}} | |||
}} | |||
}} | |||
}}<!-- end stats subbox --> | |||
| rowstyle1 = {{Infobox baseball biography/style|{{{team}}}}} | |||
| rowclass2 = ib-baseball-bio-former | |||
| header1 = {{#if:{{{formerteams|}}}|Former teams}}<!--deprecated, use teams instead--> | |||
| data2 = | |||
{{{formerteams|}}} | |||
| rowstyle3 = {{Infobox baseball biography/style|{{{team}}}}} | |||
| header3 = {{#if:{{{teams|}}}|Teams}} | |||
| rowclass4 = ib-baseball-bio-teams | |||
| data4 = | |||
{{{teams|}}} | |||
| rowstyle5 = {{Infobox baseball biography/style|{{{team}}}}} | |||
| header5 = {{#if:{{{umpirecrew|}}}{{{crewchief|}}}{{{crew2|}}}{{{crew3|}}}{{{crew4|}}}|Crew information<!-- | |||
-->{{infobox|child=yes | |||
| labelstyle = text-align:right; padding-right:0.5em; | |||
| datastyle = padding-left:0.5em; | |||
| label1 = Umpiring crew | |||
| data1 = {{{umpirecrew|}}} | |||
| label2 = Crew members | |||
| data2 = {{unbulleted list|{{#if:{{{crewchief|}}}|'''{{{crewchief|}}}''' (crew chief)}}|{{{crew2|}}}|{{{crew3|}}}|{{{crew4|}}}}} | |||
}} | |||
}} | |||
| rowstyle6 = {{Infobox baseball biography/style|{{{team}}}}} | |||
| header6 = {{#if:{{{awards|}}}{{{highlights|}}}|Career highlights and awards}} | |||
| rowclass7 = ib-baseball-bio-highlights | |||
| data7 = | |||
{{if empty|{{{awards|}}}|{{{highlights|}}}}} | |||
| rowclass8 = ib-baseball-bio-member-header | |||
| header8 = {{#if:{{{hofdate|}}}| [[{{{hoflink}}}|{{#if:{{{hoffuture|}}}|Incoming }}Member of the {{{hoftype}}}]] }} | |||
| rowstyle9 = background:{{if empty|{{{hofcolor|}}}|#272662}};color:inherit; | |||
| rowclass9 = nowrap ib-baseball-bio-member | |||
| header9 = {{#if:{{{hofdate|}}}|[[File:Empty Star.svg|15px|link=]] [[File:Empty Star.svg|15px|link=]] [[File:Empty Star.svg|15px|link=]] [[{{{hoflink}}}|Baseball Hall of Fame]] [[File:Empty Star.svg|15px|link=]] [[File:Empty Star.svg|15px|link=]] [[File:Empty Star.svg|15px|link=]]<!-- | |||
-->{{infobox|child=yes | |||
| labelstyle = text-align:right; padding-right:0.5em; | |||
| datastyle = padding-left:0.5em; | |||
| label1 = Induction | |||
| data1 = {{{hofdate|}}} | |||
| label2 = Vote | |||
| data2 = {{{hofvote|}}} | |||
| label3 = Election method | |||
| data3 = {{{hofmethod|}}} | |||
}} | |||
}} | |||
| class10 = borderless | |||
| header10 = {{#if:{{{medaltemplates|}}}|{{Infobox medal templates | |||
| title = Medals | |||
| medals = {{{medaltemplates|}}} | |||
| expand = {{#ifeq:{{lc:{{{show-medals}}}}}|no||yes}} | |||
}}}} | |||
| data11 = {{#if:{{{embedded|}}}{{{module|}}}| | |||
{{(!}} class="borderless ib-baseball-bio-module" | |||
{{!-}} | |||
{{!}} colspan=2 {{!}} {{if empty|{{{embedded|}}}|{{{module|}}}}} | |||
{{!)}} | |||
}} | |||
| below = {{#if:{{{update|}}}|Last updated on: {{{update}}}}} | |||
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox baseball biography with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox baseball biography]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | awards | bats | birth_date | birth_name | birth_place | caption | crew2 | crew3 | crew4 | crewchief | death_date | death_place | debut2date | debut2league | debut2team | debut2year | debut3date | debut3league | debut3team | debut3year | debut4date | debut4league | debut4team | debut4year | debutdate | debutleague | debutteam | debutyear | embed | embedded | final2date | final2league | final2team | final2year | final3date | final3league | final3team | final3year | final4date | final4league | final4team | final4year | finaldate | finalleague | finalteam | finalyear | formerteams | highlights | hofcolor | hofdate | hoffuture | hoflink | hofmethod | hoftype | hofvote | image | image_size | managerlosses | managerties | managerwins | medaltemplates | module | name | number | position | positionplain | show-medals | stat1label | stat1value | stat2label | stat2league | stat2value | stat2year | stat3label | stat3league | stat3value | stat3year | stat4label | stat4league | stat4value | stat4year | stat5label | stat5value | stat6label | stat6value | stat7label | stat7value | stat8label | stat8value | stat21label | stat21value | stat22label | stat22value | stat23label | stat23value | stat24label | stat24value | stat25label | stat25value | stat26label | stat26value | stat27label | stat27value | stat28label | stat28value | stat31label | stat31value | stat32label | stat32value | stat33label | stat33value | stat34label | stat34value | stat35label | stat35value | stat36label | stat36value | stat37label | stat37value | stat38label | stat38value | stat41label | stat41value | stat42label | stat42value | stat43label | stat43value | stat44label | stat44value | stat45label | stat45value | stat46label | stat46value | stat47label | stat47value | stat48label | stat48value | statleague | statMyear | statyear | team | teams | throws | umpirecrew | update | width | pasttense | baseball_ref | baseball_ref_manager}}{{#invoke:Check for conflicting parameters|check | |||
| template = [[Template:Infobox baseball biography]] | |||
| cat = {{main other|Category:Pages using infobox baseball biography with conflicting parameters}} | |||
| image_size; width | |||
| awards; highlights | |||
| embedded; module | |||
}}<noinclude> | |||
{{documentation}} | |||
<!-- PLEASE ADD CATEGORIES TO THE /doc SUBPAGE --></noinclude> | |||
$2, $3 dagi (joriy) koʻrinishi
| Infobox baseball biography |
|---|
| Tajriba oʻtkazish uchun qumloq va test sahifasidan foydalaning. Iltimos, turkumlarni hujjat sahifasiga va intervikilarni vikimaʼlumotlarga joylashtiring. Ushbu andoza ostsahifalari. |