Jump to content

Template:NLLDivisionStanding/doc

From Wikipedia, the free encyclopedia

Syntax

[edit]

Full template

[edit]
{{NLLDivisionStanding
  |division=
  |conference=
  |team=
  |hideLegend=
  |teamInFirst=

  |team#_name=
  |team#_pos=
  |team#_short=
  |team#_link=
  |team#_clinch_playoff=
  |team#_clinch_division=
  |team#_clinch_best_record=
  |team#_home_win=
  |team#_home_loss=
  |team#_road_win=
  |team#_road_loss=
  |team#_gf=
  |team#_ga=
}}

Explanation of fields

[edit]
{{NLLDivisionStanding
  |division=                  The name of the current division being printed; if blank the template then looks at the conference field
  |conference=                If a division is not specified, then the name of the current conference being printed; if blank the division table has no caption
  |team=                      Short form of the team to be highlighted
  |hideLegend=                Set to "yes" or 1 to stop the legend from appearing (useful when showing multiple divisions on a single page)
  |teamInFirst=               The team that is currently in first place. This is not the numerical position it is the # used in "team#_" variables.
                              This will calculate the games back stat.

  |team#_name=                The team's name
  |team#_pos=                 The team's ranking in the division
  |team#_short=               The team's short form (used for highlighting)
  |team#_link=                The link to use for the team, usually the current season. If left blank, the team name will not be a link
  |team#_clinch_playoff=      Set to 1 to specify that the team has clinched a playoff spot. Set to 2 to specify that the team
                              has clinch a playoff spot, by cross over rule.
  |team#_clinch_division=     Set to 1 to specify that the team has clinched the best record in the division
  |team#_clinch_best_record=  Set to 1 to specify that the team has clinched the best record in the league
  |team#_home_win=            The team's number of wins at home
  |team#_home_loss=           The team's number of losses at home
  |team#_road_win=            The team's number of wins on the road
  |team#_road_loss=           The team's number of losses on the road
  |team#_gf=                  The team's total numbers of goals
  |team#_ga=                  The number of goals scored against the team
}}

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

Mandatory fields

[edit]
{{NLLDivisionStanding
  |team#_name=
}}

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

Note

[edit]

When creating a new NLL season template, when calling this template please include:

  |team={{{team}}}

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

Order

[edit]

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

[edit]

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

[edit]

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

[edit]

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

[edit]

This are blank template that can be used for creating a new standing page based upon the current NLL divisions and teams.

Reference: <ref>{{cite web|url=|title=|accessdate=|work=NLL.com}}</ref>
{{NLLDivisionStanding
 |team={{{team}}}
 |division=East
 |hideLegend=1
 |teamInFirst=1

 |team1_pos=0
 |team1_name=Buffalo Bandits
 |team1_link=
 |team1_short=BUF
 |team1_clinch_playoff=0
 |team1_clinch_division=0
 |team1_clinch_best_record=0
 |team1_home_win=0
 |team1_home_loss=0
 |team1_road_win=0
 |team1_road_loss=0
 |team1_gf=0
 |team1_ga=0

 |team2_pos=0
 |team2_name=Philadelphia Wings
 |team2_link=
 |team2_short=PHI
 |team2_clinch_playoff=0
 |team2_clinch_division=0
 |team2_clinch_best_record=0
 |team2_home_win=0
 |team2_home_loss=0
 |team2_road_win=0
 |team2_road_loss=0
 |team2_gf=0
 |team2_ga=0

 |team3_pos=0
 |team3_name=Rochester Knighthawks
 |team3_link=
 |team3_short=ROC
 |team3_clinch_playoff=0
 |team3_clinch_division=0
 |team3_clinch_best_record=0
 |team3_home_win=0
 |team3_home_loss=0
 |team3_road_win=0
 |team3_road_loss=0
 |team3_gf=0
 |team3_ga=0

 |team4_pos=0
 |team4_name=Toronto Rock
 |team4_link=
 |team4_short=TOR
 |team4_clinch_playoff=0
 |team4_clinch_division=0
 |team4_clinch_best_record=0
 |team4_home_win=0
 |team4_home_loss=0
 |team4_road_win=0
 |team4_road_loss=0
 |team4_gf=0
 |team4_ga=0
}}
{{NLLDivisionStanding
 |team={{{team}}}
 |division=West
 |hideLegend=0
 |teamInFirst=1

 |team1_pos=0
 |team1_name=Calgary Roughnecks
 |team1_link=
 |team1_short=CAL
 |team1_clinch_playoff=0
 |team1_clinch_division=0
 |team1_clinch_best_record=0
 |team1_home_win=0
 |team1_home_loss=0
 |team1_road_win=0
 |team1_road_loss=0
 |team1_gf=0
 |team1_ga=0

 |team2_pos=0
 |team2_name=Colorado Mammoth
 |team2_link=
 |team2_short=COL
 |team2_clinch_playoff=0
 |team2_clinch_division=0
 |team2_clinch_best_record=0
 |team2_home_win=0
 |team2_home_loss=0
 |team2_road_win=0
 |team2_road_loss=0
 |team2_gf=0
 |team2_ga=0

 |team3_pos=0
 |team3_name=Edmonton Rush
 |team3_link=
 |team3_short=EDM
 |team3_clinch_playoff=0
 |team3_clinch_division=0
 |team3_clinch_best_record=0
 |team3_home_win=0
 |team3_home_loss=0
 |team3_road_win=0
 |team3_road_loss=0
 |team3_gf=0
 |team3_ga=0

 |team4_pos=0
 |team4_name=Minnesota Swarm
 |team4_link=
 |team4_short=MIN
 |team4_clinch_playoff=0
 |team4_clinch_division=0
 |team4_clinch_best_record=0
 |team4_home_win=0
 |team4_home_loss=0
 |team4_road_win=0
 |team4_road_loss=0
 |team4_gf=0
 |team4_ga=0

 |team5_pos=0
 |team5_name=Washington Stealth
 |team5_link=
 |team5_short=WAS
 |team5_clinch_playoff=0
 |team5_clinch_division=0
 |team5_clinch_best_record=0
 |team5_home_win=0
 |team5_home_loss=0
 |team5_road_win=0
 |team5_road_loss=0
 |team5_gf=0
 |team5_ga=0
}}<noinclude>{{Reflist}}[[Category:National Lacrosse League standings templates|{{PAGENAME}}]]</noinclude>