ഫലകത്തിന്റെ സംവാദം:MlYearBox
വിക്കിപീഡിയ, ഒരു സ്വതന്ത്ര വിജ്ഞാനകോശം.
( This is a copy of the corresponding Template Info in the English Wiki. Even this needs translation!)
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.
Ml is a general prefix to Templates specifically customised for Malayalam Wikis. So YearBox becomes MlYearBox.
[തിരുത്തുക] Usage
After copying the following onto the page
{{Mlyearbox|
| in?=
| cp3=
| cp2=
| cp1=
| c=
| cf1=
| cf2=
| cf3=
| yp3=
| yp2=
| yp1=
| year=
| ya1=
| ya2=
| ya3=
| dp3=
| dp2=
| dp1=
| d=
| dn1=
| dn2=
| dn3=
}}
you must enter values after the = sign.
in?= If the page is "XXXX in music" then put: in?=in music.
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 goes to a different page than the second box.
| സമയരേഖ - {{{in?}}} |
| 2002 2003 2004 2005 2006 2007 2008 |
| 1970s 1980s 1990s 2000s 2010s 2020s 2030s |
| [[{{{cp3}}}]] - [[{{{cp2}}}]] - [[{{{cp1}}}]] - 21st century - [[{{{cf1}}}]]- [[{{{cf2}}}]] - [[{{{cf3}}}]] |
| സമയരേഖ - in aviation |
| 2002 2003 2004 2005 2006 2007 2008 |
| 1970s 1980s 1990s 2000s 2010s 2020s 2030s |
| [[{{{cp3}}}]] - [[{{{cp2}}}]] - [[{{{cp1}}}]] - 21st century - [[{{{cf1}}}]]- [[{{{cf2}}}]] - [[{{{cf3}}}]] |

