แม่แบบ:t2i-Egyd
- The following documentation is located at แม่แบบ:t2i-Egyd/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
This template converts a sequence of glyph codes, piped into the template one by one, into images of Demotic Egyptian text. Demotic currently has no Unicode support. A glyph code can be used if there is a corresponding file uploaded to Wikimedia Commons under the filename File:Demotic-character-[code]
, where [code]
stands for the glyph code in question. Currently only the most common 70 or so characters, plus a few less common characters and combinations/ligatures, are supported. The full repertoire can be seen at commons:Category:Demotic.
Codes should be entered in normal reading order (i.e. left-to-right code text will be automatically converted to right-to-left Demotic text). Ligatured and stacked characters are merged into a single glyph code and should be entered accordingly. The maximum number of codes per instance of this template is 25. Images appear at a height of 38 pixels, identical to the maximum height of the individual hieroglyphs output by WikiHiero.
Basic usage
แก้ไข{{t2i-Egyd|e|r|e|s-2|gš|y|ng|ꜥ|l|G7}}
→
Glyph code format
แก้ไขThe general format for a glyph code is as follows.
- If the sign is primarily used as a phonogram or a logogram, its glyph code is its phonetic value: thus
bk
for . - If the sign is primarily used as a determinative, the code should instead match the Gardiner code of the hieroglyph it evolved from: thus
M9
for , from
. If it evolved from a combination of multiple hieroglyphs and is not purely a phonogram, the Gardiner codes can be chained together with hyphens to form the Demotic glyph code: thusN36-N23
for , from
. If it evolved from a combination of multiple hieroglyphs and one of them does not otherwise appear on its own in Demotic, the hyphenated code can be simplified to the Gardiner code of that one component: thusM2
for , from
. - Some signs are written identically to each other; in this case, file redirects on Wikimedia Commons will ensure that either code works (as both codes point to the same image). For example, is uploaded as
File:Demotic-character-ẖt
, but it is the phonogram for both ẖt and mꜣꜥ, so either code,ẖt
ormꜣꜥ
, will work to yield the same glyph. - When multiple variants of a glyph or phonetic sequence exist, all but the most common one are given glyph codes suffixed with a hyphen and a number: thus for
w
there are available variantsw-2
,w-3
, andw-4
.
Parameters
แก้ไข|1=
through|25=
- The individual glyph codes corresponding to images of Demotic text, as described above.