Difference between revisions of "Template:GeoGroup/testcases2"
Jump to navigation
Jump to search
imported>Evad37 (copy data + mapframe tests from Template:GeoGroup/testcases) |
imported>Evad37 (maplink testcases moved to Template:GeoGroup/testcases3) |
||
| Line 1: | Line 1: | ||
{{Testcases}} | {{Testcases}} | ||
| − | {{see also|Template:GeoGroup/testcases}} | + | {{see also|Template:GeoGroup/testcases|Template:GeoGroup/testcases3}} |
Some data for testing: | Some data for testing: | ||
| Line 43: | Line 43: | ||
| {{coord|52.49157|-2.07019|region:GB_type:landmark|name=Windmill End Junction}} | | {{coord|52.49157|-2.07019|region:GB_type:landmark|name=Windmill End Junction}} | ||
|} | |} | ||
| + | |||
| + | ==No coords== | ||
| + | This section has no coordinates. Attempting to use in GeoGroup's {{para|section}} parameter should result in an error | ||
==Various mapframe examples== | ==Various mapframe examples== | ||
| Line 51: | Line 54: | ||
'''Display the coordinates from a different section than this one (in current article), when that section has no coordinates:'''<br/> | '''Display the coordinates from a different section than this one (in current article), when that section has no coordinates:'''<br/> | ||
(error expected) | (error expected) | ||
| − | {{Testcase table|section= | + | {{Testcase table|section=No coords|mapframe=yes}} |
'''Display all the coordinates in a different article:''' | '''Display all the coordinates in a different article:''' | ||
| Line 62: | Line 65: | ||
(expect {{para|mapframe}} to be ignored for categories) | (expect {{para|mapframe}} to be ignored for categories) | ||
{{Testcase table|article=Category:Rail transport stations in London fare zone 2|mapframe=yes}} | {{Testcase table|article=Category:Rail transport stations in London fare zone 2|mapframe=yes}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Latest revision as of 12:26, 10 July 2020
- REDIRECT Template:Testcases notice
Some data for testing:
- Birmingham is at Lua error: callParserFunction: function "#coordinates" was not found.
- M5 / A41 junction is at Lua error: callParserFunction: function "#coordinates" was not found.
- The Black Country Living Museum is at Lua error: callParserFunction: function "#coordinates" was not found.
Examples
Data from Netherton Tunnel Branch Canal article:
| Point | Coordinates |
|---|---|
| Dudley Port Junction | Lua error: callParserFunction: function "#coordinates" was not found. |
| Groveland Bridge (Tipton Road, A457) | Lua error: callParserFunction: function "#coordinates" was not found. |
| Tividale Aqueduct (Old BCN Main Line) | Lua error: callParserFunction: function "#coordinates" was not found. |
| Northern tunnel portal | Lua error: callParserFunction: function "#coordinates" was not found. |
| Aston Road air vent | Lua error: callParserFunction: function "#coordinates" was not found. |
| Regent Road air vent | Lua error: callParserFunction: function "#coordinates" was not found. |
| Approx. tunnel midpoint | Lua error: callParserFunction: function "#coordinates" was not found. |
| Southern tunnel portal | Lua error: callParserFunction: function "#coordinates" was not found. |
| Windmill End Junction | Lua error: callParserFunction: function "#coordinates" was not found. |
No coords
This section has no coordinates. Attempting to use in GeoGroup's |section= parameter should result in an error
Various mapframe examples
Display the coordinates from a different section than this one (in current article): Template:Testcase table
Display the coordinates from a different section than this one (in current article), when that section has no coordinates:
(error expected)
Template:Testcase table
Display all the coordinates in a different article: Template:Testcase table
Display just the coordinates in one section of a different article: Template:Testcase table
Display all coordinates in a category:
(expect |mapframe= to be ignored for categories)
Template:Testcase table