Jump to content

Module:Transcluded

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Awesome Aasim (talk | contribs) at 03:49, 20 April 2024 (Created page with 'local p = {} p[""] = function(frame) local f = frame:getParent() if (f:getTitle().fullText == mw.title.getCurrentTitle().fullText) then return args[2] else return args[1] end end return p'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
local p = {}
p[""] = function(frame)
	local f = frame:getParent()
	if (f:getTitle().fullText == mw.title.getCurrentTitle().fullText) then
		return args[2]	
	else
		return args[1]
	end
end

return p