From Wikipedia, the free encyclopedia
local p = {}
p[""] = function(frame)
local f = frame:getParent()
if (string.lower(f:getTitle().fullText) == string.lower(mw.title.getCurrentTitle().fullText)) then
return frame.args[2]
else
return frame.args[1]
end
end
return p