Template:Category definition: Month in Nepal

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
English: Category definition: Month in Nepal - images/pictures taken in Nepal in this month. With CatScan, this allows to browse any Nepal-related category by year or month.
  • The date (month + year) is not the date of the upload (compare with the upload date) nor the date a photo was scanned (can be in exif).
Avoid adding images to month categories with unclear dates (sample). Ideally the date is in {{Information}} and camera exif data.
 Dec   Jan   Feb   Mar   Apr   May   Jun   Jul   Aug   Sep   Oct   Nov   Dec   Jan 
0 2 1 1 1 1 1 1 1 1 1 1 1 0
Template documentationview · edit · history · purge ]

The template automatically sets the following categories: YEAR in Germany by month (or YEAR in Germany), MONTH YEAR by country, MONTH YEAR in Europe, MONTH in Germany

Usage

{{Monthbyyear |1= |2= |3= }}

Example: {{Monthbyyeargermany|2012||10}} gives the sample shown above this documentation; however on this template page, the autocategorization is not applied, but displayed visibly below the rendered navigation box. This notably allows checking immediately the syntax in the preview, if ever this template is modified (all parameter values in this example are coded inside the of the template, but not included when using the template in any other pages), so changes can be checked immediately before saving and looking at results elsewhere, where pages using the template may be broken.

Template parameters

ParameterDescriptionDefaultStatus
1the year (or just first three digits of the number of the year indicating the decade)emptyrequired
2deprecated: the last digit of the number of the year indicating the precise year, if parameter 1 just passes the decade)emptyoptional
3the number of month in the year (from 1 to 12, initial padding of zeroes is supported but no longer needed)emptyrequired

Additional information

The template is intended to be used in the following namespaces: the Category namespace

The template is intended to be used by the following user groups: all users

Placement: At the top of the page

Relies on:
{{Decade years months navbox}}, {{Date}}

See also