Module:TestCoordinates: Difference between revisions
Created page with "local p = {} function p.testCoordinates() local frame = mw.getCurrentFrame() local args = { '33', '57', '01', 'N', '105', '18', '51', 'W', 'region:US-CA_type:event' } local coord_result = frame:callParserFunction('#coordinates', args) return coord_result or "Error: coordinates could not be processed" end return p" |
(No difference)
|
Latest revision as of 19:25, 12 November 2024
Documentation for this module may be created at Module:TestCoordinates/doc
local p = {}
function p.testCoordinates()
local frame = mw.getCurrentFrame()
local args = {
'33', '57', '01', 'N',
'105', '18', '51', 'W',
'region:US-CA_type:event'
}
local coord_result = frame:callParserFunction('#coordinates', args)
return coord_result or "Error: coordinates could not be processed"
end
return p