Jump to content

Template:NLL game log/doc

From Wikipedia, the free encyclopedia

Syntax

[edit]

Full template

[edit]
{{NLL game log
  |arena=
  |arena_link=

  |game#_num=
  |game#_date=
  |game#_opp=
  |game#_opp_link=
  |game#_loc=
  |game#_loc_link=
  |game#_road_game=
  |game#_team_score=
  |game#_opp_score=
  |game#_ot=
  |game#_attendance=
}}

Explanation of fields

[edit]
{{NLL game log
  |arena_link=       The Wikipedia entry for the arena
  |arena=            The name of the home teams arena during the season (if different from the Wikipedia entry title or entry doesn't exist).

  |game#_num=        The number of the game. Defaults to the same as #.
  |game#_date=       The date of the game
  |game#_opp_link=   The Wikipedia entry for the opposing team
  |game#_opp=        The name of the opposing team (if different from the Wikipedia entry title or entry doesn't exist).
  |game#_loc_link=   The Wikipedia entry for the arena being played in, if it is an away game.
  |game#_loc=        The name of the arena the game is played in if it is an away game (if different from the Wikipedia entry title or entry doesn't exist).
  |game#_road_game=  Set to 1, to mark this as an away game.
  |game#_team_score= The score of the current team.
  |game#_opp_score=  The score of the opposing team
  |game#_ot=         The number of overtime periods played
  |game#_attendance= The number of spectators at the game.
}}

The template is deigned to handle 20 games. Replace the # above with the any number from 1-20 as necessary.

Mandatory fields

[edit]
{{NLL game log
  |game#_opp=
  |game#_opp_link=
}}

The opponent name and/or link is all that is necessary to add the game to the schedule.

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 record of the team is calculated on the fly.

Blank Templates

[edit]

These are blank templates that can be used for creating a new season based upon the current NLL format.

Regular Season

[edit]
Reference:<ref>{{cite web|url=|work=NLL.com|title=|accessdate=}}</ref>
{{NLL game log
  |arena=
  |arena_link=

  |game1_date=
  |game1_opp=
  |game1_opp_link=
  |game1_loc=
  |game1_loc_link=
  |game1_road_game=0
  |game1_team_score=0
  |game1_opp_score=0
  |game1_ot=0
  |game1_attendance=0

  |game2_date=
  |game2_opp=
  |game2_opp_link=
  |game2_loc=
  |game2_loc_link=
  |game2_road_game=0
  |game2_team_score=0
  |game2_opp_score=0
  |game2_ot=0
  |game2_attendance=0

  |game3_date=
  |game3_opp=
  |game3_opp_link=
  |game3_loc=
  |game3_loc_link=
  |game3_road_game=0
  |game3_team_score=0
  |game3_opp_score=0
  |game3_ot=0
  |game3_attendance=0

  |game4_date=
  |game4_opp=
  |game4_opp_link=
  |game4_loc=
  |game4_loc_link=
  |game4_road_game=0
  |game4_team_score=0
  |game4_opp_score=0
  |game4_ot=0
  |game4_attendance=0

  |game5_date=
  |game5_opp=
  |game5_opp_link=
  |game5_loc=
  |game5_loc_link=
  |game5_road_game=0
  |game5_team_score=0
  |game5_opp_score=0
  |game5_ot=0
  |game5_attendance=0

  |game6_date=
  |game6_opp=
  |game6_opp_link=
  |game6_loc=
  |game6_loc_link=
  |game6_road_game=0
  |game6_team_score=0
  |game6_opp_score=0
  |game6_ot=0
  |game6_attendance=0

  |game7_date=
  |game7_opp=
  |game7_opp_link=
  |game7_loc=
  |game7_loc_link=
  |game7_road_game=0
  |game7_team_score=0
  |game7_opp_score=0
  |game7_ot=0
  |game7_attendance=0

  |game8_date=
  |game8_opp=
  |game8_opp_link=
  |game8_loc=
  |game8_loc_link=
  |game8_road_game=0
  |game8_team_score=0
  |game8_opp_score=0
  |game8_ot=0
  |game8_attendance=0

  |game9_date=
  |game9_opp=
  |game9_opp_link=
  |game9_loc=
  |game9_loc_link=
  |game9_road_game=0
  |game9_team_score=0
  |game9_opp_score=0
  |game9_ot=0
  |game9_attendance=0

  |game10_date=
  |game10_opp=
  |game10_opp_link=
  |game10_loc=
  |game10_loc_link=
  |game10_road_game=0
  |game10_team_score=0
  |game10_opp_score=0
  |game10_ot=0
  |game10_attendance=0

  |game11_date=
  |game11_opp=
  |game11_opp_link=
  |game11_loc=
  |game11_loc_link=
  |game11_road_game=0
  |game11_team_score=0
  |game11_opp_score=0
  |game11_ot=0
  |game11_attendance=0

  |game12_date=
  |game12_opp=
  |game12_opp_link=
  |game12_loc=
  |game12_loc_link=
  |game12_road_game=0
  |game12_team_score=0
  |game12_opp_score=0
  |game12_ot=0
  |game12_attendance=0

  |game13_date=
  |game13_opp=
  |game13_opp_link=
  |game13_loc=
  |game13_loc_link=
  |game13_road_game=0
  |game13_team_score=0
  |game13_opp_score=0
  |game13_ot=0
  |game13_attendance=0

  |game14_date=
  |game14_opp=
  |game14_opp_link=
  |game14_loc=
  |game14_loc_link=
  |game14_road_game=0
  |game14_team_score=0
  |game14_opp_score=0
  |game14_ot=0
  |game14_attendance=0

  |game15_date=
  |game15_opp=
  |game15_opp_link=
  |game15_loc=
  |game15_loc_link=
  |game15_road_game=0
  |game15_team_score=0
  |game15_opp_score=0
  |game15_ot=0
  |game15_attendance=0

  |game16_date=
  |game16_opp=
  |game16_opp_link=
  |game16_loc=
  |game16_loc_link=
  |game16_road_game=0
  |game16_team_score=0
  |game16_opp_score=0
  |game16_ot=0
  |game16_attendance=0

  |game17_date=
  |game17_opp=
  |game17_opp_link=
  |game17_loc=
  |game17_loc_link=
  |game17_road_game=0
  |game17_team_score=0
  |game17_opp_score=0
  |game17_ot=0
  |game17_attendance=0

  |game18_date=
  |game18_opp=
  |game18_opp_link=
  |game18_loc=
  |game18_loc_link=
  |game18_road_game=0
  |game18_team_score=0
  |game18_opp_score=0
  |game18_ot=0
  |game18_attendance=0
}}

Playoff

[edit]
Reference:<ref>{{cite web|url=|work=NLL.com|title=|accessdate=}}</ref>
{{NLL game log
  |arena=
  |arena_link=

  |game1_num=Division&amp;nbsp;Semifinal
  |game1_date=
  |game1_opp=
  |game1_opp_link=
  |game1_loc=
  |game1_loc_link=
  |game1_road_game=0
  |game1_team_score=0
  |game1_opp_score=0
  |game1_ot=0
  |game1_attendance=0

  |game2_num=Division&amp;nbsp;Final
  |game2_date=
  |game2_opp=
  |game2_opp_link=
  |game2_loc=
  |game2_loc_link=
  |game2_road_game=0
  |game2_team_score=0
  |game2_opp_score=0
  |game2_ot=0
  |game2_attendance=0

  |game3_num=Championship&amp;nbsp;Game
  |game3_date=
  |game3_opp=
  |game3_opp_link=
  |game3_loc=
  |game3_loc_link=
  |game3_road_game=0
  |game3_team_score=0
  |game3_opp_score=0
  |game3_ot=0
  |game3_attendance=0
}}