ទំព័រគំរូ:ប្រតិទិន/doc
Appearance
This is a documentation subpage for ទំព័រគំរូ:ប្រតិទិន. It may contain usage information, categories and other content that is not part of the original ទំព័រគំរូ page. |
This template displays either a yearly or monthly calendar (from 1970-2037).
Parameters
[កែប្រែ]- month
- To display a single month the parameter
month
must be defined. This parameter can be a month name or number, the current month use
month=current
(
next
and
last
are also accepted).
- year
- The parameter
year sets the year of the calendar the default being the current year.
- format
- To start the week on Monday use either
format=Mon1st or, to include iso week numbers, format=iso.
- show_year
- To display the year use
show_year=on.
- float
- To float the calendar left or right use
float=left or float=left.
- lk
- To link days, months and years use
lk=on.
- prevnext
- To add links to the previous and next months use
prevnext=on.
Examples
[កែប្រែ]
{{calendar|lk=on|show_year=on|float=right|month=current}}
produces the calendar above and {{calendar}}
produces the calendar below.