Template:NLLDivisionStanding/doc

From English Wikipedia @ Freddythechick

Syntax

Full template

<syntaxhighlight lang="wikitext">

PTeamGPWLPCTGBHomeRoadGFGADiffGF/GPGA/GP

x: Clinched playoff berth; c: Clinched playoff berth by crossing over to another division; y: Clinched division; z: Clinched best regular season record; GP: Games Played
W: Wins; L: Losses; GBGames back; PCT: Win percentage; Home: Record at Home; Road: Record on the Road; GF: Goals scored; GA: Goals allowed
Differential: Difference between goals scored and allowed; GF/GP: Average number of goals scored per game; GA/GP: Average number of goals allowed per game
</syntaxhighlight>

Explanation of fields

<syntaxhighlight lang="wikitext">

The name of the current division being printed; if blank the template then looks at the conference field Division
PTeamGPWLPCTGBHomeRoadGFGADiffGF/GPGA/GP

x: Clinched playoff berth; c: Clinched playoff berth by crossing over to another division; y: Clinched division; z: Clinched best regular season record; GP: Games Played
W: Wins; L: Losses; GBGames back; PCT: Win percentage; Home: Record at Home; Road: Record on the Road; GF: Goals scored; GA: Goals allowed
Differential: Difference between goals scored and allowed; GF/GP: Average number of goals scored per game; GA/GP: Average number of goals allowed per game
</syntaxhighlight>

The template is deigned to handle 15 teams currently. Replace the # above with the any number from 1-15 as necessary.

Mandatory fields

<syntaxhighlight lang="wikitext">

PTeamGPWLPCTGBHomeRoadGFGADiffGF/GPGA/GP

x: Clinched playoff berth; c: Clinched playoff berth by crossing over to another division; y: Clinched division; z: Clinched best regular season record; GP: Games Played
W: Wins; L: Losses; GBGames back; PCT: Win percentage; Home: Record at Home; Road: Record on the Road; GF: Goals scored; GA: Goals allowed
Differential: Difference between goals scored and allowed; GF/GP: Average number of goals scored per game; GA/GP: Average number of goals allowed per game
</syntaxhighlight>

The name is all that is necessary to add a team to the division.

Note

When creating a new NLL season template, when calling this template please include: <syntaxhighlight lang="wikitext">

 |team={{{team}}}

</syntaxhighlight>

This will ensure that the teams can still be highlighted when the second template is called from a season page.

Order

The template will show the teams in the variable order. Set the teamInFirst variable to the correct team, for the games back calculation.

Data checking

There is absolute no data verification. If a parameter is not included, it is given a default value. However, if you include an improper value (e.g.: "eight" instead of 8 for a numerical parameter), it will most likely break the template. Ensure that all values input show up as expected when template is used.

Calculations

The number of games played, wins, losses, percentage and goals per game averages are calculated by the number of road wins/losses and home wins/losses entered.

The games back field is calculated when the teamInFirst field is included and that team has been properly entered. There is no data verification, if you specify a team that is not in first, the calculations will be wrong.

Short Forms

The short form is used to highlight a team in the division standing. The accepted short forms are:

Team Short Form
Albany Attack ALB
Anaheim Storm ANA
Arizona Sting ARI
Baltimore Thunder BAL
Boston Blazers BOS
Buffalo Bandits BUF
Calgary Roughnecks CAL
Charlotte Cobras CCB
Chicago Shamrox CHI
Colorado Mammoth COL
Detroit Turbos DET
Columbus Landsharks CLS
Edmonton Rush EDM
Georgia Swarm GEO
Minnesota Swarm MIN
Montreal Express MON
New England Black Wolves NBW
New England Blazers NEB
New Jersey Saints JSA
New Jersey Storm NJS
New York Saints NYS
New York Titans NYT
Ontario Raiders ONT
Orlando Titans ORL
Ottawa Rebel OTT
Philadelphia Wings PHI
Pittsburgh Bulls PTB
Pittsburgh CrosseFire PIT
Portland LumberJax POR
Rochester Knighthawks ROC
San Jose Stealth SJS
Saskatchewan Rush SSK
Syracuse Smash SYR
Toronto Rock TOR
Vancouver Ravens VAN
Vancouver Stealth VAS
Washington Power WSP
Washington Stealth WAS
Washington Wave WWV

Blank Templates

This are blank template that can be used for creating a new standing page based upon the current NLL divisions and teams. <syntaxhighlight lang="wikitext">Reference: [1]

East Division
PTeamGPWLPCTGBHomeRoadGFGADiffGF/GPGA/GP

0Buffalo Bandits000.0000.00–00–000−-00.000.00
0Philadelphia Wings000.0000.00–00–000−-00.000.00
0Rochester Knighthawks000.0000.00–00–000−-00.000.00
0Toronto Rock000.0000.00–00–000−-00.000.00
West Division
PTeamGPWLPCTGBHomeRoadGFGADiffGF/GPGA/GP

0Calgary Roughnecks000.0000.00–00–000−-00.000.00
0Colorado Mammoth000.0000.00–00–000−-00.000.00
0Edmonton Rush000.0000.00–00–000−-00.000.00
0Minnesota Swarm000.0000.00–00–000−-00.000.00
0Washington Stealth000.0000.00–00–000−-00.000.00

x: Clinched playoff berth; c: Clinched playoff berth by crossing over to another division; y: Clinched division; z: Clinched best regular season record; GP: Games Played
W: Wins; L: Losses; GBGames back; PCT: Win percentage; Home: Record at Home; Road: Record on the Road; GF: Goals scored; GA: Goals allowed
Differential: Difference between goals scored and allowed; GF/GP: Average number of goals scored per game; GA/GP: Average number of goals allowed per game

  1. ^ NLL.com. {{cite web}}: Missing or empty |title= (help); Missing or empty |url= (help)

</syntaxhighlight>