Template:Coord/testcases

From blackwiki
< Template:Coord
Revision as of 20:18, 3 December 2020 by imported>Jonesey95 (→‎Infobox: clear)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  1. REDIRECT Template:Testcases notice
  • From a page move: This is a redirect from a page that has been moved (renamed). This page was kept as a redirect to avoid breaking links, both internal and external, that may have been made to the old page name.

Infobox

Template:Tfm/dated

[[Category:Template:Pagetype with short description]]

Script error: No such module "If empty".
Lua error in Module:Location_map at line 399: Malformed coordinates value.
Coordinates: Lua error: callParserFunction: function "#coordinates" was not found.
Country Belize
DistrictCayo District
ConstituencyCayo North
Elevation
69 m (Template:Round ft)
Population
(2010)
 • Total2,124[1]
Script error: No such module "If empty".
Time zoneUTC-6 (Central)
Script error: No such module "If empty".
ClimateAm
Ellis Island
Part of Statue of Liberty National Monument
Ellis Island-27527.jpg
Ellis Island
Nearest cityScript error: No such module "If empty".
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
Width300
Area58.38 acres (0.24 km²) (includes Statue of Liberty NM)
EstablishedScript error: No such module "If empty".
Visitors3,618,054 (includes Statue of Liberty NM)Template:Sp(in 2004)
Governing bodyScript error: No such module "If empty".
Template:URL
Script error: No such module "If empty".
  1. "Belize Population and Housing Census: 2010 Country Report" (PDF). Statistical Institute of Belize. Archived from the original (PDF) on 27 January 2016. Retrieved 25 July 2015.
  2. U.S. Geological Survey Geographic Names Information System: Ellis Island


Notice the ability to choose different skins in the box above. First try MonoBook which is the default skin. The Coordinates field displays nicely. Then try Simple and the Coordinates field is corrupt. I don't think this is a problem with {{Infobox Protected area}} or {{|Infobox Mountain}} as I've seen the same behavior using other templates. My first guess is that the problem is with {{Coord}} but it might not be since the field name is also displayed twice. The fault also occurs in MySkin but in none of the others. If the problem is not with Coord then it has to be a skin problem.

Coord inline

SW

1a
Lua error: callParserFunction: function "#coordinates" was not found.
1b
Lua error: callParserFunction: function "#coordinates" was not found.
1c
Lua error: callParserFunction: function "#coordinates" was not found.
2a
Lua error: callParserFunction: function "#coordinates" was not found.
2b
Lua error: callParserFunction: function "#coordinates" was not found.
2c
Lua error: callParserFunction: function "#coordinates" was not found.
3a
Lua error: callParserFunction: function "#coordinates" was not found.
3b
Lua error: callParserFunction: function "#coordinates" was not found.
3c
Lua error: callParserFunction: function "#coordinates" was not found.
3d
Lua error: callParserFunction: function "#coordinates" was not found.
3e
Lua error: callParserFunction: function "#coordinates" was not found.

NE

1a
Lua error: callParserFunction: function "#coordinates" was not found.
1b
Lua error: callParserFunction: function "#coordinates" was not found.
1c
Lua error: callParserFunction: function "#coordinates" was not found.
2a
Lua error: callParserFunction: function "#coordinates" was not found.
2b
Lua error: callParserFunction: function "#coordinates" was not found.
3a
Lua error: callParserFunction: function "#coordinates" was not found.
3b
Lua error: callParserFunction: function "#coordinates" was not found.


N>+90 dec
Lua error: callParserFunction: function "#coordinates" was not found.
N<-90 dec
Lua error: callParserFunction: function "#coordinates" was not found.
E>=+360 dec
Lua error: callParserFunction: function "#coordinates" was not found.
E<=-360 dec
Lua error: callParserFunction: function "#coordinates" was not found.
dim= dec
Lua error: callParserFunction: function "#coordinates" was not found.
globe= dec
Lua error: callParserFunction: function "#coordinates" was not found.
region= dec
Lua error: callParserFunction: function "#coordinates" was not found.
scale= dec
Lua error: callParserFunction: function "#coordinates" was not found.
source= dec
Lua error: callParserFunction: function "#coordinates" was not found.
type= dec
Lua error: callParserFunction: function "#coordinates" was not found.

