Template:t2i-Egyd


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 edit

{{t2i-Egyd|ḫ}}ḫ

{{t2i-Egyd|L2}}L2

{{t2i-Egyd|e|r|e|s-2|gš|y|ng|ꜥ|l|G7}}G7lꜥngygšs-2ere

Glyph code format edit

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 bk.
  • 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 M9, from
    M9
    . 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: thus N36-N23 for N36-N23, from
    N36
    N23
    . 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: thus M2 for M2, from
    M2Z3
    .
  • 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, ẖt is uploaded as File:Demotic-character-ẖt, but it is the phonogram for both ẖt and mꜣꜥ, so either code, ẖt or mꜣꜥ, 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 w there are available variants w-2 w-2, w-3 w-3, and w-4 w-4.

Parameters edit

|1= through |25=
The individual glyph codes corresponding to images of Demotic text, as described above.