local p = {}
function p.main(frame)
	local args = frame:getParent().args
	local contents = {}
	local i = 1
	while args['item'..i] do
		table.insert(contents, { text = args['text'..i] or ('Item '..i),
					content = args['item'..i] })
		i = i + 1
	local ret = mw.html.create('div')
	local mah_triggers = ret:tag('div')
	for i, v in ipairs(contents) do
		mah_triggers	:tag('span')
		ret	:tag('div')
				:addClass(i==1 and 'showing' or '')
	return frame:preprocess(tostring(ret))
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.