Help:WikiHiero syntax

"WikiHiero" is a PHP script to render Egyptian hieroglyphs as PNG images. Since Egyptian hieroglyphs are currently only partially supported by Unicode, this is the only way of rendering hieroglyphs 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,

A

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 style="display:inline-block"><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 a hieroglyph depicting an ox's head,
F1
, in Egyptian reading a biliteral sign with the phonetic value ı͗ḥ.

(If the paragraph is set off with a colon, pound sign or asterisk, the <div> tags are not necessary.)

Template {{hiero}} is intended for boxes containing hieroglyphic script.

See mw:Extension:WikiHiero for the project page on MediaWiki.


From Wikipedia, the free encyclopedia · View on Wikipedia

Developed by Nelliwinne