Module:User:Saph/th-cls

Hello, you have come here looking for the meaning of the word Module:User:Saph/th-cls. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:User:Saph/th-cls, but we will also tell you about its etymology, its characteristics and you will know how to say Module:User:Saph/th-cls in singular and plural. Everything you need to know about the word Module:User:Saph/th-cls you have here. The definition of the word Module:User:Saph/th-cls will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:User:Saph/th-cls, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.


local export = {}

link = require("Module:th").format_link

function export.cls(frame)
	local args = frame:getParent().args
	local result, categories = {}, {}
	local space = '<span style="padding-left:4px; padding-right:4px">&nbsp;</span>'
	for i,l in ipairs(args) do
		table.insert(result, link(l))
		local sortkey = require("Module:languages").getByCode("th"):makeSortKey(result)
		table.insert(categories, "\n]")
	end
	return "<span style=\"padding-left:15px; font-size:80%\"><span style=\"background:var(--wikt-palette-cyan, #eaffff);color:inherit\">(''Classifier'': " ..
		table.concat(result, ";" .. space) .. ")</span></span>" .. 
		(mw.title.getCurrentTitle().nsText == "" and table.concat(categories) or "")
end

return export