Module:Sandbox/ProcrastinatingReader/ib: Difference between revisions

Content deleted Content added
No edit summary
proxy
Line 1:
local getArgs = require('Module:Arguments').getArgs
 
local p = {}
 
Line 13 ⟶ 15:
return ""
end
 
function p.area(frame)
local args = getArgs(frame)
return frame:expandTemplate{ title = 'infobox_settlement/areadisp', args = {
['km2'] = args['area_total_km2'],
['ha'] = args['area_total_ha'],
['acre'] = args['area_total_acre'],
['sqmi'] = args['area_total_sq_mi'],
['dunam'] = args['area_total_dunam'],
['link'] = args['dunam_link'],
['pref'] = args['unit_pref'],
['name'] = args['subdivision_name'],
['mag'] = args['area_magnitude']
}}
end