Template:Yearbox/doc
This template is used to add a box at the top of a years page in order to make it easier to navigate around the timeline.
Usage
After copying the following onto the page
{{yearbox| | in?= | cp= | c= | cf= | yp1= | yp2= | yp3= | year= | ya1= | ya2= | ya3= | dp3= | dp2= | dp1= | d= | dn1= | dn2= | dn3= }}
you must enter values after the = sign.
in?= (optional) If the page is "XXXX in music" then put: in?=in music. Omitting this parameter will suppress the "Year in XXXX" row
cp= The century previous to the one the page is in. cp=[[20th century]] for 2004
c= The century the page is in. c=[[21st century]] for 2004
cf= The century following the one the page is in. cn1=[[22nd century]] for 2004
yp1=
yp2= These 3 are the 3 decades previous to the one the page is in.
yp3=
year= Page year
ya1=
ya2= These 3 are the 3 years following the page.
ya3=
dp3=
dp2= These 3 are the 3 decades previous to the one the page is in.
dp1=
d= The decade the page is in. d=[[2000s (decade)|2000s]] for 2004.
dn1=
dn2= These 3 are the 3 decades following the one the page is in.
dn3=
Examples
These two boxes look exactly the same, but the first one has in?= in aviation so the first line lists the links to the appropriate "Year in Topic" pages.
Centuries: | 20th Century · 21st century · 22nd century |
Decades: | 1970s 1980s 1990s 2000s 2010s 2020s 2030s |
Years: | 2002 2003 2004 2005 2006 2007 2008 |
Years in film: | 2002 2003 2004 2005 2006 2007 2008 |
Centuries: | 20th Century · 21st century · 22nd century |
Decades: | 1970s 1980s 1990s 2000s 2010s 2020s 2030s |
Years: | 2002 2003 2004 2005 2006 2007 2008 |