உள்ளடக்கத்துக்குச் செல்

Module:Sortkey

கட்டற்ற கலைக்களஞ்சியமான விக்கிப்பீடியாவில் இருந்து.
TheDJ (பேச்சு | பங்களிப்புகள்) பயனரால் செய்யப்பட்ட 21:29, 22 சூன் 2018 அன்றிருந்தவாரான திருத்தம் (if the sortkey contains a sortkey, then blank. Nesting is)

Documentation for this module may be created at Module:Sortkey/doc

local p = {}
function p.encode(frame)
	local sortkey = frame.args[1];
	-- Protect against sortkey nesting.
	-- Example: {{sort|{{dts|2013|07|07}}|{{dts|1990|12|01}}}}
	if string.find(str, "sortkey") then
		return "";
	end
    return mw.text.encode(frame.args[1])
end
return p
"https://ta.wikipedia.org/w/index.php?title=Module:Sortkey&oldid=2777553" இலிருந்து மீள்விக்கப்பட்டது