d format

S>+90 d
Lua error: callParserFunction: function "#coordinates" was not found.
N>+90 d
Lua error: callParserFunction: function "#coordinates" was not found.
N<-90 d
Lua error: callParserFunction: function "#coordinates" was not found.
W>=+360 d
Lua error: callParserFunction: function "#coordinates" was not found.
E<=-360 d
Lua error: callParserFunction: function "#coordinates" was not found.
extra d
Lua error: callParserFunction: function "#coordinates" was not found.

dm format

dN>+90 dm
Lua error: callParserFunction: function "#coordinates" was not found.
dN<-90 dm
Lua error: callParserFunction: function "#coordinates" was not found.
dE>=+360 dm
Lua error: callParserFunction: function "#coordinates" was not found.
dE<=-360 dm
Lua error: callParserFunction: function "#coordinates" was not found.
mS>=60 dm
Lua error: callParserFunction: function "#coordinates" was not found.
mS<0 dm
Lua error: callParserFunction: function "#coordinates" was not found.
mW>=60 dm
Lua error: callParserFunction: function "#coordinates" was not found.
mW<0 dm
Lua error: callParserFunction: function "#coordinates" was not found.
extra dm
Lua error: callParserFunction: function "#coordinates" was not found.

dms format

dN>+90 dms
Lua error: callParserFunction: function "#coordinates" was not found.
dN<-90 dms
Lua error: callParserFunction: function "#coordinates" was not found.
dE>=+360 dms
Lua error: callParserFunction: function "#coordinates" was not found.
dE<=-360 dms
Lua error: callParserFunction: function "#coordinates" was not found.
mS>=60 dms
Lua error: callParserFunction: function "#coordinates" was not found.
mS<0 dms
Lua error: callParserFunction: function "#coordinates" was not found.
mW>=60 dms
Lua error: callParserFunction: function "#coordinates" was not found.
mW<0 dms
Lua error: callParserFunction: function "#coordinates" was not found.
sS>=60 dms
Lua error: callParserFunction: function "#coordinates" was not found.
sS<0 dms
Lua error: callParserFunction: function "#coordinates" was not found.
sW>=60 dms
Lua error: callParserFunction: function "#coordinates" was not found.
sW<0 dms
Lua error: callParserFunction: function "#coordinates" was not found.
extra dms
Lua error: Internal error: The interpreter has terminated with signal "24".

Errors

  1. Lua error: Internal error: The interpreter has terminated with signal "24".
  2. Lua error: Internal error: The interpreter has terminated with signal "24".
  3. Lua error: Internal error: The interpreter has terminated with signal "24".
  4. Lua error: Internal error: The interpreter has terminated with signal "24".
  5. Lua error: Internal error: The interpreter has terminated with signal "24".
  6. Lua error: Internal error: The interpreter has terminated with signal "24".
  7. Lua error: Internal error: The interpreter has terminated with signal "24".
  8. Lua error: Internal error: The interpreter has terminated with signal "24".
  9. Lua error: Internal error: The interpreter has terminated with signal "24".
  10. Lua error: Internal error: The interpreter has terminated with signal "24".

Blank parameters

DM blank M
Lua error: Internal error: The interpreter has terminated with signal "24".
DMS blank S
Lua error: Internal error: The interpreter has terminated with signal "24".
DMS blank M and S
Lua error: Internal error: The interpreter has terminated with signal "24".
display=
Lua error: Internal error: The interpreter has terminated with signal "24".
extra blanks
Lua error: Internal error: The interpreter has terminated with signal "24".

Extreme values

  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".

Airy (Martian crater)

  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".

North and south poles

  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".

