Template:NFL playoff year
{{#switch: {{{1}}} | 1920 | 1921 | 1922 | 1923 | 1924 | 1925 | 1926 | 1927 | 1928 | 1929 | 1930 | 1931 | 1932 | 1933 | 1934 | 1935 | 1936 | 1937 | 1938 | 1939 | 1940 | 1941 | 1942 | 1943 | 1944 | 1945 | 1946 | 1947 | 1948 | 1949 | 1950 | 1951 | 1952 | 1953 | 1954 | 1955 | 1956 | 1957 | 1958 | 1959 | 1960 | 1961 | 1962 | 1963 | 1964 | 1965 | 1966 | 1967 | 1968 | 1969 = {{#ifexist: {{{1}}} NFL playoffs | [[}}{{{1}}} NFL playoffs|{{{1}}} | 1999 = [[{{{1}}}–Expression error: Unrecognized punctuation character "{". NFL playoffs|{{{1}}}]] | #default = [[{{{1}}}–0Expression error: Unexpected < operator. NFL playoffs|{{{1}}}]] }}
Usage
Use this template to link to appropriate NFL playoff article for a given season. For example, {{NFL playoff year|1978}} will create the following link: 1978.
Variations:
The text of the link can be controlled using the style attribute:
- {{NFL playoff year|1978|style=mid}} will create the following link: 1978 playoffs.
- {{NFL playoff year|1978|style=full}} will create the following link: 1978 NFL playoffs.
- {{NFL playoff year|1978|style=extended}} will create the following link: 1978–79 NFL playoffs.
- {{NFL playoff year|1978|style=complete}} will create the following link: 1978–79 National Football League playoffs.
Shortened version
The style designation can be further shortened as follows:
- {{NFL playoff year|1978|style=m}} will create the following link: 1978 playoffs.
- {{NFL playoff year|1978|style=f}} will create the following link: 1978 NFL playoffs.
- {{NFL playoff year|1978|style=e}} will create the following link: 1978–79 NFL playoffs.
- {{NFL playoff year|1978|style=c}} will create the following link: 1978–79 National Football League playoffs.
Ultra-short version
An alias has been re-directed to this page, which can be used to make the template even shorter, as follows:
- {{nflpy|2005}} will create the following link: 2005.
- {{nflpy|1978|style=m}} will create the following link: 1978 playoffs.
Note:
The template will only create a link if the page is valid:
- {{NFL playoff year|1492|style=mid}} will create the following unlinked text: 1492 playoffs.
See also
{{NFL Year}}
The above documentation is transcluded from Template:NFL playoff year/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |