Template:Decades and years/yearlink/doc

From MOASSpedia
Jump to navigation Jump to search

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}} AD 1
  • {{Decades and years/yearlink||1|BC}} BC
  • {{Decades and years/yearlink||1|AD}} AD 1

911

  • {{Decades and years/yearlink||911}} 911

Year 2000

  • {{Decades and years/yearlink||2000}} 2000
  • {{Decades and years/yearlink||2000|BC}} 2000 BC

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)