Module:Infobox dim and Module:Infobox dim/sandbox: Difference between pages
(Difference between pages)
imported>Hike395 allow zoom computation to accept latitude |
imported>Hike395 simplify code |
||
| Line 58: | Line 58: | ||
local t = args.type | local t = args.type | ||
if not t then return end | if not t then return end | ||
local typeDim = mw.loadData('Module:Infobox_dim/data') | local typeDim = mw.loadData('Module:Infobox_dim/sandbox/data') | ||
local dim = typeDim[t] | local dim = typeDim[t] | ||
local population = tonumber(args.population) | local population = tonumber(args.population) | ||