Documented type values

  • country: Lua error: Internal error: The interpreter has terminated with signal "24".
  • satellite: Lua error: Internal error: The interpreter has terminated with signal "24".
  • adm1st: Lua error: Internal error: The interpreter has terminated with signal "24".
  • adm2nd: Lua error: Internal error: The interpreter has terminated with signal "24".
  • adm3rd: Lua error: Internal error: The interpreter has terminated with signal "24".
  • city: Lua error: Internal error: The interpreter has terminated with signal "24".
  • city (9999): Lua error: Internal error: The interpreter has terminated with signal "24".
  • city (10000): Lua error: Internal error: The interpreter has terminated with signal "24".
  • city (99999): Lua error: Internal error: The interpreter has terminated with signal "24".
  • city (100000): Lua error: Internal error: The interpreter has terminated with signal "24".
  • city (1000000): Lua error: Internal error: The interpreter has terminated with signal "24".
  • airport: Lua error: Internal error: The interpreter has terminated with signal "24".
  • mountain: Lua error: Internal error: The interpreter has terminated with signal "24".
  • isle: Lua error: Internal error: The interpreter has terminated with signal "24".
  • waterbody: Lua error: Internal error: The interpreter has terminated with signal "24".
  • forest: Lua error: Internal error: The interpreter has terminated with signal "24".
  • river: Lua error: Internal error: The interpreter has terminated with signal "24".
  • glacier: Lua error: Internal error: The interpreter has terminated with signal "24".
  • event: Lua error: Internal error: The interpreter has terminated with signal "24".
  • edu: Lua error: Internal error: The interpreter has terminated with signal "24".
  • pass: Lua error: Internal error: The interpreter has terminated with signal "24".
  • railwaystation: Lua error: Internal error: The interpreter has terminated with signal "24".
  • landmark: Lua error: Internal error: The interpreter has terminated with signal "24".

globe values

supported

  • mercury: Lua error: Internal error: The interpreter has terminated with signal "24".
  • venus: Lua error: Internal error: The interpreter has terminated with signal "24".
  • earth: Lua error: Internal error: The interpreter has terminated with signal "24".
  • moon: Lua error: Internal error: The interpreter has terminated with signal "24".
  • mars: Lua error: Internal error: The interpreter has terminated with signal "24".
  • phobos: Lua error: Internal error: The interpreter has terminated with signal "24".
  • deimos: Lua error: Internal error: The interpreter has terminated with signal "24".
  • ceres: Lua error: Internal error: The interpreter has terminated with signal "24".
  • vesta: Lua error: Internal error: The interpreter has terminated with signal "24".
  • Jupiter
  • ganymede: Lua error: Internal error: The interpreter has terminated with signal "24".
  • callisto: Lua error: Internal error: The interpreter has terminated with signal "24".
  • io: Lua error: Internal error: The interpreter has terminated with signal "24".
  • europa: Lua error: Internal error: The interpreter has terminated with signal "24".
  • Saturn
  • mimas: Lua error: Internal error: The interpreter has terminated with signal "24".
  • enceladus: Lua error: Internal error: The interpreter has terminated with signal "24".
  • tethys: Lua error: Internal error: The interpreter has terminated with signal "24".
  • dione: Lua error: Internal error: The interpreter has terminated with signal "24".
  • rhea: Lua error: Internal error: The interpreter has terminated with signal "24".
  • titan: Lua error: Internal error: The interpreter has terminated with signal "24".
  • hyperion: Lua error: Internal error: The interpreter has terminated with signal "24".
  • iapetus: Lua error: Internal error: The interpreter has terminated with signal "24".
  • phoebe: Lua error: Internal error: The interpreter has terminated with signal "24".
  • Uranus
  • miranda: Lua error: Internal error: The interpreter has terminated with signal "24".
  • ariel: Lua error: Internal error: The interpreter has terminated with signal "24".
  • umbriel: Lua error: Internal error: The interpreter has terminated with signal "24".
  • titania: Lua error: Internal error: The interpreter has terminated with signal "24".
  • oberon: Lua error: Internal error: The interpreter has terminated with signal "24".
  • Neptune
  • triton: Lua error: Internal error: The interpreter has terminated with signal "24".
  • pluto: Lua error: Internal error: The interpreter has terminated with signal "24".

questionable

  • Moon: Lua error: Internal error: The interpreter has terminated with signal "24".
  • MOON: Lua error: Internal error: The interpreter has terminated with signal "24".

currently unsupported

