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.
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,
(If the paragraph is set off with a colon, hash 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.
Hieroglyphs
[edit ]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
[edit ]Further information: Gardiner's sign listA 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
[edit ]Expected quantity: 55
A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A1A2A3A4A5A6A7A8A9A10A11 A12 A13 A14 A15 A16 A17 A18 A19 A20 A11A12A13A14A15A16A17A18A19A20A21 A22 A23 A24 A25 A26 A27 A28 A29 A30 A21A22A23A24A25A26A27A28A29A30A31 A32 A33 A34 A35 A36 A37 A38 A39 A40 A31A32A33A34A35A36A37A38A39A40A41 A42 A43 A44 A45 A46 A47 A48 A49 A50 A41A42A43A44A45A46A47A48A49A50A51 A52 A53 A54 A55 A56 A57 A58 A59 A60 A51A52A53A54A55A56A57A58A59A60B. Woman and her Occupations
[edit ]Expected quantity: 7
B1 B2 B3 B4 B5 B6 B7 B8 B9 B10 B1B2B3B4B5B6B7B8B9B10B11 B12 B13 B14 B15 B16 B17 B18 B19 B20 B11B12B13B14B15B16B17B18B19B20C. Anthropomorphic Deities
[edit ]Expected quantity: 9
C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C1C2C3C4C5C6C7C8C9C10C11 C12 C13 C14 C15 C16 C17 C18 C19 C20 C11C12C13C14C15C16C17C18C19C20C21 C22 C23 C24 C25 C26 C27 C28 C29 C30 C21C22C23C24C25C26C27C28C29C30D. Parts of the Human Body
[edit ]Expected quantity: 63
D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D1D2D3D4D5D6D7D8D9D10D11 D12 D13 D14 D15 D16 D17 D18 D19 D20 D11D12D13D14D15D16D17D18D19D20D21 D22 D23 D24 D25 D26 D27 D28 D29 D30 D21D22D23D24D25D26D27D28D29D30D31 D32 D33 D34 D35 D36 D37 D38 D39 D40 D31D32D33D34D35D36D37D38D39D40D41 D42 D43 D44 D45 D46 D47 D48 D49 D50 D41D42D43D44D45D46D47D48D49D50D51 D52 D53 D54 D55 D56 D57 D58 D59 D60 D51D52D53D54D55D56D57D58D59D60D61 D62 D63 D64 D65 D66 D67 D68 D69 D70 D61D62D63D64D65D66D67D68D69D70E. Mammals
[edit ]Expected quantity: 34
E1 E2 E3 E4 E5 E6 E7 E8 E9 E10 E1E2E3E4E5E6E7E8E9E10E11 E12 E13 E14 E15 E16 E17 E18 E19 E20 E11E12E13E14E15E16E17E18E19E20E21 E22 E23 E24 E25 E26 E27 E28 E29 E30 E21E22E23E24E25E26E27E28E29E30E31 E32 E33 E34 E35 E36 E37 E38 E39 E40 E31E32E33E34E35E36E37E38E39E40F. Parts of Mammals
[edit ]Expected quantity: 52
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F1F2F3F4F5F6F7F8F9F10F11 F12 F13 F14 F15 F16 F17 F18 F19 F20 F11F12F13F14F15F16F17F18F19F20F21 F22 F23 F24 F25 F26 F27 F28 F29 F30 F21F22F23F24F25F26F27F28F29F30F31 F32 F33 F34 F35 F36 F37 F38 F39 F40 F31F32F33F34F35F36F37F38F39F40F41 F42 F43 F44 F45 F46 F47 F48 F49 F50 F41F42F43F44F45F46F47F48F49F50F51 F52 F53 F54 F55 F56 F57 F58 F59 F60 F51F52F53F54F55F56F57F58F59F60G. Birds
[edit ]Expected quantity: 54
G1 G2 G3 G4 G5 G6 G7 G8 G9 G10 G1G2G3G4G5G6G7G8G9G10G11 G12 G13 G14 G15 G16 G17 G18 G19 G20 G11G12G13G14G15G16G17G18G19G20G21 G22 G23 G24 G25 G26 G27 G28 G29 G30 G21G22G23G24G25G26G27G28G29G30G31 G32 G33 G34 G35 G36 G37 G38 G39 G40 G31G32G33G34G35G36G37G38G39G40G41 G42 G43 G44 G45 G46 G47 G48 G49 G50 G41G42G43G44G45G46G47G48G49G50G51 G52 G53 G54 G55 G56 G57 G58 G59 G60 G51G52G53G54G55G56G57G58G59G60H. Parts of Birds
[edit ]Expected quantity: 8
H1 H2 H3 H4 H5 H6 H7 H8 H9 H10 H1H2H3H4H5H6H7H8H9H10I. Amphibious Animals, Reptiles, etc.
[edit ]Expected quantity: 15
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I1I2I3I4I5I6I7I8I9I10I11 I12 I13 I14 I15 I16 I17 I18 I19 I20 I11I12I13I14I15I16I17I18I19I20J. None
[edit ]There is no J category, perhaps to avoid confusion with I.
K. Fish and Parts of Fish
[edit ]Expected quantity: 7
K1 K2 K3 K4 K5 K6 K7 K8 K9 K10 K1K2K3K4K5K6K7K8K9K10L. Invertebrates and Lesser Animals
[edit ]Expected quantity: 7
L1 L2 L3 L4 L5 L6 L7 L8 L9 L10 L1L2L3L4L5L6L7L8L9L10M. Trees and Plants
[edit ]Expected quantity: 44
M1 M2 M3 M4 M5 M6 M7 M8 M9 M10 M1M2M3M4M5M6M7M8M9M10M11 M12 M13 M14 M15 M16 M17 M18 M19 M20 M11M12M13M14M15M16M17M18M19M20M21 M22 M23 M24 M25 M26 M27 M28 M29 M30 M21M22M23M24M25M26M27M28M29M30M31 M32 M33 M34 M35 M36 M37 M38 M39 M40 M31M32M33M34M35M36M37M38M39M40M41 M42 M43 M44 M45 M46 M47 M48 M49 M50 M41M42M43M44M45M46M47M48M49M50N. Sky, Earth, Water
[edit ]Expected quantity: 42
N1 N2 N3 N4 N5 N6 N7 N8 N9 N10 N1N2N3N4N5N6N7N8N9N10N11 N12 N13 N14 N15 N16 N17 N18 N19 N20 N11N12N13N14N15N16N17N18N19N20N21 N22 N23 N24 N25 N26 N27 N28 N29 N30 N21N22N23N24N25N26N27N28N29N30N31 N32 N33 N34 N35 N36 N37 N38 N39 N40 N31N32N33N34N35N36N37N38N39N40N41 N42 N43 N44 N45 N46 N47 N48 N49 N50 N41N42N43N44N45N46N47N48N49N50O. Buildings, Parts of Buildings, etc.
[edit ]Expected quantity: 51
O1 O2 O3 O4 O5 O6 O7 O8 O9 O10 O1O2O3O4O5O6O7O8O9O10O11 O12 O13 O14 O15 O16 O17 O18 O19 O20 O11O12O13O14O15O16O17O18O19O20O21 O22 O23 O24 O25 O26 O27 O28 O29 O30 O21O22O23O24O25O26O27O28O29O30O31 O32 O33 O34 O35 O36 O37 O38 O39 O40 O31O32O33O34O35O36O37O38O39O40O41 O42 O43 O44 O45 O46 O47 O48 O49 O50 O41O42O43O44O45O46O47O48O49O50O51 O52 O53 O54 O55 O56 O57 O58 O59 O60 O51O52O53O54O55O56O57O58O59O60P. Ships and Parts of Ships
[edit ]Expected quantity: 11
P1 P2 P3 P4 P5 P6 P7 P8 P9 P10 P1P2P3P4P5P6P7P8P9P10P11 P12 P13 P14 P15 P16 P17 P18 P19 P20 P11P12P13P14P15P16P17P18P19P20Q. Domestics and Funerary Furniture
[edit ]Expected quantity: 7
Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q10 Q1Q2Q3Q4Q5Q6Q7Q8Q9Q10R. Temple Furniture and Sacred Emblems
[edit ]Expected quantity: 25
R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R1R2R3R4R5R6R7R8R9R10R11 R12 R13 R14 R15 R16 R17 R18 R19 R20 R11R12R13R14R15R16R17R18R19R20R21 R22 R23 R24 R25 R26 R27 R28 R30 R21R22R23R24R25R26R27R28R30S. Crowns, Dress, Staves, etc.
[edit ]Expected quantity: 45
S1 S2 S3 S4 S5 S6 S7 S8 S9 S10 S1S2S3S4S5S6S7S8S9S10S11 S12 S13 S14 S15 S16 S17 S18 S19 S20 S11S12S13S14S15S16S17S18S19S20S21 S22 S23 S24 S25 S26 S27 S28 S29 S30 S21S22S23S24S25S26S27S28S29S30S31 S32 S33 S34 S35 S36 S37 S38 S39 S40 S31S32S33S34S35S36S37S38S39S40S41 S42 S43 S44 S45 S46 S47 S48 S49 S50 S41S42S43S44S45S46S47S48S49S50T. Warfare, Hunting, Butchery
[edit ]Expected quantity: 35
T1 T2 T3 T4 T5 T6 T7 T8 T9 T10 T1T2T3T4T5T6T7T8T9T10T11 T12 T13 T14 T15 T16 T17 T18 T19 T20 T11T12T13T14T15T16T17T18T19T20T21 T22 T23 T24 T25 T26 T27 T28 T29 T30 T21T22T23T24T25T26T27T28T29T30T31 T32 T33 T34 T35 T36 T37 T38 T39 T40 T31T32T33T34T35T36T37T38T39T40U. Agriculture, Crafts, and Professions
[edit ]Expected quantity:
U1 U2 U3 U4 U5 U6 U7 U8 U9 U10 U1U2U3U4U5U6U7U8U9U10U11 U12 U13 U14 U15 U16 U17 U18 U19 U20 U11U12U13U14U15U16U17U18U19U20U21 U22 U23 U24 U25 U26 U27 U28 U29 U30 U21U22U23U24U25U26U27U28U29U30U31 U32 U33 U34 U35 U36 U37 U38 U39 U40 U31U32U33U34U35U36U37U38U39U40U41 U42 U43 U44 U45 U46 U47 U48 U49 U50 U41U42U43U44U45U46U47U48U49U50V. Rope, Fiber, Baskets, Bags, etc.
[edit ]Expected quantity: 38
V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 V1V2V3V4V5V6V7V8V9V10V11 V12 V13 V14 V15 V16 V17 V18 V19 V20 V11V12V13V14V15V16V17V18V19V20V21 V22 V23 V24 V25 V26 V27 V28 V29 V30 V21V22V23V24V25V26V27V28V29V30V31 V32 V33 V34 V35 V36 V37 V38 V39 V40 V31V32V33V34V35V36V37V38V39V40W. Vessels of Stone and Earthenware
[edit ]Expected quantity: 25
W1 W2 W3 W4 W5 W6 W7 W8 W9 W10 W1W2W3W4W5W6W7W8W9W10W11 W12 W13 W14 W15 W16 W17 W18 W19 W20 W11W12W13W14W15W16W17W18W19W20W21 W22 W23 W24 W25 W26 W27 W28 W29 W30 W21W22W23W24W25W26W27W28W29W30X. Loaves and Cakes
[edit ]Expected quantity: 8
X1 X2 X3 X4 X5 X6 X7 X8 X9 X10 X1X2X3X4X5X6X7X8X9X10Y. Writings, Games, Music
[edit ]Expected quantity: 8
Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 Y9 Y10 Y1Y2Y3Y4Y5Y6Y7Y8Y9Y10Z. Strokes, Signs derived from Hieratic, Geometrical Figures
[edit ]Expected quantity: 11
Z1 Z2 Z3 Z4 Z5 Z6 Z7 Z8 Z9 Z10 Z1Z2Z3Z4Z5Z6Z7Z8Z9Z10Z11 Z12 Z13 Z14 Z15 Z16 Z17 Z18 Z19 Z20 Z11Z12Z13Z14Z15Z16Z17Z18Z19Z20Aa. Unclassified
[edit ]Expected quantity: 31
Aa1 Aa2 Aa3 Aa4 Aa5 Aa6 Aa7 Aa8 Aa9 Aa10 Aa1Aa2Aa3Aa4Aa5Aa6Aa7Aa8Aa9Aa10Aa11 Aa12 Aa13 Aa14 Aa15 Aa16 Aa17 Aa18 Aa19 Aa20 Aa11Aa12Aa13Aa14Aa15Aa16Aa17Aa18Aa19Aa20Aa21 Aa22 Aa23 Aa24 Aa25 Aa26 Aa27 Aa28 Aa29 Aa30 Aa21Aa22Aa23Aa24Aa25Aa26Aa27Aa28Aa29Aa30Aa31 Aa32 Aa33 Aa34 Aa35 Aa36 Aa37 Aa38 Aa39 Aa40 Aa31Aa32Aa33Aa34Aa35Aa36Aa37Aa38Aa39Aa40Aa41 Aa42 Aa43 Aa44 Aa45 Aa46 Aa47 Aa48 Aa49 Aa50 Aa41Aa42Aa43Aa44Aa45Aa46Aa47Aa48Aa49Aa50Phonemes
[edit ]See also: Transliteration of Ancient EgyptianCodes
[edit ]Codes are characters that:
- Separate hieroglyphs
- Indicate the organization of the hieroglyphs in space (that is, the position of hieroglyphs in a block)
Separator
[edit ]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
[edit ]correct A1-B1
A1 B1allowed A1 B1
A1 B1incorrect A1B1
A1B1Superposition
[edit ]To superpose hieroglyphs, use the colon character ("
:
") instead of the hyphen.Example
[edit ]normal layout p-t
p tsuperposed p:t
p
tJuxtaposition
[edit ]To juxtapose hieroglyphs, use the asterisk character ("
*
"). Juxtaposing hieroglyphs is only relevant when they are part of a block which is superposed.Example
[edit ]normal layout p-t
p tjuxtaposed
(same as normal layout)p*t
p tcorrect p*t:a
p t
ap*p*p:t*t*t
p p p
t t tEnd of line
[edit ]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
[edit ]correct A1-B1-!-C1-D1
A1 B1C1 D1allowed A1-B1 ! C1-D1
A1 B1C1 D1allowed
although apparently
not fully functionalA1-B1! C1-D1
A1 B1C1 D1Orientation
[edit ]Asymmetrical characters may be reversed by appending the virgule
/
. This does not change the direction of the text.A few characters may be rotated by appending 'V' for 'vertical'.
A character may be raised or lowered by pairing it with H_SPACE.
Examples
[edit ]Default A1-B1-C1-D1
A1 B1 C1 D1Reversed orientation A1\-B1\-C1\-D1\
A1 B1 C1 D1Horizontal (default) Y1
Y1Rotated (vertical) Y1V
Y1VInline G47-Z1
G47 Z1Raised G47-Z1:H_SPACE
G47 Z1
H_SPACENote that the Gardiner number for the rotated form, "Y1a", is not supported.
Cartouche
[edit ]A cartouche is created with <-...->.
Examples
[edit ]Default <-pr\:aA\->
<pr
aA" alt=">" /> See also
[edit ] - using Gardiner's sign list code (e.g.