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.


{{Decade link|YYY0}}

Often used in combination with template {{Title decade}}:

{{Decade link|{{Title decade}}}}
  1. [[{{Decade link|1720}}]]1720 දශකය
  2. [[{{Decade link|1850}}]]1850 දශකය
  3. [[{{Decade link|1600}}]]1600 දශකය
  4. [[{{Decade link|2000}}]]2000 දශකය

Note that the trailing letter "s" must be omitted:

  • [[{{Decade link|1690s}}]] → [[ප්‍රකාශන දෝෂය: හඳුනානොගත් වදන "s"1690s දශකය]]
  • [[{{Decade link|1690}}]]1690 දශකය


"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Decade_link/doc&oldid=523812" වෙතින් සම්ප්‍රවේශනය කෙරිණි