"WikiHiero" is a PHP script to render Egyptian hieroglyphs as png images. Since Egyptian hierogplyphs are currently only partially supported by Unicode this is the only way of rendering hieroglyphics in article texts short of uploading custom images.
The script is invoked by the <hiero> tag. For example, <hiero>A</hiero> gets you the "Aleph" hieroglyph,
The <hiero> tag produces an HTML table (of class='mw-hierotable') that will separate the surrounding text into paragraphs. For inline WikiHiero images, manually add a surrounding <div> tag, as in the following example:
<div>''[[Aleph]] is thought to be derived from the West Semitic word for "[[ox]]", and its shape is ultimately based on a [[Egyptian hieroglyphs|hieroglyph]] depicting an ox's head, <div style="display:inline;"> <hiero> F1 </hiero> </div>, in Egyptian reading a [[Egyptian biliteral signs|biliteral sign]] with the phonetic value ''{{lang|egy-Latn|ı͗ḥ}}''.''</div>
Aleph is thought to be derived from the West Semitic word for "ox", and its shape is ultimately based on a hieroglyph depicting an ox's head,
, in Egyptian reading a biliteral sign with the phonetic valueı͗ḥ.
Template {{hiero}} is intended for boxes containing hieroglyphic script.
Indicate the organization of the hieroglyphs in space (that is, the position of hieroglyphs in a block)
Separator
The official hieroglyph separator is the hyphen character ("-", also called block separator) but you are also allowed to use a space because it is a widespread practice.
Example
correct
A1-B1
allowed
A1 B1
incorrect
A1B1
A1B1
Superposition
To superpose hieroglyphs, use the colon character (":") instead of the hyphen.
Example
normal layout
p-t
superposed
p:t
Juxtaposition
To juxtapose hieroglyphs, use the asterisk character ("*"). Juxtaposing hieroglyphs is only relevant when they are part of a block which is superposed.
Example
normal layout
p-t
juxtaposed
(same as normal layout)
p*t
correct
p*t:a
p*p*p:t*t*t
End of line
To make a new line of text, use the exclamation character ("!"). Normally, the "end-of-line" must be surrounded by separators (as -!-), but space or nothing are also allowed.