Template:Great circle distance/testcases
Appearance
This is the template test cases page for the sandbox of Template:Great circle distance. 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: |
Empty
Two points at 0 lat
Two points at 35.4 lat
Two points at 89 lat, precision=3
{{Great circle distance|89|-151.1|89|123.393|precision=3}}
150.627
{{Great circle distance/sandbox}}
150.627
Two points centered on -36.7 lat
{{Great circle distance|-24.5|-151.1|-48.877|-123.393}}
3,627
{{Great circle distance/sandbox}}
3,627
Two point, precision=-2
{{Great circle distance|-24.5|-151.1|-48.877|-123.393|precision=-2}}
3,600
{{Great circle distance/sandbox}}
3,600
Two point, disp=
{{Great circle distance|-24.5|-151.1|-48.877|-123.393|disp=}}
3,627 kilometres (3,627 km)
{{Great circle distance/sandbox}}
3,627 kilometres (3,627 km)
Two point, precision=-2, disp=
{{Great circle distance|-24.5|-151.1|-48.877|-123.393|disp= |precision=-2}}
3,627 kilometres (3,600 km)
{{Great circle distance/sandbox}}
3,627 kilometres (3,600 km)
Two point, precision=2, disp=
{{Great circle distance|-24.5|-151.1|-48.877|-123.393|disp= |precision=2}}
3,627.19 kilometres (3,627.19 km)
{{Great circle distance/sandbox}}
3,627.19 kilometres (3,627.19 km)
Two point, disp=flip
{{Great circle distance|-24.5|-151.1|-48.877|-123.393|disp=flip}}
3,627 kilometres (3,627 km)
{{Great circle distance/sandbox}}
3,627 kilometres (3,627 km)
Jezero to Olympus Mons on Mars
{{Great circle distance|18.408|77.687|18.653|-133.803|3389.5|disp=flip |units=mi}}
4,842 miles (7,793 km)
{{Great circle distance/sandbox}}
4,842 miles (7,793 km)