returnfunction(title,cats)localoutput=require("Module:array")()localfunctionzh_link(lang,word)returnrequire("Module:links").full_link{lang=lang,term=word,tr="-"}endlocalzh_data_subpage,lang_code,reconstruction,last_segment=mw.ustring.match(title.fullText,"^มอดูล:zh/data/((%l%l%l)%-pron%-?([^/]-))/(.+)$")ifzh_data_subpage=="ltc-pron"orzh_data_subpage=="och-pron-BS"orzh_data_subpage=="och-pron-ZS"thenrequire('Module:zh-track').track_data_module(title.fullText)locallang=require"Module:languages".getByCode(lang_code)localcharacters,extra-- Last segment is either a Han character or three hexadecimal digits-- (the first three digits of the code point).ifmw.ustring.len(last_segment)==1thencharacters=zh_link(lang,last_segment)extra=""elselocalcode_point_prefix=last_segmentlocalfunctionmake_code_point(digit)returntonumber(code_point_prefix..(digit):rep(6-#code_point_prefix),16)endcharacters=(("characters in the range U+%04X–U+%04X"):format(make_code_point("0"),make_code_point("F")))extra=" is only a test and is unused. It"endoutput:insert(('This module%s contains data on the pronunciation of %s'):format(extra,characters))localsee_also_linkifreconstruction=="BS"thensee_also_link='Wiktionary:About Proto-Sino-Tibetan#Reconstruction by Baxter-Sagart (2014)'elseifreconstruction=="ZS"thensee_also_link='Wiktionary:About Proto-Sino-Tibetan#Reconstruction by Zhengzhang (2003)'elsereconstruction=nilendlocallang_link=lang:makeCategoryLink()ifreconstructionthenoutput:insert(("in the reconstruction of %s by %s."):format(lang_link,reconstruction=="BS"and"Baxter-Sagart"or"Zhengzhang"))elseoutput:insert(("in %s."):format(lang_link))endifsee_also_linkthenoutput:insert("See "..require("Module:links").section_link(see_also_link).." for more information.")endreturnoutput:concat(" ").."\n\nIf you see an error, please post an edit ".."request in the [[WT:TEA|Tea Room]]."endend