Module:Infobox/Fonctions/Bâtiment

De Lagny-sur-Marne Wiki
Aller à : navigation, rechercher

La documentation pour ce module peut être créée à Module:Infobox/Fonctions/Bâtiment/doc

local p = {}
local wikidatamod = require 'Module:Wikidata'
local general = require 'Module:Infobox/Fonctions'
local coordfunctions = require 'Module:Infobox/Fonctions/Géolocalisation'

--Titre
function p.title()
	--	local class = en-tête par défaut à définir ici ?
	return general.title()
end

--Image
function p.mainimage()
	return  general.mainimage()
end

function p.coordinates(params)
	return coordfunctions.coordinates(params)
end

function p.architect()
	return {
		type = 'mixed',
		label = 'Architecte',
		value = 'architecte',
		property = 'P84'
	}
end

function p.geoloc(params)
	return coordfunctions.geoloc(params)
end

return p