sun: Lua error: Internal error: The interpreter has terminated with signal "24".

  • terra: Lua error: Internal error: The interpreter has terminated with signal "24".
  • luna: Lua error: Internal error: The interpreter has terminated with signal "24".
  • ida: Lua error: Internal error: The interpreter has terminated with signal "24".
  • gaspra: Lua error: Internal error: The interpreter has terminated with signal "24".
  • eros: Lua error: Internal error: The interpreter has terminated with signal "24".
  • golevka: Lua error: Internal error: The interpreter has terminated with signal "24".
  • borrelly: Lua error: Internal error: The interpreter has terminated with signal "24".
  • jupiter: Lua error: Internal error: The interpreter has terminated with signal "24".
  • metis Lua error: Internal error: The interpreter has terminated with signal "24".
  • adrastea Lua error: Internal error: The interpreter has terminated with signal "24".
  • amalthea Lua error: Internal error: The interpreter has terminated with signal "24".
  • thebe Lua error: Internal error: The interpreter has terminated with signal "24".
  • saturn: Lua error: Internal error: The interpreter has terminated with signal "24".
  • pan Lua error: Internal error: The interpreter has terminated with signal "24".
  • atlas Lua error: Internal error: The interpreter has terminated with signal "24".
  • prometheus Lua error: Internal error: The interpreter has terminated with signal "24".
  • pandora Lua error: Internal error: The interpreter has terminated with signal "24".
  • epimetheus Lua error: Internal error: The interpreter has terminated with signal "24".
  • janus Lua error: Internal error: The interpreter has terminated with signal "24".
  • telesto Lua error: Internal error: The interpreter has terminated with signal "24".
  • calypso Lua error: Internal error: The interpreter has terminated with signal "24".
  • helene Lua error: Internal error: The interpreter has terminated with signal "24".
  • uranus: Lua error: Internal error: The interpreter has terminated with signal "24".
  • cordelia: Lua error: Internal error: The interpreter has terminated with signal "24".
  • ophelia: Lua error: Internal error: The interpreter has terminated with signal "24".
  • bianca: Lua error: Internal error: The interpreter has terminated with signal "24".
  • cressida: Lua error: Internal error: The interpreter has terminated with signal "24".
  • desdemona: Lua error: Internal error: The interpreter has terminated with signal "24".
  • juliet: Lua error: Internal error: The interpreter has terminated with signal "24".
  • portia: Lua error: Internal error: The interpreter has terminated with signal "24".
  • rosalind: Lua error: Internal error: The interpreter has terminated with signal "24".
  • belinda: Lua error: Internal error: The interpreter has terminated with signal "24".
  • puck: Lua error: Internal error: The interpreter has terminated with signal "24".
  • neptune: Lua error: Internal error: The interpreter has terminated with signal "24".
  • naiad: Lua error: Internal error: The interpreter has terminated with signal "24".
  • thalassa: Lua error: Internal error: The interpreter has terminated with signal "24".
  • despina: Lua error: Internal error: The interpreter has terminated with signal "24".
  • galatea: Lua error: Internal error: The interpreter has terminated with signal "24".
  • larissa: Lua error: Internal error: The interpreter has terminated with signal "24".
  • proteus: Lua error: Internal error: The interpreter has terminated with signal "24".
  • Pluto
  • charon: Lua error: Internal error: The interpreter has terminated with signal "24".

Examples from Template:Coord/doc

  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".
  • Lua error: Internal error: The interpreter has terminated with signal "24".

Don't invoke #coordinates

Lua error: Internal error: The interpreter has terminated with signal "24".

Tests of subroutines

  • Testing decimal to dms conversion: {{Coord/dec2dms/testcases}}
  • Infobox country, capital add city to coordinates: Lua error: Internal error: The interpreter has terminated with signal "24".

Tests of qid

  • Lua error: Internal error: The interpreter has terminated with signal "24". no params, should error
  • Lua error: Internal error: The interpreter has terminated with signal "24". no params, but is the primary version of the coordinates. should lookup QID of current page
  • Lua error: Internal error: The interpreter has terminated with signal "24". no params, but name provided. should lookup QID of name
  • Lua error: Internal error: The interpreter has terminated with signal "24". Only QID
  • Lua error: Internal error: The interpreter has terminated with signal "24". coordinate with QID (gets shape)
  • Lua error: Internal error: The interpreter has terminated with signal "24". coordinate with name, should find shape via qid lookup