Template:NBA Year/doc

Usage
Use this template to link to "NBA season" articles from a particular year. The first parameter is the starting year of the season. By default, the template displays text in the form "yyyy–yy"; except for the 1999–2000 season, which is in the form "yyyy–yyyy" to comply with WQ:YEAR: "A closing CE/AD year is normally written with two digits (1881–86) unless it is in a different century from that of the opening year (1881–1986)" (as of April 2009).

A second parameter may be used if only one year is to be displayed (does not work if  is passed in).

is the other name of this template.

Named parameters

 * app
 * Text to be appended after the year, with a space in between.

For the parameters below, passing in any non-empty text will produce the same result, so as a matter of style, only pass in "y" (without quotes).


 * nolink
 * Text must not be linked.


 * full
 * Text must be in "yyyy–yyyy" format.


 * trunc
 * The 1999–2000 season is to be displayed as "1999–00" instead of "1999–2000".


 * baa
 * The link target should direct to a BAA season article.

Examples

 * → 1999–2000
 * → 1999–2000
 * → 1999–2000
 * → 1999–2000
 * → 1999–2000
 * → 1999–2000


 * → 1998–1999
 * → 1998–1999
 * → 1998–1999


 * → 1946–1947

Bad examples

 * For style, only pass in "y" for the optional parameters:  → 1999–2000
 * and  conflict:   → 1999–2000
 * / and   are incompatible:   → 1999–2000
 * is useless for years other than 1999:  → 1998–1999
 * is useless for 1999:  → 1999–2000