Aller au contenu

Module:Cartouche route

Une page de Wikipédia, l'encyclopédie libre.
Ceci est une version archivée de cette page, en date du 20 novembre 2017 à 16:13 et modifiée en dernier par Vascer (discuter | contributions). Elle peut contenir des erreurs, des inexactitudes ou des contenus vandalisés non présents dans la version actuelle.

 Documentation[créer] [purger]
local p = {}

function p.build(frame)
	local strCombine = ""
	if not(frame.args[1] == nil) and not(frame.args[1] == "") then
		strCombine = strCombine .. "<br />Pays: " .. frame.args[1]
	end
	if not(frame.args[2] == nil) and not(frame.args[2] == "") then
		strCombine = strCombine .. "<br />Type: " .. frame.args[2]
	end
	if not(frame.args[3] == nil) and not(frame.args[3] == "") then
		strCombine = strCombine .. "<br />Numéro:" .. frame.args[3]
	end
	if not(frame.args[4] == nil) and not(frame.args[4] == "") then
		strCombine = strCombine .. "<br />Dédoublement:" .. frame.args[4]
	end
	if not(frame.args['lien'] == nil) and not(frame.args['lien'] == "") then
		strCombine = strCombine .. "<br />Lien: " .. frame.args['lien']
	end
	if not(frame.args['taille'] == nil) and not(frame.args['taille'] == "") then
		strCombine = strCombine .. "<br />Taille: " .. frame.args['taille']
	end
	return strCombine
end

return p