Jump to content

Template:Infobox baseball biography and Template:Infobox baseball biography/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
Per edit request
 
test
 
Line 5: Line 5:
| bodyclass = ib-baseball-bio vcard
| bodyclass = ib-baseball-bio vcard


| abovestyle = {{Infobox baseball biography/style|{{{team}}}}}
| abovestyle = {{Infobox baseball biography/style/sandbox|{{{team}}}}}


| aboveclass = fn
| aboveclass = fn
Line 14: Line 14:
| caption = {{{caption|}}}
| caption = {{{caption|}}}


| rowstyle1 = {{Infobox baseball biography/style|{{{team}}}|secondary}}
| rowstyle1 = {{Infobox baseball biography/style/sandbox|{{{team}}}|secondary}}
| header1 = {{#if:{{{team|}}}|<span class="note" style="font-weight:bold">{{{team}}} {{#if:{{{number|}}}| – No. {{{number|--}}}}}</span>}}
| header1 = {{#if:{{{team|}}}|<span class="note" style="font-weight:bold">{{{team}}} {{#if:{{{number|}}}| – No. {{{number|--}}}}}</span>}}


Line 34: Line 34:
| 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>}}
| 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}}}}}
| rowstyle7 = {{Infobox baseball biography/style/sandbox|{{{team}}}}}
| header7 = {{#if:{{{debutyear|}}}{{{debutteam|}}}|{{#if:{{{debut2league|}}}{{{debut2year|}}}{{{debut2team|}}}{{{debut2date|}}}{{{debut3league|}}}{{{debut3year|}}}{{{debut3team|}}}{{{debut3date|}}}|Professional debut|{{delink|{{{debutleague|}}}}} debut}}}}
| header7 = {{#if:{{{debutyear|}}}{{{debutteam|}}}|{{#if:{{{debut2league|}}}{{{debut2year|}}}{{{debut2team|}}}{{{debut2date|}}}{{{debut3league|}}}{{{debut3year|}}}{{{debut3team|}}}{{{debut3date|}}}|Professional debut|{{delink|{{{debutleague|}}}}} debut}}}}
| data8 =
| data8 =
Line 62: Line 62:
}}}}
}}}}


