Jump to content

Template:NBA game log start/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

Regular season

[edit]
{{NBA game log start|team|end_year=year|record=}}
{{NBA game log section|TEAM|MONTHorROUND|first=yes
| home_wins   = 
| home_losses = 
| road_wins   = 
| road_losses = 
}}
...
{{NBA game log section|TEAM|MONTHorROUND
| home_wins   = 
| home_losses = 
| road_wins   = 
| road_losses = 
}}
...
{{NBA game log end|ESPN abbreviation|end_year=year}}

Summer League

[edit]
{{NBA game log start|team|end_year=year|summer_league=yes|record=}}
{{NBA game log section|TEAM|MONTHorROUND|first=yes
| home_wins   = 
| home_losses = 
| road_wins   = 
| road_losses = 
}}
...
{{NBA game log section|TEAM|MONTHorROUND
| home_wins   = 
| home_losses = 
| road_wins   = 
| road_losses = 
}}
...
{{NBA game log end}}

Pre-season

[edit]
{{NBA game log start|team|end_year=year|pre-season=yes|record=}}
{{NBA game log section|TEAM|MONTHorROUND|first=yes
| home_wins   = 
| home_losses = 
| road_wins   = 
| road_losses = 
}}
...
{{NBA game log section|TEAM|MONTHorROUND
| home_wins   = 
| home_losses = 
| road_wins   = 
| road_losses = 
}}
...
{{NBA game log end|ESPN abbreviation|pre-season=yes|end_year=year}}

Note: for preseason instead of pre-season, use |preseason=yes instead of |pre-season=yes.

Playoffs

[edit]
{{NBA game log start|team|end_year=year|playoffs=yes|record=}}
{{NBA game log section|TEAM|MONTHorROUND|playoffs=yes|first=yes
| home_wins   = 
| home_losses = 
| road_wins   = 
| road_losses = 
}}
...
{{NBA game log section|TEAM|MONTHorROUND|playoffs=yes
| home_wins   = 
| home_losses = 
| road_wins   = 
| road_losses = 
}}
...
{{NBA game log end|ESPN abbreviation|playoffs=yes|end_year=year}}

Optional parameters:

  • bgcolor – background color
  • color – font color
  • record – season or section record
  • For sections that should be expanded, use show=yes in the NBA game log section template.
  • To use basketball-reference as a source instead of ESPN, use bbr_team=BBR abbreviation in the NBA game log end template

See also

[edit]