62 737
modifications
mAucun résumé des modifications |
Ajout du bandeau connexe |
||
Ligne 6 : | Ligne 6 : | ||
data = { | data = { | ||
["connexe"] = { | |||
warning = false, | |||
text = function(args) | |||
local link = args[1] | |||
if not link then return "Lien ?" end | |||
local text | |||
if args[2] then | |||
text = "Articles connexes : " | |||
else | |||
text = "Article connexe : " | |||
end | |||
local linkText = args["t1"] or link | |||
text = text .. "[[:" .. link .. "|" .. linkText .. "]]" | |||
for i = 2, 5 do | |||
link = args[i] | |||
if link then | |||
linkText = args["t" .. i] or link | |||
text = text .. ", [[:" .. link .. "|" .. linkText .. "]]" | |||
else | |||
break | |||
end | |||
end | |||
return text | |||
end | |||
}, | |||
["extrait"] = { | ["extrait"] = { | ||
warning = false, | warning = false, |
modifications