FANDOM


-- <pre>
local p = {}
 
function p.main(frame)
	local args = frame:getParent().args
 
	local ret = mw.html.create('div')
				:css('white-space','nowrap')
 
	for _, v in ipairs(args) do
		local _v = mw.text.trim(v)
		if _v:lower() == 'br' then
			ret:tag('div')
				:css({ height = '5px' })
				:done()
		elseif _v:lower() == 'blank' then
			ret:tag('div')
				:css({ display = 'inline-block',
					width = '35px' })
				:done()
		else
			ret:tag('div')
				:css({ display = 'inline-block',
					width = '35px' })
				:wikitext(string.format('[[File:%s.png|link=%s|center]]',_v,_v))
				:done()
		end
	end
 
	return ret
end
 
return p

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.