Template:Cat topic in year
Appearance
This template employs complicated features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
Usage
[change source]This template can be used for categories that are for topics by year. It adds a navigation box to the category with links to other years for the same topic. An example of a category that might use this is Category:Railway stations opened in 1932.
{{Cat topic in year|topic=|year=}}
Railway stations opened by year | 1929 1930 1931 1932 1933 1934 1935 |
Years | 1929 1930 1931 1932 1933 1934 1935 |
Parameters (example shown at right):
- topic - The topic for the "TOPIC by year" line (e.g. "railway stations opened")
- year - The primary year for the center element of the links (default=2024)
Similar templates
[change source]Some topics should not use this template because there is a specific template for them. Some of those topics are:
- Births in years AD -- use {{Birthyr}}
- Births in years BC -- use {{BirthyrBC}}
- Deaths -- use {{Deathyr}}
- Years in ice hockey -- use {{YearsInHockeyDecade}}
- Years in sports -- use {{Sportsyearcat}}