Modification de Module:Liste de pages-listes
La modification peut être annulée. Veuillez vérifier les différences ci-dessous pour voir si c’est bien ce que vous voulez faire, puis publier ces changements pour finaliser l’annulation de cette modification.
Version actuelle | Votre texte | ||
Ligne 12 : | Ligne 12 : | ||
'Fallout: Brotherhood of Steel', | 'Fallout: Brotherhood of Steel', | ||
'Van Buren', | 'Van Buren', | ||
'Project V13 | 'Project V13' | ||
} | } | ||
function p._build(args) | function p._build(args) | ||
local mode = args['mode'] or '' | local mode = args['mode'] or '' | ||
local subject = args['sujet'] | local subject = args['sujet'] or '' | ||
if | if subject ~= '' then | ||
subject = | subject = subject .. ' de ' | ||
end | end | ||
local res = mw.html.create( 'ul' ) | local res = mw.html.create( 'ul' ) | ||
Ligne 38 : | Ligne 35 : | ||
if mode ~= 'liste' then | if mode ~= 'liste' then | ||
res = mw.html.create( 'div' ) | res = mw.html.create( 'div' ) | ||
:addClass( ' | :addClass( 'avt-game-listpage' ) | ||
:tag( 'div' ) | :tag( 'div' ) | ||
:addClass( 'avt-game-listpage-title' ) | :addClass( 'avt-game-listpage-title' ) | ||
:wikitext( ' | :wikitext( 'Page-liste par jeu' ) | ||
:done() | :done() | ||
:node( res:addClass( 'avt-game-listpage-list' ) ) | :node( res:addClass( 'avt-game-listpage-list' ) ) | ||
:done() | :done() |