قالب:اسم القرن من عنوان السنة/شرح

من أرابيكا، الموسوعة الحرة
اذهب إلى التنقل اذهب إلى البحث

قالب:High use 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.

المعلمات

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

أمثلة

Implementation

This template is implemented by using {{اسم القرن من العقد أو السنة}} 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

انظر أيضًا

{{{2}}}