Template:Decades and years/yearlink
Appearance
Usage
[edit]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
[edit]Examples
[edit]Year 1
[edit]- {{Decades and years/yearlink||1}} AD 1
- {{Decades and years/yearlink||1|BC}} 1 BC
- {{Decades and years/yearlink||1|AD}} AD 1
911
[edit]- {{Decades and years/yearlink||911}} 911
Year 2000
[edit]Decades
[edit]- {{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)