مندرجات کا رخ کریں

سانچہ:عنوان دہائی سے صدی کا نام

آزاد دائرۃ المعارف، ویکیپیڈیا سے

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

Usage

[ترمیم]
  • {{عنوان دہائی سے صدی کا نام}}

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. The default behaviour is to 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 decade}}.

The same effect can be achieved by using {{دہائی یا سال کے لحاظ سے صدی|{{Title decade}}s}} ... but this wrapper makes more easily-read markup