Content deleted Content added
proxy |
+def |
||
Line 2:
local p = {}
local function dataValue(settlementName, parameterName, itemName)
return frame:expandTemplate{ title = 'Data '..settlementName..' municipality', args = {
parameterName,
itemName
}}
end
function p.nativeName(frame)
Line 21 ⟶ 28:
return frame:expandTemplate{ title = 'infobox_settlement/areadisp', args = {
['km2'] = args['area_total_km2'] or dataValue(args['subdivision_name'], 'area_total_km2', args['name']),
['ha'] = args['area_total_ha'],
['acre'] = args['area_total_acre'],
|