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

m
aucun résumé des modifications
Kharmitch (discussion | contributions)
Aucun résumé des modifications
Kharmitch (discussion | contributions)
mAucun résumé des modifications
Ligne 97 : Ligne 97 :
local image = banner.image or ''
local image = banner.image or ''
local text = banner.text
local text = banner.text
local category = banner.category or ''
local category = banner.category
if category ~= '' and mw.title.getCurrentTitle().namespace == 0 then
if category and mw.title.getCurrentTitle().namespace == 0 then
local game = args['jeu']
local game = args['jeu']
if game ~= '' then
if game ~= '' then
Ligne 108 : Ligne 108 :
end
end
category = '[[Catégorie:' .. category .. game .. ']]'
category = '[[Catégorie:' .. category .. game .. ']]'
else
category = ''
end
end
Bureaucrate, commentadmin, emailconfirmed, Administrateurs d’interface, staff, Administrateur
62 733

modifications