Template:Stats-pitching-table
From SABR Encyclopedia
(Difference between revisions)
(prefixed local variable names with p-) |
(I can't find it, but there must be a typo in there.) |
||
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| | + | {{#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 |
- | | | + | |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 |
- | | | + | |ibb=ibb|so=so|wp=wp|bk=bk|ERA=ERA}} |
{| class="stats-table" | {| class="stats-table" | ||
! Year | ! Year | ||
Line 33: | Line 33: | ||
! BK | ! BK | ||
! ERA {{#for_external_table:<nowiki/> | ! ERA {{#for_external_table:<nowiki/> | ||
- | {{!}}- class="stat-rank{{{ | + | {{!}}- class="stat-rank{{{class_rank}}}" |
- | {{!}} class="centered" {{!}} {{{ | + | {{!}} class="centered" {{!}} {{{year}}} |
- | {{!}} class="centered" title="{{{ | + | {{!}} class="centered" title="{{{name_league}}}" {{!}} {{{code_league}}} |
- | {{!}} class="centered" title="{{{ | + | {{!}} class="centered" title="{{{name_club}}}" {{!}} {{{code_club}}} |
- | {{!}} class="centered" title="{{{ | + | {{!}} class="centered" title="{{{classification}}}" {{!}} {{{class_short}}} |
- | {{!}} {{{ | + | {{!}} {{{gp}}} |
- | {{!}} {{{ | + | {{!}} {{{gs}}} |
- | {{!}} {{{ | + | {{!}} {{{cg}}} |
- | {{!}} {{{ | + | {{!}} {{{sho}}} |
- | {{!}} {{{ | + | {{!}} {{{gf}}} |
- | {{!}} {{{ | + | {{!}} {{{w}}} |
- | {{!}} {{{ | + | {{!}} {{{l}}} |
- | {{!}} {{{ | + | {{!}} {{{sv}}} |
- | {{!}} {{{ | + | {{!}} {{{ip}}} |
- | {{!}} {{{ | + | {{!}} {{{tbf}}} |
- | {{!}} {{{ | + | {{!}} {{{ab}}} |
- | {{!}} {{{ | + | {{!}} {{{h}}} |
- | {{!}} {{{ | + | {{!}} {{{r}}} |
- | {{!}} {{{ | + | {{!}} {{{er}}} |
- | {{!}} {{{ | + | {{!}} {{{hr}}} |
- | {{!}} {{{ | + | {{!}} {{{sh}}} |
- | {{!}} {{{ | + | {{!}} {{{sf}}} |
- | {{!}} {{{ | + | {{!}} {{{hb}}} |
- | {{!}} {{{ | + | {{!}} {{{bb}}} |
- | {{!}} {{{ | + | {{!}} {{{ibb}}} |
- | {{!}} {{{ | + | {{!}} {{{so}}} |
- | {{!}} {{{ | + | {{!}} {{{wb}}} |
- | {{!}} {{{ | + | {{!}} {{{bk}}} |
- | {{!}} {{{ | + | {{!}} {{{ERA}}} }} |
|} | |} | ||
</div> | </div> |