FANDOM


-- From the dev wiki
local p = {}
 
function p.main( frame )
	local tArgs = frame:getParent()
 
	if not(tArgs.args[1]) then
		tArgs = frame
	end
 
	local sText = tArgs.args[1]
	local sTrueAction = tArgs.args[2] or tArgs.args["true"]
	local sFalseAction = tArgs.args[3] or tArgs.args["false"]
 
	if sText == nil or sText == "" then
		sText = mw.getCurrentFrame():preprocess(sFalseAction)
	else
		sText = mw.getCurrentFrame():preprocess(sTrueAction)
	end
	return sText
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.