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 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.

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

Hieroglyphs


There are two ways of encoding hieroglyphs:

  • using Gardiner's sign list code (e.g. A12)
  • with the more frequent phonemes (e.g. xA)

Gardiner's sign list

A hieroglyph is encoded by:

  • a letter that represents the category
  • a number that represents rank within the category

NB until the appropriate software is enabled, the encoding will be displayed instead of the hieroglyph.

A. Man and his Occupations

Expected quantity: 55

A1A2A3A4A5A6A7A8A9A10
A11A12A13A14A15A16A17A18A19A20
A21A22A23A24A25A26A27A28A29A30
A31A32A33A34A35A36A37A38A39A40
A41A42A43A44A45A46A47A48A49A50
A51A52A53A54A55A56A57A58A59A60
A57
A58
A60
B. Woman and her Occupations

Expected quantity: 7

B1B2B3B4B5B6B7B8B9B10
B11B12B13B14B15B16B17B18B19B20
B13
B14
B15
B16
B17
B18
B19
B20
C. Anthropomorphic Deities

Expected quantity: 9

C1C2C3C4C5C6C7C8C9C10
C11C12C13C14C15C16C17C18C19C20
C13
C14
C15
C16
C21C22C23C24C25C26C27C28C29C30
C21
C22
C23
C24
C25
C26
C27
C28
C29
C30
D. Parts of the Human Body

Expected quantity: 63

D1D2D3D4D5D6D7D8D9D10
D11D12D13D14D15D16D17D18D19D20
D21D22D23D24D25D26D27D28D29D30
D31D32D33D34D35D36D37D38D39D40
D41D42D43D44D45D46D47D48D49D50
D51D52D53D54D55D56D57D58D59D60
D61D62D63D64D65D66D67D68D69D70
D64
D65
D66
D67
D68
D69
D70
E. Mammals

Expected quantity: 34

E1E2E3E4E5E6E7E8E9E10
E11E12E13E14E15E16E17E18E19E20
E21E22E23E24E25E26E27E28E29E30
E31E32E33E34E35E36E37E38E39E40
E35
E36
E37
E38
E39
E40
F. Parts of Mammals

Expected quantity: 52

F1F2F3F4F5F6F7F8F9F10
F11F12F13F14F15F16F17F18F19F20
F21F22F23F24F25F26F27F28F29F30
F31F32F33F34F35F36F37F38F39F40
F41F42F43F44F45F46F47F48F49F50
F51F52F53F54F55F56F57F58F59F60
F53
F54
F55
F56
F57
F58
F59
F60
G. Birds

Expected quantity: 54

G1G2G3G4G5G6G7G8G9G10
G11G12G13G14G15G16G17G18G19G20
G21G22G23G24G25G26G27G28G29G30
G31G32G33G34G35G36G37G38G39G40
G41G42G43G44G45G46G47G48G49G50
G51G52G53G54G55G56G57G58G59G60
G55
G56
G57
G58
G59
G60
H. Parts of Birds

Expected quantity: 8

H1H2H3H4H5H6H7H8H9H10
H9
H10
I. Amphibious Animals, Reptiles, etc.

Expected quantity: 15

I1I2I3I4I5I6I7I8I9I10
I11I12I13I14I15I16I17I18I19I20
I16
I17
I18
I19
I20
J. None

There is no J category, perhaps to avoid confusion with I.

K. Fish and Parts of Fish

Expected quantity: 7

K1K2K3K4K5K6K7K8K9K10
K8
K9
K10
L. Invertebrates and Lesser Animals

Expected quantity: 7

L1L2L3L4L5L6L7L8L9L10
L8
L9
L10
M. Trees and Plants

Expected quantity: 44

M1M2M3M4M5M6M7M8M9M10
M11M12M13M14M15M16M17M18M19M20
M21M22M23M24M25M26M27M28M29M30
M31M32M33M34M35M36M37M38M39M40
M41M42M43M44M45M46M47M48M49M50
M45
M46
M47
M48
M49
M50
N. Sky, Earth, Water

Expected quantity: 42

N1N2N3N4N5N6N7N8N9N10
N11N12N13N14N15N16N17N18N19N20
N21N22N23N24N25N26N27N28N29N30
N31N32N33N34N35N36N37N38N39N40
N41N42N43N44N45N46N47N48N49N50
N43
N44
N45
N46
N47
N48
N49
N50
O. Buildings, Parts of Buildings, etc.

