Module:ScriptItem: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 275: Line 275:
local args = p.getArgs(frame)
local args = p.getArgs(frame)
local gamesText = p.getGames(args.games)
local gamesText = p.getGames(args.games)
--{{z}} {{icon-vc}} {{icon-sa}} {{icon-iv}}
if gamesText == "All Games" then
if gamesText == "All Games" then
return p.loadTemplate(frame, 'GreenInformationBox', {gamesText,id='games'});
return table.concat({
p.loadTemplate(frame, 'icon-iii', {id='games'}),
p.loadTemplate(frame, 'icon-vc', {id='games'}),
p.loadTemplate(frame, 'icon-sa', {id='games'}),
p.loadTemplate(frame, 'icon-iv', {id='games'})
}, ' ')
else
else
return p.loadTemplate(frame, 'RedInformationBox', {gamesText..' Only',id='games'});
return p.loadTemplate(frame, 'RedInformationBox', {gamesText..' Only',id='games'});
end
end
6,834

edits

Navigation menu