User:Utcursch/Migrate Infobox Indian Jurisdiction to Infobox settlement/main.js: Difference between revisions
Content deleted Content added
cludge changes |
remove display=title from coord comments to stop page showing up in Category:Pages with malformed coordinate tags |
||
Line 39:
var coord_params = coord_text.split("|");
if (coord_params[2] == "N") {
// {{Coord|44.112|N|91|E
latd = coord_params[1];
longd = coord_params[3];
} else if (coord_params[3] == "N") {
// {{coord|26|10|N|91|34|E|type:landmark_source:kolossus-itwiki
latd = coord_params[1];
latm = coord_params[2];
Line 49:
longm = coord_params[5];
} else if (coord_params[4] == "N") {
// {{coord|26|10|10|N|91|34|21|E|type:landmark_source:kolossus-itwiki
latd = coord_params[1];
latm = coord_params[2];
|