Expected quantity: 51

O1O2O3O4O5O6O7O8O9O10
O11O12O13O14O15O16O17O18O19O20
O21O22O23O24O25O26O27O28O29O30
O31O32O33O34O35O36O37O38O39O40
O41O42O43O44O45O46O47O48O49O50
O51O52O53O54O55O56O57O58O59O60
O52
O53
O54
O55
O56
O57
O58
O59
O60
P. Ships and Parts of Ships

Expected quantity: 11

P1P2P3P4P5P6P7P8P9P10
P11P12P13P14P15P16P17P18P19P20
P12
P14
P15
P16
P17
P18
P19
P20
Q. Domestics and Funerary Furniture

Expected quantity: 7

Q1Q2Q3Q4Q5Q6Q7Q8Q9Q10
Q8
Q9
Q10
R. Temple Furniture and Sacred Emblems

Expected quantity: 25

R1R2R3R4R5R6R7R8R9R10
R11R12R13R14R15R16R17R18R19R20
R21R22R23R24R25R26R27R28R29R30
R26
R27
R28
R29
R30
S. Crowns, Dress, Staves, etc.

Expected quantity: 45

S1S2S3S4S5S6S7S8S9S10
S11S12S13S14S15S16S17S18S19S20
S21S22S23S24S25S26S27S28S29S30
S31S32S33S34S35S36S37S38S39S40
S41S42S43S44S45S46S47S48S49S50
S46
S47
S48
S49
S50
T. Warfare, Hunting, Butchery

Expected quantity: 35

T1T2T3T4T5T6T7T8T9T10
T11T12T13T14T15T16T17T18T19T20
T21T22T23T24T25T26T27T28T29T30
T31T32T33T34T35T36T37T38T39T40
T36
T37
T38
T39
T40
U. Agriculture, Crafts, and Professions

Expected quantity:

U1U2U3U4U5U6U7U8U9U10
U11U12U13U14U15U16U17U18U19U20
U21U22U23U24U25U26U27U28U29U30
U31U32U33U34U35U36U37U38U39U40
U41U42U43U44U45U46U47U48U49U50
U42
U43
U44
U45
U46
U47
U48
U49
U50
V. Rope, Fiber, Baskets, Bags, etc.

Expected quantity: 38

V1V2V3V4V5V6V7V8V9V10
V11V12V13V14V15V16V17V18V19V20
V21V22V23V24V25V26V27V28V29V30
V31V32V33V34V35V36V37V38V39V40
V40
W. Vessels of Stone and Earthenware

Expected quantity: 25

W1W2W3W4W5W6W7W8W9W10
W11W12W13W14W15W16W17W18W19W20
W21W22W23W24W25W26W27W28W29W30
W26
W27
W28
W29
W30
X. Loaves and Cakes

Expected quantity: 8

X1X2X3X4X5X6X7X8X9X10
X9
X10
Y. Writings, Games, Music

Expected quantity: 8

Y1Y2Y3Y4Y5Y6Y7Y8Y9Y10
Y9
Y10
Z. Strokes, Signs derived from Hieratic, Geometrical Figures

Expected quantity: 11

Z1Z2Z3Z4Z5Z6Z7Z8Z9Z10
Z11Z12Z13Z14Z15Z16Z17Z18Z19Z20
Z12
Z13
Z14
Z15
Z16
Z17
Z18
Z19
Z20
Aa. Unclassified

Expected quantity: 31

Aa1Aa2Aa3Aa4Aa5Aa6Aa7Aa8Aa9Aa10
Aa11Aa12Aa13Aa14Aa15Aa16Aa17Aa18Aa19Aa20
Aa21Aa22Aa23Aa24Aa25Aa26Aa27Aa28Aa29Aa30
Aa31Aa32Aa33Aa34Aa35Aa36Aa37Aa38Aa39Aa40
Aa33
Aa34
Aa35
Aa36
Aa37
Aa38
Aa39
Aa41Aa42Aa43Aa44Aa45Aa46Aa47Aa48Aa49Aa50
Aa42
Aa43
Aa44
Aa45
Aa46
Aa47
Aa48
Aa49
Aa50

Phonemes

Codes


Codes are characters that:

  • Separate hieroglyphs
  • 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.

Examples
correct A1-B1-!-C1-D1
allowed A1-B1 ! C1-D1
allowed
although apparently
not fully functional
A1-B1! C1-D1

See also