< Template:Decade linkRevision as of 18:07, 26 March 2020 by imported>Andrybak
- Redirect Template:High-use
| This page is a redirect:
- From a modification: This is a redirect from a modification of the target's title or a closely related title. For example, the words may be rearranged.
- Please note that there are many more specific templates. Please use {{R from alternative spelling}} for spelling changes (including punctuation and spacing); see subcategories of Category:Redirects from modifications for other options (capitals, abbreviations, diacritics, plurals, stylizations, transliteration, ligatures, different parts of speech, etc.). If you are unsure which to use, this template is fine; someone will make it more specific later if necessary.
- In cases of modification from distinctly longer or shorter names, please use {{R from long name}} or {{R from short name}}, respectively. Abbreviations (including acronyms) should also receive {{R from abbreviation}}.
- Use this rcat instead of {{R from other capitalisation}} and {{R from plural}} in namespaces other than mainspace for those types of modification. This may also apply to several other subcategories of modification; please check those templates' output before saving if using outside of mainspace.
When appropriate, protection levels are automatically sensed, described and categorized. |
A helper template which returns the name of the article on a given decade.
This is needed because the articles on decades whose name ends in 00s are disambiguated. So if a template needs to link to an article on decade, [[YYY0s]] will link to a disambiguation page for some decades.
This template allows accurate links to be generated by writing [[{{Decade link|YYY0}}]]. The link is piped if needed.
Usage
{{Decade link|YYY0s}}
Examples
[[{{Decade link|1720}}]] → 1720s
[[{{Decade link|1850}}]] → 1850s
[[{{Decade link|1600}}]] → 1600s
[[{{Decade link|2000}}]] → 2000s
Note that the trailing letter "s" must be omitted:
[[{{Decade link|1690s}}]] → [[Expression error: Unrecognized word "s".1690ss]]
[[{{Decade link|1690}}]] → 1690s
See also