Template:Stats-pitching-table
From SABR Encyclopedia
(Difference between revisions)
(added style for stat rows) |
(changed classification, added style for stat-rank) |
||
Line 1: | Line 1: | ||
<div id="stats_pitching" style="display: none;"> | <div id="stats_pitching" style="display: none;"> | ||
- | {{#get_external_data:http://research.sabr.org/dbquery/sabrdz-query?content=player_pitching&key={{#show: {{PAGENAME}} | ?person-key-sabr}}|csv with header|year=year|name_league=name_league|code_league=code_league|classification=classification|milbid=milbid | + | {{#get_external_data:http://research.sabr.org/dbquery/sabrdz-query?content=player_pitching&key={{#show: {{PAGENAME}} | ?person-key-sabr}}|csv with header|year=year|name_league=name_league|code_league=code_league|classification=classification|class_short=class_short|class_rank=class_rank|milbid=milbid |
|name_last=name_last|name_first=name_first|bats=bats|throws=throws|name_club=name_club|code_club=code_club | |name_last=name_last|name_first=name_first|bats=bats|throws=throws|name_club=name_club|code_club=code_club | ||
|gp=gp|gs=gs|cg=cg|sho=sho|gf=gf|w=w|l=l|sv=sv|ip=ip|tbf=tbf|ab=ab|h=h|r=r|er=er|hr=hr|sh=sh|sf=sf|hb=hb|bb=bb | |gp=gp|gs=gs|cg=cg|sho=sho|gf=gf|w=w|l=l|sv=sv|ip=ip|tbf=tbf|ab=ab|h=h|r=r|er=er|hr=hr|sh=sh|sf=sf|hb=hb|bb=bb | ||
Line 33: | Line 33: | ||
! BK | ! BK | ||
! ERA {{#for_external_table:<nowiki/> | ! ERA {{#for_external_table:<nowiki/> | ||
- | {{!}}- class="{{{ | + | {{!}}- class="stat-rank{{{class_rank}}}" |
{{!}} class="centered" {{!}} {{{year}}} | {{!}} class="centered" {{!}} {{{year}}} | ||
{{!}} class="centered" title="{{{name_league}}}" {{!}} {{{code_league}}} | {{!}} class="centered" title="{{{name_league}}}" {{!}} {{{code_league}}} | ||
{{!}} class="centered" title="{{{name_club}}}" {{!}} {{{code_club}}} | {{!}} class="centered" title="{{{name_club}}}" {{!}} {{{code_club}}} | ||
- | {{!}} class="centered" {{!}} {{{ | + | {{!}} class="centered" title="{{{classification}}}" {{!}} {{{class_short}}} |
{{!}} {{{gp}}} | {{!}} {{{gp}}} | ||
{{!}} {{{gs}}} | {{!}} {{{gs}}} |