Template:TeamLeaderStats: Difference between revisions
From UFFL Wiki
m (test) |
mNo edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
db=ufflData | db=ufflData | ||
|from=PlayerSeasonStats | |from=PlayerSeasonStats | ||
|where= Season='{{{season|}}}' AND Team = '{{{team|}}}' | |where= Season='{{#vardefine:season|{{{season|}}}}}' AND Team = '{{#vardefine:team|{{{team|}}}}}' | ||
|data=season=Season,team=Team | |data=season=Season,team=Team | ||
}}<!--- Then start importing individual 'Leader' values --->{{#get_db_data: | }}<!--- Then start importing individual 'Leader' values --->{{#get_db_data: | ||
db=ufflData | db=ufflData | ||
|from=PlayerSeasonStats | |from=PlayerSeasonStats | ||
|where= Season='{{ | |where= Season='{{#var:season}}' AND Team = '{{#var:team}}' | ||
|limit = 1 | |limit = 1 | ||
|order by = PassYds DESC | |order by = PassYds DESC | ||
Line 54: | Line 54: | ||
|limit = 1 | |limit = 1 | ||
|order by = RecTD DESC | |order by = RecTD DESC | ||
|data=playerName7=PlayerID, | |data=playerName7=PlayerID,recTDs=RecTD | ||
}}{{#get_db_data: | }}{{#get_db_data: | ||
db=ufflData | db=ufflData | ||
Line 105: | Line 105: | ||
|data=playerName14=PlayerID,interceptions=Ints | |data=playerName14=PlayerID,interceptions=Ints | ||
}} | }} | ||
{| style="border:0; font-size: | {| style="{{UFFL color cell|{{{team}}}}}; border:0; font-size:16px; cellpadding:0.5; cellspacing:0.5; width: 70%" class="wikitable sortable" | ||
|- | |- | ||
! colspan="3"|{{{season|}}} {{{team|}}} Team Leaders | ! colspan="3"|{{{season|}}} {{Convert/teamabbr|{{{team|}}}}} Team Leaders | ||
|- | |- | ||
! Category | ! Category | ||
Line 114: | Line 114: | ||
|- | |- | ||
| Passing Yards | | Passing Yards | ||
| {{{playerName1}}} | | {{SID|{{#external_value:playerName1}}}} | ||
| {{ | | {{#external_value:passYds}} | ||
|- | |- | ||
| Touchdown Passes | | Touchdown Passes | ||
| {{{playerName2}}} | | {{SID|{{#external_value:playerName2}}}} | ||
| {{ | | {{#external_value:passTDs}} | ||
|- | |- | ||
| Rushing Yards | | Rushing Yards | ||
| {{{playerName3}}} | | {{SID|{{#external_value:playerName3}}}} | ||
| {{ | | {{#external_value:rushYds}} | ||
|- | |- | ||
| Touchdown Runs | | Touchdown Runs | ||
| {{{playerName4}}} | | {{SID|{{#external_value:playerName4}}}} | ||
| {{ | | {{#external_value:rushTDs}} | ||
|- | |- | ||
| Receptions | | Receptions | ||
| {{{playerName5}}} | | {{SID|{{#external_value:playerName5}}}} | ||
| {{ | | {{#external_value:receptions}} | ||
|- | |- | ||
| Receiving Yards | | Receiving Yards | ||
| {{{playerName6}}} | | {{SID|{{#external_value:playerName6}}}} | ||
| {{ | | {{#external_value:recYds}} | ||
|- | |- | ||
| Touchdown Catches | | Touchdown Catches | ||
| {{{playerName7}}} | | {{SID|{{#external_value:playerName7}}}} | ||
| {{ | | {{#external_value:recTDs}} | ||
|- | |- | ||
| Points Scored | | Points Scored | ||
| {{{playerName8}}} | | {{SID|{{#external_value:playerName8}}}} | ||
| {{ | | {{#external_value:points}} | ||
|- | |- | ||
| Kick Return Yards | | Kick Return Yards | ||
| {{{playerName9}}} | | {{SID|{{#external_value:playerName9}}}} | ||
| {{ | | {{#external_value:kickRetYds}} | ||
|- | |- | ||
| Punt Return Yards | | Punt Return Yards | ||
| {{{playerName10}}} | | {{SID|{{#external_value:playerName10}}}} | ||
| {{ | | {{#external_value:puntRetYds}} | ||
|- | |- | ||
| Tackles | | Tackles | ||
| {{{playerName11}}} | | {{SID|{{#external_value:playerName11}}}} | ||
| {{ | | {{#external_value:tackles}} | ||
|- | |- | ||
| Sacks | | Sacks | ||
| {{{playerName12}}} | | {{SID|{{#external_value:playerName12}}}} | ||
| {{ | | {{#external_value:sacks}} | ||
|- | |- | ||
| Forced Fumbles | | Forced Fumbles | ||
| {{{playerName13}}} | | {{SID|{{#external_value:playerName13}}}} | ||
| {{ | | {{#external_value:forcedFumbles}} | ||
|- | |- | ||
| Interceptions | | Interceptions | ||
| {{{playerName14}}} | | {{SID|{{#external_value:playerName14}}}} | ||
| {{ | | {{#external_value:interceptions}} | ||
|} | |} | ||
{{#clear_external_data:}} | {{#clear_external_data:}} |
Latest revision as of 03:48, 31 January 2021
Team Leaders | ||
---|---|---|
Category | Player(s) | Value |
Passing Yards | Your wiki coding sucks | Error: no local variable "passYds" has been set. |
Touchdown Passes | Your wiki coding sucks | Error: no local variable "passTDs" has been set. |
Rushing Yards | Your wiki coding sucks | Error: no local variable "rushYds" has been set. |
Touchdown Runs | Your wiki coding sucks | Error: no local variable "rushTDs" has been set. |
Receptions | Your wiki coding sucks | Error: no local variable "receptions" has been set. |
Receiving Yards | Your wiki coding sucks | Error: no local variable "recYds" has been set. |
Touchdown Catches | Your wiki coding sucks | Error: no local variable "recTDs" has been set. |
Points Scored | Your wiki coding sucks | Error: no local variable "points" has been set. |
Kick Return Yards | Your wiki coding sucks | Error: no local variable "kickRetYds" has been set. |
Punt Return Yards | Your wiki coding sucks | Error: no local variable "puntRetYds" has been set. |
Tackles | Your wiki coding sucks | Error: no local variable "tackles" has been set. |
Sacks | Your wiki coding sucks | Error: no local variable "sacks" has been set. |
Forced Fumbles | Your wiki coding sucks | Error: no local variable "forcedFumbles" has been set. |
Interceptions | Your wiki coding sucks | Error: no local variable "interceptions" has been set. |