Aller au contenu

« Module:Bandeau de rubrique » : différence entre les versions

aucun résumé des modifications
Kharmitch (discussion | contributions)
mAucun résumé des modifications
Kharmitch (discussion | contributions)
Aucun résumé des modifications
Balise : Révoqué
Ligne 134 : Ligne 134 :
else
else
text = 'Article principal : ' .. text
text = 'Article principal : ' .. text
end
return text
end
},
["utile"] = {
warning  = false,
text    = function(args)
local link = args[1]
local display = args['t1'] or link
if not link then return '' end
text = '[[' .. link .. '|' .. display .. ']]'
local many = false
for i = 2, 5 do
local link = args[i]
local display = args['t' .. i] or link
if link then
many = true
text = text .. ', [[' .. link .. '|' .. display .. ']]'
else
break
end
end
if many then
text = 'Liens utiles : ' .. text
else
text = 'Lien utile : ' .. text
end
end
Bureaucrate, commentadmin, emailconfirmed, Administrateurs d’interface, staff, Administrateur
62 734

modifications