Tɛmplet:Decade link/doc
This is a documentation subpage for Tɛmplet:Decade link. It contains usage information, categories and other content that is not part of the original tɛmplet page. |
This template is used on approximately 13,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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
mali niŋ{{Decade link|YYY0}}
Often used in combination with template {{Title decade}}:
{{Decade link|{{Title decade}}}}
Examples
mali niŋ[[{{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}}]]
→ [[Chiriŋ kana yɛltɔɣili maa ni: Di bi baŋ bachi s1690ss]][[{{Decade link|1690}}]]
→ 1690s
See also
mali niŋ