|
|
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 |
| | | |