Template:Year nav range
From Wikipedia, the free encyclopedia
Century: | 8th century - 9th century - 10th century |
Decade: | 850s 860s 870s - 880s - 890s 900s 910s |
Year: | 885 886 887 - 888 - 889 890 891 |
[edit] Result
- Live result for default year "888" at right:
[edit] Usage
The template "Year nav range" displays a 20-year range (rather than 6-year) as a navigation box to select year articles
-
-
-
- Format:
{{Year nav range|year#}}
- Format:
-
-
The parameter year# can be year 101 or higher (it defaults to "888" for display).
To handle years BCE (or BC), use "Template:Year nav BC" to display those years.
The box width shrinks nearly 6% for smaller year-number sizes.
[edit] Examples
Example for "{{Year nav range|1970}}" at right:
Century: | 19th century - 20th century - 21st century |
Decade: | 1940s 1950s 1960s - 1970s - 1980s 1990s 2000s |
Year: | 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 - 1970 - 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 |
Example for "{{Year nav range|1992}}" at right:
Century: | 19th century - 20th century - 21st century |
Decade: | 1960s 1970s 1980s - 1990s - 2000s 2010s 2020s |
Year: | 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 - 1992 - 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 |
Example for "{{Year nav range|2002}}" at right:
Century: | 20th century - 21st century - 22nd century |
Decade: | 1970s 1980s 1990s - 2000s - 2010s 2020s 2030s |
Year: | 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 - 2002 - 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 |
Example for "{{Year nav range|101}}" at right:
Century: | 1st century - 2nd century - 3rd century |
Decade: | 70s 80s 90s - 100s - 110s 120s 130s |
Year: | 98 99 100 - 101 - 102 103 104 |
Example for "{{Year nav range|100}}" [invalid] at right:
Century: | 0th century - 1st century - 2nd century |
Decade: | 70s 80s 90s - 100s - 110s 120s 130s |
Year: | 97 98 99 - 100 - 101 102 103 |
- Use other templates for years below 101,
- such as Template:Year_nav_BC.