Template:Stats-fielding-table
From SABR Encyclopedia
(Difference between revisions)
(Created page with '<div id="stats_fielding" style="display: none;"> {{#get_external_data:http://research.sabr.org/dbquery/sabrdz-query?content=player_fielding&key={{#show: {{PAGENAME}} | ?person-ke…') |
(prefixed local variable names with f-) |
||
(3 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<div id="stats_fielding" style="display: none;"> | <div id="stats_fielding" style="display: none;"> | ||
- | {{#get_external_data:http://research.sabr.org/dbquery/sabrdz-query?content=player_fielding&key={{#show: {{PAGENAME}} | ?person-key-sabr}}|csv with header|year=year|name_league=name_league|code_league=code_league|classification=classification | + | {{#get_external_data:http://research.sabr.org/dbquery/sabrdz-query?content=player_fielding&key={{#show: {{PAGENAME}} | ?person-key-sabr}}|csv with header|f-year=year|f-name_league=name_league|f-code_league=code_league|f-classification=classification |
- | |milbid=milbid|name_last=name_last|name_first=name_first|bats=bats|throws=throws|name_club=name_club | + | |f-class_short=class_short|f-class_rank=class_rank|f-milbid=milbid|f-name_last=name_last|f-name_first=name_first|f-bats=bats|f-throws=throws|f-name_club=name_club |
- | |code_club=code_club|pos=pos|g=g|po=po|a=a|e=e|dp=dp|pb=pb|sb=sb|cs=cs|glf=glf|gcf=gcf|grf=grf|pct=pct}} | + | |f-code_club=code_club|f-pos=pos|f-g=g|f-po=po|f-a=a|f-e=e|f-dp=dp|f-pb=pb|f-sb=sb|f-cs=cs|f-glf=glf|f-gcf=gcf|f-grf=grf|f-pct=pct}} |
{| class="stats-table" | {| class="stats-table" | ||
! Year | ! Year | ||
Line 21: | Line 21: | ||
! GRF | ! GRF | ||
! PCT {{#for_external_table:<nowiki/> | ! PCT {{#for_external_table:<nowiki/> | ||
- | {{!}}- | + | {{!}}- class="stat-rank{{{f-class_rank}}}" |
- | {{!}} class="centered" {{!}} {{{year}}} | + | {{!}} class="centered" {{!}} {{{f-year}}} |
- | {{!}} class="centered" title="{{{name_league}}}" {{!}} {{{code_league}}} | + | {{!}} class="centered" title="{{{f-name_league}}}" {{!}} {{{f-code_league}}} |
- | {{!}} class="centered" title="{{{name_club}}}" {{!}} {{{code_club}}} | + | {{!}} class="centered" title="{{{f-name_club}}}" {{!}} {{{f-code_club}}} |
- | {{!}} class="centered" {{!}} {{{ | + | {{!}} class="centered" title="{{{f-classification}}}" {{!}} {{{f-class_short}}} |
- | {{!}} {{{g}}} | + | {{!}} {{{f-pos}}} |
- | {{!}} {{{po}}} | + | {{!}} {{{f-g}}} |
- | {{!}} {{{a}}} | + | {{!}} {{{f-po}}} |
- | {{!}} {{{e}}} | + | {{!}} {{{f-a}}} |
- | {{!}} {{{dp}}} | + | {{!}} {{{f-e}}} |
- | {{!}} {{{pb}}} | + | {{!}} {{{f-dp}}} |
- | {{!}} {{{sb}}} | + | {{!}} {{{f-pb}}} |
- | {{!}} {{{cs}}} | + | {{!}} {{{f-sb}}} |
- | {{!}} {{{glf}}} | + | {{!}} {{{f-cs}}} |
- | {{!}} {{{gcf}}} | + | {{!}} {{{f-glf}}} |
- | {{!}} {{{grf}}} | + | {{!}} {{{f-gcf}}} |
- | {{!}} {{{pct}}} }} | + | {{!}} {{{f-grf}}} |
+ | {{!}} {{{f-pct}}} }} | ||
|} | |} | ||
</div> | </div> |