Template:Coord/testcases

Infobox
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 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.

SW

 * 1a:
 * 1b:
 * 1c:


 * 2a:
 * 2b:
 * 2c:


 * 3a:
 * 3b:
 * 3c:
 * 3d:
 * 3e:

NE

 * 1a:
 * 1b:
 * 1c:


 * 2a:
 * 2b:


 * 3a:
 * 3b:


 * N>+90 dec:
 * N<-90 dec:
 * E>=+360 dec:
 * E<=-360 dec:


 * dim= dec:
 * globe= dec:
 * region= dec:
 * scale= dec:
 * source= dec:
 * type= dec:

d format

 * S>+90 d:
 * N>+90 d:
 * N<-90 d:
 * W>=+360 d:
 * E<=-360 d:
 * extra d:

dm format

 * dN>+90 dm:
 * dN<-90 dm:
 * dE>=+360 dm:
 * dE<=-360 dm:
 * mS>=60 dm:
 * mS<0 dm:
 * mW>=60 dm:
 * mW<0 dm:
 * extra dm:

dms format

 * dN>+90 dms:
 * dN<-90 dms:
 * dE>=+360 dms:
 * dE<=-360 dms:
 * mS>=60 dms:
 * mS<0 dms:
 * mW>=60 dms:
 * mW<0 dms:
 * sS>=60 dms:
 * sS<0 dms:
 * sW>=60 dms:
 * sW<0 dms:
 * extra dms:

Blank parameters

 * DM blank M:
 * DMS blank S:
 * DMS blank M and S:
 * display=:
 * extra blanks:

Documented type values

 * country:
 * satellite:
 * adm1st:
 * adm2nd:
 * adm3rd:
 * city:
 * city (9999):
 * city (10000):
 * city (99999):
 * city (100000):
 * city (1000000):
 * airport:
 * mountain:
 * isle:
 * waterbody:
 * forest:
 * river:
 * glacier:
 * event:
 * edu:
 * pass:
 * railwaystation:
 * landmark:

supported

 * mercury:
 * venus:
 * earth:
 * moon:


 * mars:
 * phobos:
 * deimos:


 * ceres:
 * vesta:
 * Jupiter
 * ganymede:
 * callisto:
 * io:
 * europa:


 * Saturn
 * mimas:
 * enceladus:
 * tethys:
 * dione:
 * rhea:
 * titan:
 * hyperion:
 * iapetus:
 * phoebe:


 * Uranus
 * miranda:
 * ariel:
 * umbriel:
 * titania:
 * oberon:


 * Neptune
 * triton:


 * pluto:

questionable

 * Moon:
 * MOON:

currently unsupported
sun:
 * terra:
 * luna:


 * ida:
 * gaspra:
 * eros:
 * golevka:
 * borrelly:
 * jupiter:
 * metis
 * adrastea
 * amalthea
 * thebe


 * saturn:
 * pan
 * atlas
 * prometheus
 * pandora
 * epimetheus
 * janus
 * telesto
 * calypso
 * helene


 * uranus:
 * cordelia:
 * ophelia:
 * bianca:
 * cressida:
 * desdemona:
 * juliet:
 * portia:
 * rosalind:
 * belinda:
 * puck:


 * neptune:
 * naiad:
 * thalassa:
 * despina:
 * galatea:
 * larissa:
 * proteus:


 * Pluto
 * charon:

Tests of subroutines

 * Infobox country, capital add city to coordinates:

Coord2text
Using Module:Coordinates and Template:Coord: Using Module:Coordinates and Template:Coord/sandbox: Using Module:Coordinates/sandbox2 and Template:Coord/sandbox:
 * coord2text lat dms:
 * coord2text long dms:
 * coord2text lat decimal:
 * coord2text long decimal:
 * coord2text lat dms:
 * coord2text long dms:
 * coord2text lat decimal:
 * coord2text long decimal:
 * coord2text lat dms:
 * coord2text long dms:
 * coord2text lat decimal:
 * coord2text long decimal:

Tests of qid

 * no params, should error
 * no params, but is the primary version of the coordinates. should lookup QID of current page
 * no params, but name provided. should lookup QID of name
 * Only QID
 * coordinate with QID (gets shape)
 * coordinate with name, should find shape via qid lookup