မဝ်ဂျူ:documentation/functions/zh dial or syn
မံက်ပြာကတ်
- မဝ်ဂျူ တဏအ်ဝွံဟွံမွဲကဵုလိက်စၟတ်သမ္တီမချူလဝ်နကဵုမုက်လိက်ဓမၠေံ။ သ္ပဂုန်တုဲ ဍဵုခၞံဗဒှ်ဏံညိ။
- လေန်မရပ်စပ်သုၚ်စောဲ: မုက်လိက်တံရိုဟ် • တံရိုဟ်မုက်လိက်ဓမၠေံဂမၠိုၚ် • လေန်ဂမၠိုၚ် • ပရေၚ်မပံၚ်စပ်ဂမၠိုၚ် • testcases • ကဠာသံၚ်ဗ္တဳ
return function(title, cats)
local type_of_data, character = title.fullText:match("^Module:zh/data/dial%-(%l+)/(.+)$")
if character then
local what, where
if type_of_data == "pron" then
what = "the pronunciation"
where = "dialects"
elseif type_of_data == "syn" then
what = "synonyms"
where = "dialects and varieties"
end
if what then
local link = require("Module:links").full_link{
lang = require "Module:languages".getByCode("zh"),
term = character,
}
return ("This module contains data on %s of %s in %s of Chinese.")
:format(what, link, where)
end
end
end