Module:icons: Difference between revisions

103 bytes removed ,  Yesterday at 14:22
no edit summary
No edit summary
No edit summary
Line 5: Line 5:
local title = mw.title.new(args[1])
local title = mw.title.new(args[1])
local text = title:getContent()
local text = title:getContent()
if not text then
local games = text and p.extractGames(text) or {}
return "{{icon-placeholder}} {{icon-placeholder}} {{icon-placeholder}} {{icon-placeholder}}"
end
local games = p.extractGames(text)
local text = {}
local text = {}
local games2 = { "iii", "vc", "sa", "iv" }
local games2 = { "iii", "vc", "sa", "iv" }
7,038

edits