Extracts a 4-digit year from the current page title, and returns the name of the century in which that year was.

Usage සංස්කරණය

  • {{Century name from title year}}

Mostly used in categorisation.

Parameters සංස්කරණය

All parameters are optional

  1. The single word "dash" changes the output from "nth century" to "nth-century"
  2. A "nomatch" parameter may be used to specify text to be return if the input cannot be processed. Default behaviour is return an empty string if there is no match

Examples සංස්කරණය

Implementation සංස්කරණය

This template is implemented by using {{Century name from decade or year}} around {{Title year}}.

The same effect can be achieved by using {{Century name from decade or year|{{Title year}}}} ... but this wrapper makes more easily-read markup

See also සංස්කරණය


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