Modulo:Codice statistico: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
m uniformati apici
Riga 13:
-- @return {string}
local function formatP964(id)
local formatted_id = string.gsub(id, "'(%d)(%d%d)(%d%d)"', "'%1 %2 %3"')
return string.format('[http://www.statistik.at/blickgem/gemDetail.do?gemnr=%s %s]', id, formatted_id)
end
Riga 22:
-- @return {string}
local function formatP439(id)
local formatted_id = string.gsub(id, "'(%d%d)(%d)(%d%d)(%d%d%d)"', "'%1 %2 %3 %4"')
return string.format('[http://www.statistik-portal.de/Statistik-Portal/gemeindeverz.asp?G=%s %s]', id, formatted_id)
end
Riga 31:
-- @return {string}
local function formatP440(id)
return string.gsub(id, "'(%d%d)(%d)(%d%d)"', "'%1 %2 %3"')
end
 
Riga 98:
},
DEU = {
["'1"'] = {}, -- disabilitato
["'3"'] = { prop = 'P440', format = formatP440 },
default = { prop = 'P439', format = formatP439 }
},
Riga 109:
},
FRA = {
["'1"'] = { prop = 'P2585' },
["'2"'] = { prop = 'P2586' },
["'3"'] = { prop = 'P3423' },
["'4"'] = { prop = 'P2506' },
default = { prop = 'P374', format = formatP374 }
},