قالب:Decades and years/yearlink
Usage
Intended for use with years, decades, etc.; this subtemplate links to either of the following pages.
- [[{{{2}}} {{{3}}} {{{4}}}|{{{2}}} {{{3}}}]]
- [[{{{2}}} {{{4}}}|{{{2}}}]] iff {{{3}}} = AD
Years 1 to 100 are displayed with an "AD" prefix, per RfC decision on Talk:AD 1
{{{3}}} (AD or BC) is displayed in small type.
{{{4}}} is a disambiguation string to append to the linked date: " (decade)", or blank
Namespace parameter {{{1}}} is deprecated and ignored.
Subtemplate
Examples
Year 1
- {{Decades and years/yearlink||1}} 1 م
- {{Decades and years/yearlink||1|BC}} 1 ق.م.
- {{Decades and years/yearlink||1|AD}} 1 م
Year 2000
Decades
- {{Decades and years/yearlink||0s|}} 0s
- {{Decades and years/yearlink||0s|BC}} 0s BC
- {{Decades and years/yearlink||10s|}} 10s
- {{Decades and years/yearlink||10s|BC}} 10s BC
- {{Decades and years/yearlink||100s|}} 100s (ambiguous)
- {{Decades and years/yearlink||100s|AD| (decade)}} 100s (decade AD)
- {{Decades and years/yearlink||100s|BC| (decade)}} 100s BC (decade BC)
The above documentation is transcluded from قالب:Decades and years/yearlink/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |