Module:documentation/functions/guoxue-data

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


return function (title, cats)
	local suffix = title.fullText:match("^Module:mul/guoxue%-data/cjk%-?(.*)$")
	local block
	if suffix == "" then
		block = "CJK Unified Ideographs"
	elseif suffix:find("^%l$") then
		block = "CJK Unified Ideographs Extension " .. suffix:upper()
	elseif suffix == "compat" then
		block = "CJK Compatibility Ideographs"
	elseif suffix == "compat-sup" then
		block = "CJK Compatibility Ideographs Supplement"
	else
		mw.log("Unicode block for " .. title.fullText " not found.")
		return
	end
	
	local block_link = ("]"):format(block, block)
	local start, ending = require("Module:Unicode data").get_block_range(block)
	if not start then
		mw.log("Code point range for the Unicode block " .. tostring(block) .. " not found.")
		return
	end
	
	local sortkey = "|guoxue, " .. suffix
	cats:insert("Data modules" .. sortkey)
	cats:insert("Han script modules" .. sortkey)
	cats:insert("Translingual modules" .. sortkey)
	
	return ("This module contains data on CJK characters in "
		.. "the Unicode block %s (U+%04X–U+%04X) from .")
		:format(block_link, start, ending)
end