Jump to content

Template:En dash range/testcases

From Wikipedia, the free encyclopedia


  • {{En dash range|2020|2021}} → 2020–2021
  • {{En dash range/sandbox|2020|2021}} → 2020–2021
  • {{En dash range|1 January 2020|1 January 2021}} → 1 January 2020 – 1 January 2021
  • {{En dash range/sandbox|1 January 2020|1 January 2021}} → 1 January 2020 – 1 January 2021
  • {{En dash range|1 January 2020|2021}} → 1 January 2020 – 2021
  • {{En dash range/sandbox|1 January 2020|2021}} → 1 January 2020 – 2021
  • {{En dash range|2020|1 January 2021}} → 2020 – 1 January 2021
  • {{En dash range/sandbox|2020|1 January 2021}} → 2020 – 1 January 2021
  • {{En dash range|2020-01-01|2021-01-01}} → 2020-01-01 – 2021-01-01
  • {{En dash range/sandbox|2020-01-01|2021-01-01}} → 2020-01-01 – 2021-01-01
  • {{En dash range|2020|present}} → 2020–present
  • {{En dash range/sandbox|2020|present}} → 2020–present
  • {{En dash range|1 January 2020|present}} → 1 January 2020 – present
  • {{En dash range/sandbox|1 January 2020|present}} → 1 January 2020 – present
  • {{En dash range|2020'"`UNIQ--ref-00000005-QINU`"'|2021}} → 2020[1]–2021
  • {{En dash range/sandbox|2020'"`UNIQ--ref-00000005-QINU`"'|2021}} → 2020[1]–2021
  • {{En dash range|2020|2021'"`UNIQ--ref-00000006-QINU`"'}} → 2020–2021[2]
  • {{En dash range/sandbox|2020|2021'"`UNIQ--ref-00000006-QINU`"'}} → 2020–2021[2]
  • {{En dash range|2020'"`UNIQ--ref-00000007-QINU`"'|2021'"`UNIQ--ref-00000008-QINU`"'}} → 2020[3]–2021[4]
  • {{En dash range/sandbox|2020'"`UNIQ--ref-00000007-QINU`"'|2021'"`UNIQ--ref-00000008-QINU`"'}} → 2020[3]–2021[4]
  • {{En dash range|2020-01-01|2021}} → 2020-01-01 – 2021
  • {{En dash range/sandbox|2020-01-01|2021}} → 2020-01-01 – 2021
  • {{En dash range|2020|2021-01-01}} → 2020 – 2021-01-01
  • {{En dash range/sandbox|2020|2021-01-01}} → 2020 – 2021-01-01
  • {{En dash range|2020-01-01|2021-01-01}} → 2020-01-01 – 2021-01-01
  • {{En dash range/sandbox|2020-01-01|2021-01-01}} → 2020-01-01 – 2021-01-01
{{En dash range|2020-01-01
|2021-01-01}}
Side by side comparison
{{En dash range}}{{En dash range/sandbox}}

2020-01-01

 – 2021-01-01

2020-01-01

 – 2021-01-01

References

[edit]
  1. ^ foo
  2. ^ foo
  3. ^ foo
  4. ^ foo