Jump to content

Template:GeoGroup/testcases

From Wikipedia, the free encyclopedia

Some data for testing

[edit]

All coordinates from a single page:

Side by side comparison
{{GeoGroup}}{{GeoGroup/sandbox}}

All coordinates from a single page with mapframe map

Side by side comparison
{{GeoGroup}}{{GeoGroup/sandbox}}

All coordinates from a single page with maplink map

Side by side comparison
{{GeoGroup}}{{GeoGroup/sandbox}}

Examples

[edit]

Data from Netherton Tunnel Branch Canal article:

Point Coordinates
Dudley Port Junction 52°31′19″N 2°02′36″W / 52.52204°N 2.04331°W / 52.52204; -2.04331 (Dudley Port Junction)
Groveland Bridge (Tipton Road, A457) 52°31′03″N 2°02′51″W / 52.51758°N 2.04760°W / 52.51758; -2.04760 (Groveland Bridge (Tipton Road, A457))
Tividale Aqueduct (Old BCN Main Line) 52°30′59″N 2°02′54″W / 52.51640°N 2.04843°W / 52.51640; -2.04843 (Tividale Aqueduct (Old BCN Main Line))
Northern tunnel portal 52°30′55″N 2°02′58″W / 52.51534°N 2.04948°W / 52.51534; -2.04948 (Northern tunnel portal)
Aston Road air vent 52°30′31″N 2°03′19″W / 52.50850°N 2.05518°W / 52.50850; -2.05518 (Aston Road air vent)
Regent Road air vent 52°30′25″N 2°03′25″W / 52.50697°N 2.05708°W / 52.50697; -2.05708 (Regent Road air vent)
Approx. tunnel midpoint 52°30′16″N 2°03′34″W / 52.50435°N 2.05932°W / 52.50435; -2.05932 (Approx. tunnel midpoint)
Southern tunnel portal 52°29′36″N 2°04′09″W / 52.49335°N 2.06916°W / 52.49335; -2.06916 (Southern tunnel portal)
Windmill End Junction 52°29′30″N 2°04′13″W / 52.49157°N 2.07019°W / 52.49157; -2.07019 (Windmill End Junction)

Display the coordinates from the current section (in current article), without maplink map:

Side by side comparison
{{GeoGroup}}{{GeoGroup/sandbox}}

Display the coordinates from the current section (in current article) with a mapframe map:

Side by side comparison
{{GeoGroup}}{{GeoGroup/sandbox}}

Display the coordinates from the current section (in current article) with a maplink map:

Side by side comparison
{{GeoGroup}}{{GeoGroup/sandbox}}

Other examples

[edit]

Display the coordinates from a different section than this one (in current article):

Side by side comparison
{{GeoGroup}}{{GeoGroup/sandbox}}

Display the coordinates from a different section than this one (in current article), when that section has no coordinates:
(Expected result: "sorry, no data to show" but GeoGroup box displays "this section").

Side by side comparison
{{GeoGroup}}{{GeoGroup/sandbox}}

Display all the coordinates in a different article:

Side by side comparison
{{GeoGroup}}{{GeoGroup/sandbox}}

Display just the coordinates in one section of a different article:

Side by side comparison
{{GeoGroup}}{{GeoGroup/sandbox}}

Display all coordinates in a category:

Side by side comparison
{{GeoGroup}}{{GeoGroup/sandbox}}

Display all coordinates in a large parent category and all of its subcategories (using infinite recursion):

Side by side comparison
{{GeoGroup}}{{GeoGroup/sandbox}}

Display all coordinates in the large parent category to one level of subcategories (using recursion level 1):

Side by side comparison
{{GeoGroup}}{{GeoGroup/sandbox}}

Display coordinates in the large parent category to two levels of subcategories (using recursion level 2):

Side by side comparison
{{GeoGroup}}{{GeoGroup/sandbox}}

Display all coordinates in another large category and all its subcategories:

Side by side comparison
{{GeoGroup}}{{GeoGroup/sandbox}}


Other mapframe examples

[edit]

Display the coordinates from a different section than this one (in current article):

Side by side comparison
{{GeoGroup}}{{GeoGroup/sandbox}}

Display the coordinates from a different section than this one (in current article), when that section has no coordinates:
(error expected)

Side by side comparison
{{GeoGroup}}{{GeoGroup/sandbox}}

Display all the coordinates in a different article:

Side by side comparison
{{GeoGroup}}{{GeoGroup/sandbox}}

Display just the coordinates in one section of a different article:

Side by side comparison
{{GeoGroup}}{{GeoGroup/sandbox}}

Display all coordinates in a category:
(expect |mapframe= to be ignored for categories)

Side by side comparison
{{GeoGroup}}{{GeoGroup/sandbox}}
[edit]

Display the coordinates from a different section than this one (in current article):

Side by side comparison
{{GeoGroup}}{{GeoGroup/sandbox}}

Display the coordinates from a different section than this one (in current article), when that section has no coordinates:
(error expected)

Side by side comparison
{{GeoGroup}}{{GeoGroup/sandbox}}

Display all the coordinates in a different article:

Side by side comparison
{{GeoGroup}}{{GeoGroup/sandbox}}
The time allocated for running scripts has expired.

Display just the coordinates in one section of a different article: The time allocated for running scripts has expired.

Display all coordinates in a category:
(expect |maplink= to be ignored for categories) The time allocated for running scripts has expired.