"WikiHiero" is a PHP script to renderEgyptian hieroglyphs as PNG images. Since Egyptian hieroglyphs are currently only partially supported byUnicode, this is the only way of rendering hieroglyphs in article texts short of uploading custom images.
The script is invoked by the <hiero> tag.
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 <div> tags around the paragraph and <span> tags around the hieroglyphs.
For example, the code:
<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, <span><hiero>F1</hiero></span>, in Egyptian reading a [[Egyptian biliteral signs|biliteral sign]] with the phonetic value {{lang|egy-Latn|ı͗ḥ}}.</div>
produces:
Aleph is thought to be derived from the West Semitic word for "ox", and its shape is ultimately based on ahieroglyph depicting an ox's head,
, in Egyptian reading abiliteral sign with the phonetic valueı͗ḥ.
(If the paragraph is set off with a colon, hash or asterisk, the<div> tags are not necessary.)
Template{{hiero}} is intended forboxes containing hieroglyphic script.
The official hieroglyph separator is the hyphen character ("-", also calledblock separator) but you are also allowed to use a space because it is a widespread practice.
To juxtapose hieroglyphs, use the asterisk character ("*"). Juxtaposing hieroglyphs is only relevant when they are part of a block which is superposed.
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.