Modul:egy-utilities/data
Penampilan
- Modul ini kekurangan sublaman pendokumenan. Sila mencipta laman pendokumenan berkaitan.
- Pautan berguna: laman akar • sublaman • pautan • transklusi • kes ujian • kotak pasir
local sortkey_replacements = {}
local alphabet = "ꜣ j y ꜥ w b p f m n r h ḥ ḫ ẖ z s š q k g t ṯ d ḏ"
local replacement_codepoint = 0xE000 -- Private Use Area; the ConScript Unicode Registry uses this particular section for Tengwar
for letter in alphabet:gmatch("%S+") do
if mw.ustring.len(letter) > 1 then
error("Huruf " .. letter .. " bukannya satu askara.")
end
replacement_codepoint = replacement_codepoint + 1
sortkey_replacements[letter] = mw.ustring.char(replacement_codepoint)
end
return sortkey_replacements