Jump to content

Module:zh/data/glyph-data

From Wiktionary, the free dictionary

Chinese glyph data modules. See Module:zh-glyph and {{Han etym}}.

Subpages

Nonexhaustive: full link


local data = {}

data.eras = {
	{ "[[w:Shang dynasty|Shang]]", { "bronze-shang", "oracle" } },
	{ "[[w:Western Zhou|Western Zhou]]", { "bronze", "oracle-zhouyuan" } },
	{ "[[w:Spring and Autumn period|Spring and Autumn]]", { "bronze-spring" } },
	{ "[[w:Warring States period|Warring States]]", { "bronze-warring", "silk", "slip" } },
	{ "''[[w:Shuowen Jiezi|Shuowen Jiezi]]'' (compiled in [[w:Han dynasty|Han]])", { "zhou", "ancient", "odd", "seal", "vulgar" } },
	{ "''Hanjian'' (compiled in [[w:Song dynasty|Song]])", { "hanjian" } },
	{ "''Guwen Sishengyun'' (compiled in [[w:Song dynasty|Song]])", { "GWSSY" } },
	{ "''Jizhuan Guwen Yunhai'' (compiled in [[w:Song dynasty|Song]])", { "JZGWYH" } },
	{ "''Liushutong'' (compiled in [[w:Ming dynasty|Ming]])", { "bigseal" } },
	{ "''Libian'' (compiled in [[w:Qing dynasty|Qing]])", { "clerical" } },
	{ "[[w:Kaicheng Stone Classics|Tang Stone Classics]]", { "kai-Kaicheng" } },
	{ "''[[w:Kangxi Dictionary|Kangxi Dictionary]]'' (compiled in [[w:Qing dynasty|Qing]])", { "mingti-Kangxi" } },
}

data.scripts = {
	["bronze-shang"] = "[[w:Chinese bronze inscriptions|Bronze inscriptions]]",
	["oracle"] = "[[w:Oracle bone script|Oracle bone script]]",
	["oracle-zhouyuan"] = "[[w:Oracle bone script|Oracle bone script]]",
	["bronze"] = "[[w:Chinese bronze inscriptions|Bronze inscriptions]]",
	["bronze-spring"] = "[[w:Chinese bronze inscriptions|Bronze inscriptions]]",
	["bronze-warring"] = "[[w:Chinese bronze inscriptions|Bronze inscriptions]]",
	["silk"] = "[[w:Bamboo and wooden slips|Chu slip and silk script]]",
	["slip"] = "[[w:Bamboo and wooden slips|Qin slip script]]",
	["zhou"] = "''Shizhoupian'' script",
	["ancient"] = "Ancient script",
	["odd"] = "Odd character",
	["seal"] = "[[w:Small seal script|Small seal script]]",
	["vulgar"] = "Vulgar character",
	["bigseal"] = "Transcribed ancient scripts",
	["hanjian"] = "Transcribed ancient scripts",
	["GWSSY"] = "Transcribed ancient scripts",
	["JZGWYH"] = "Transcribed ancient scripts",
	["clerical"] = "[[w:Clerical script|Clerical script]]",
	["kai-Kaicheng"] = "[[w:Regular script|Regular script]]",
	["mingti-Kangxi"] = "[[w:Ming (typefaces)|Ming typeface]]",
}

data.hide_scripts = { "oracle", "bronze", "seal", "bigseal" }

data.script_abbrev = {
	["B"] = "bronze",
	["b"] = "bronze",
	["31"] = "bronze",
	["32"] = "bronze",
	["33"] = "bronze",
	["34"] = "bronze",
	["j"] = "oracle",
	["41"] = "oracle",
	["42"] = "oracle",
	["43"] = "oracle",
	["51"] = "silk",
	["52"] = "silk",
	["53"] = "silk",
	["71"] = "slip",
	["Q"] = "slip",
	["S"] = "silk",
	["s"] = "seal",
	["27"] = "seal",
	["L"] = "bigseal",
}

return data