Template:PaintColombiacat
This template produces a small navigational box with links to year
- or decade
-bound categories for media files of paintings in Colombia. A given start time places earlier and later category links respective to the time scale. It can be used both in image files and in categories. Syntax:
{{PaintColombiacat|MCD|Y}} <!-- variables are M: Millennium, C: Century, D: Decade, Y: Year -->
{{PaintColombiacat}}
The second form auto-deducts MCD and Y from a transcluding PAGENAME. For this to work, the title of the transcluding page needs to start with a pattern MCDY paintings
or MCD0s paintings
. If the latter pattern is found, a navigational box for decades will be output instead of one for years and the caller is categorized accordingly.
- Localization
Please add language translations to the i18n page. See an example before creating new translation pages.
- Styling
To modify styling edit PaintColombiacat/styles.css. This may in part override properties of the defaults used for all countries.
- Example input
{{PaintColombiacat|187|1}}
- categorizes into Category:1871 paintings by country of location or Category:1871 paintings by country if the former does not exist
- template users need to undertake a edit/save cycle for refresh of categorization
- this applies esp. if by country of location cat is created after pages had already been categorized into by country
- Example output
1870s paintings in Colombia |
---|
1874 · 1878 · → |