Template:PaintingfromDenmarkcat
Jump to navigation
Jump to search
This template provides a small navigational box with painting categories (by year). A given start year leads to earlier and later categories. It can be used both in image files and in categories. Syntax:
{{PaintingfromDenmarkcat|MCD|Y}} <!-- variables are M: Millennium, C: Century, D: Decade, Y: Year -->
{{PaintingfromDenmarkcat}}
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 '.
- Styling
To modify styling edit PaintingfromDenmarkcat/styles.css. This may in part override properties of the defaults used for all countries.
- Example input
{{PaintingfromDenmarkcat|187|1}}
- categorizes into Category:1871 paintings by country of origin 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 origin cat is created after pages had already been categorized into by country
- Example output
1870s paintings from Denmark | ||
---|---|---|
<< | 1870 • 1871 • 1872 • 1873 • 1874 • 1875 • 1876 • 1877 • 1878 • 1879 | >> |
}}