Template:Stats-fielding-table

From SABR Encyclopedia

(Difference between revisions)
Jump to: navigation, search
(added style for stat rows)
(changed classification, added style for stat-rank)
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|year=year|name_league=name_league|code_league=code_league|classification=classification
-
|milbid=milbid|name_last=name_last|name_first=name_first|bats=bats|throws=throws|name_club=name_club
+
|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|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}}
|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}}
{| class="stats-table"
{| class="stats-table"
Line 21: Line 21:
! GRF
! GRF
! PCT {{#for_external_table:<nowiki/>
! PCT {{#for_external_table:<nowiki/>
-
{{!}}- class="{{{classification}}}-stat-row"
+
{{!}}- 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" {{!}} {{{classification}}}
+
{{!}} class="centered" title="{{{classification}}}" {{!}} {{{class_short}}}
{{!}} {{{pos}}}
{{!}} {{{pos}}}
{{!}} {{{g}}}
{{!}} {{{g}}}

Revision as of 05:10, 23 October 2009

Personal tools