| rowstyle13 = {{Infobox baseball biography/style|{{{team}}}}}
| rowstyle13 = {{Infobox baseball biography/style/sandbox|{{{team}}}}}
| header13 = {{#if:{{{finalyear|}}}{{{finalteam|}}}|Last {{#if:{{{final2league|}}}{{{final2year|}}}{{{final2team|}}}{{{final2date|}}}{{{final3league|}}}{{{final3year|}}}{{{final3team|}}}{{{final3date|}}}||{{Delink|{{{finalleague|}}}}}}} appearance}}
| header13 = {{#if:{{{finalyear|}}}{{{finalteam|}}}|Last {{#if:{{{final2league|}}}{{{final2year|}}}{{{final2team|}}}{{{final2date|}}}{{{final3league|}}}{{{final3year|}}}{{{final3team|}}}{{{final3date|}}}||{{Delink|{{{finalleague|}}}}}}} appearance}}


Line 103: Line 103:
| labelstyle = text-align:right; width:50%; padding-right:0.5em;
| labelstyle = text-align:right; width:50%; padding-right:0.5em;
| datastyle = width:50%; padding-left:0.5em;
| datastyle = width:50%; padding-left:0.5em;
| rowstyle1 = {{Infobox baseball biography/style|{{{team}}}|secondary}}
| rowstyle1 = {{Infobox baseball biography/style/sandbox|{{{team}}}|secondary}}
| header1 = {{#if:{{{stat1value|}}}{{{stat2value|}}}{{{stat3value|}}}{{{stat4value|}}}{{{stat5value|}}}| {{#if:{{{statleague|}}}|{{{statleague}}} statistics|Career statistics}} {{#if:{{{statyear|}}}|<br/>(through {{{statyear}}})}}}}
| header1 = {{#if:{{{stat1value|}}}{{{stat2value|}}}{{{stat3value|}}}{{{stat4value|}}}{{{stat5value|}}}| {{#if:{{{statleague|}}}|{{{statleague}}} statistics|Career statistics}} {{#if:{{{statyear|}}}|<br/>(through {{{statyear}}})}}}}
| label2 = {{{stat1label}}}
| label2 = {{{stat1label}}}
Line 120: Line 120:
| data8 = {{#if:{{{stat7label|}}}|{{{stat7value|}}}}}
| data8 = {{#if:{{{stat7label|}}}|{{{stat7value|}}}}}


| rowstyle10 = {{Infobox baseball biography/style|{{{team}}}|secondary}}
| rowstyle10 = {{Infobox baseball biography/style/sandbox|{{{team}}}|secondary}}
| header10 = {{#if:{{{stat21value|}}}{{{stat22value|}}}{{{stat23value|}}}{{{stat24value|}}}{{{stat25value|}}}| {{#if:{{{stat2league|}}}|{{{stat2league}}} statistics|Career statistics}} {{#if:{{{stat2year|}}}|<br/>(through {{{stat2year}}})}}}}
| header10 = {{#if:{{{stat21value|}}}{{{stat22value|}}}{{{stat23value|}}}{{{stat24value|}}}{{{stat25value|}}}| {{#if:{{{stat2league|}}}|{{{stat2league}}} statistics|Career statistics}} {{#if:{{{stat2year|}}}|<br/>(through {{{stat2year}}})}}}}
| label11 = {{{stat21label}}}
| label11 = {{{stat21label}}}
Line 137: Line 137:
| data17 = {{#if:{{{stat27label|}}}|{{{stat27value|}}}}}
| data17 = {{#if:{{{stat27label|}}}|{{{stat27value|}}}}}


| rowstyle20 = {{Infobox baseball biography/style|{{{team}}}|secondary}}
| rowstyle20 = {{Infobox baseball biography/style/sandbox|{{{team}}}|secondary}}
| header20= {{#if:{{{stat31value|}}}{{{stat32value|}}}{{{stat33value|}}}{{{stat34value|}}}{{{stat35value|}}}| {{#if:{{{stat3league|}}}|{{{stat3league}}} statistics|Career statistics}} {{#if:{{{stat3year|}}}|<br/>(through {{{stat3year}}})}}}}
| header20= {{#if:{{{stat31value|}}}{{{stat32value|}}}{{{stat33value|}}}{{{stat34value|}}}{{{stat35value|}}}| {{#if:{{{stat3league|}}}|{{{stat3league}}} statistics|Career statistics}} {{#if:{{{stat3year|}}}|<br/>(through {{{stat3year}}})}}}}
| label21 = {{{stat31label}}}
| label21 = {{{stat31label}}}
Line 154: Line 154:
| data27 = {{#if:{{{stat37label|}}}|{{{stat37value|}}}}}
| data27 = {{#if:{{{stat37label|}}}|{{{stat37value|}}}}}


| rowstyle30 = {{Infobox baseball biography/style|{{{team}}}|secondary}}
| rowstyle30 = {{Infobox baseball biography/style/sandbox|{{{team}}}|secondary}}
| header30= {{#if:{{{stat41value|}}}{{{stat42value|}}}{{{stat43value|}}}{{{stat44value|}}}{{{stat45value|}}}| {{#if:{{{stat4league|}}}|{{{stat4league}}} statistics|Career statistics}} {{#if:{{{stat4year|}}}|<br/>(through {{{stat4year}}})}}}}
| header30= {{#if:{{{stat41value|}}}{{{stat42value|}}}{{{stat43value|}}}{{{stat44value|}}}{{{stat45value|}}}| {{#if:{{{stat4league|}}}|{{{stat4league}}} statistics|Career statistics}} {{#if:{{{stat4year|}}}|<br/>(through {{{stat4year}}})}}}}
| label31 = {{{stat41label}}}
| label31 = {{{stat41label}}}
Line 171: Line 171:
| data37 = {{#if:{{{stat47label|}}}|{{{stat47value|}}}}}
| data37 = {{#if:{{{stat47label|}}}|{{{stat47value|}}}}}


| rowstyle40 = {{Infobox baseball biography/style|{{{team}}}|secondary}}
| rowstyle40 = {{Infobox baseball biography/style/sandbox|{{{team}}}|secondary}}
| header40 = {{#if:{{{managerwins|}}}{{{managerlosses|}}}{{{managerties|}}}| Managerial statistics {{#if:{{{statMyear|}}}|<br/>(through {{{statMyear}}})}}}}
| header40 = {{#if:{{{managerwins|}}}{{{managerlosses|}}}{{{managerties|}}}| Managerial statistics {{#if:{{{statMyear|}}}|<br/>(through {{{statMyear}}})}}}}


Line 185: Line 185:
}}<!-- end stats subbox -->
}}<!-- end stats subbox -->


| rowstyle1 = {{Infobox baseball biography/style|{{{team}}}}}
| rowstyle1 = {{Infobox baseball biography/style/sandbox|{{{team}}}}}
| rowclass2 = ib-baseball-bio-former
| rowclass2 = ib-baseball-bio-former
| header1 = {{#if:{{{formerteams|}}}|Former teams}}<!--deprecated, use teams instead-->
| header1 = {{#if:{{{formerteams|}}}|Former teams}}<!--deprecated, use teams instead-->
Line 191: Line 191:
{{{formerteams|}}}
{{{formerteams|}}}


| rowstyle3 = {{Infobox baseball biography/style|{{{team}}}}}
| rowstyle3 = {{Infobox baseball biography/style/sandbox|{{{team}}}}}
| header3 = {{#if:{{{teams|}}}|Teams}}
| header3 = {{#if:{{{teams|}}}|Teams}}
| rowclass4 = ib-baseball-bio-teams
| rowclass4 = ib-baseball-bio-teams
Line 197: Line 197:
{{{teams|}}}
{{{teams|}}}


| rowstyle5 = {{Infobox baseball biography/style|{{{team}}}}}
| rowstyle5 = {{Infobox baseball biography/style/sandbox|{{{team}}}}}
| header5 = {{#if:{{{umpirecrew|}}}{{{crewchief|}}}{{{crew2|}}}{{{crew3|}}}{{{crew4|}}}|Crew Information<!--
| header5 = {{#if:{{{umpirecrew|}}}{{{crewchief|}}}{{{crew2|}}}{{{crew3|}}}{{{crew4|}}}|Crew Information<!--
-->{{infobox|child=yes
-->{{infobox|child=yes
Line 209: Line 209:
}}
}}


| rowstyle6 = {{Infobox baseball biography/style|{{{team}}}}}
| rowstyle6 = {{Infobox baseball biography/style/sandbox|{{{team}}}}}
| header6 = {{#if:{{{awards|{{{highlights|}}}}}}|Career highlights and awards}}
| header6 = {{#if:{{{awards|{{{highlights|}}}}}}|Career highlights and awards}}
| rowclass7 = ib-baseball-bio-highlights
| rowclass7 = ib-baseball-bio-highlights