Template:egy-h

From Wiktionary, the free dictionary
Jump to navigation Jump to search

This template generates hieroglyphic output based on an input string encoded according to the Manuel de Codage (MdC) format. Not all MdC functions are currently supported, but the template can do everything that WikiHiero can do and more; see that page for basic functionality.

Differences from the basic WikiHiero usage described there are as follows:

  • Many more glyphs are supported compared to basic WikiHiero. If these additional glyphs are not grouped in a quadrat with other glyphs, they can be input normally using their Gardiner codes (or Hieroglyphica codes, for glyphs beyond Gardiner). If they are grouped with other glyphs, the whole group must be preceded by a tilde (~), but otherwise they remain input normally.
  • Brackets are corrected. [[-]] gives
    [[]]
    , [{-}] gives
    [{}]
    , [&-&] gives
    [&Ba16a
    , ["-"] gives
    Ba18Ba18a
    , and ['-'] gives
    Ba19Ba19a
    . Small brackets can be produced by adding an s at the end: [[s-]]s
    Ba15sBa15as
    .
  • The template can also output Unicode glyphs instead of extended WikiHiero if desired, although right now this functionality is slow and could stand to be optimized.

This template uses Module:egy-hieroglyphs.

Basic usage is {{egy-h|d:t*Z1-A1}}
d
t Z1
A1
.

Parameters

[edit]
|1=
Manuel de Codage input.
|2=
Leave blank or set to w to output WikiHiero-style hieroglyphs. Set to u to output Unicode glyphs.