This is the template test cases page for the sandbox of Template:En dash range. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
{{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}}
{{En dash range}} | {{En dash range/sandbox}} |
---|---|
2020-01-01 – 2021-01-01 |
2020-01-01 – 2021-01-01 |