Template:Infobox decade list

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

This template may be used with {{navbox}} to create a row of ten evenly spaced year links.

Usage[change source]

| list1 = {{navbox decade list| link1 | link2 | link3 | link4 | link5 | link6 | link7 | link8 | link9 | 2010 }}

or

| list1 = {{navbox decade list| link= in foo| link1 | link2 | link3 | link4 | link5 | link6 | link7 | link8 | link9 | 2010 }}

Example[change source]

{{navbox
| navbar = plain
| title = Example 1

| list1 = {{navbox decade list| 2010 | 2011 | 2012 | 2013 | 2014 | 2015 | 2016 | 2017 | 2018 | 2019 }}

| list2 = {{navbox decade list| 2020 | 2021 | 2022 | 2023 | 2024 | 2025 | 2026 | 2027 | 2028 | 2029 }}

}}
{{navbox
| navbar = plain
| title = Example 2

| list1 = {{navbox decade list| link=in sports| 2000 | 2001 | 2002 | 2003 | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 }}

| list2 = {{navbox decade list| link=in sports| 2010 | 2011 | 2012 | 2013 | 2014 | 2015 | 2016 | 2017 | 2018 | 2019 }}

}}
{{navbox
| navbar = plain
| title = Example 3

| list1 = {{navbox decade list| link=in sports| 2000 | 2001 | 2002 | 2003 | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 }}

| list2 = {{navbox decade list| link=in sports| 2010 | 2011 | 2012 | 2013 | 2014 | 2015 | 2016 | 2017 | None | None }}

}}

See also[change source]