Үлгі талқылауы:Yearbox
Уикипедиядан
his 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]] 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.
Жыл : | 2002 2003 2004 2005 2006 2007 2008 |
Ғасыр: | 20 ғ. — 21 ғ. — 22 ғ. |
Онжылдық: | 1970 жж. 1980 жж. 1990 жж. · 2000 жж. · 2010 жж. 2020 жж. 2030 жж. |
Жыл: | 2002 2003 2004 · 2005 · 2006 2007 2008 |
Жыл авиацияда: | 2002 2003 2004 2005 2006 2007 2008 |
Ғасыр: | 20 ғ. — 21 ғ. — 22 ғ. |
Онжылдық: | 1970 жж. 1980 жж. 1990 жж. · 2000 жж. · 2010 жж. 2020 жж. 2030 жж. |
Жыл: | 2002 2003 2004 · 2005 · 2006 2007 2008 |