Template:Hiero/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Template:Documentation subpage

Template:Tl there are a number of subpages in this template space that are used for writing Egyptian hieroglyphs in Wikipedia articles. The codes for the <hiero> tags may be found at Help:WikiHiero syntax.

See Wikipedia:WikiProject Ancient Egypt/Templates for further details.

Parameters

1
name of hieroglyph
2
hieroglyph (Template:Mono expected)
Template:Para
Position the whole hieroglyph box
Template:Para
Specify a custom style for the box
Template:Para
Template:Para
Template:Para era name era as shown bg color

Template:Hiero/era/doc Template:Hiero/era/doc Template:Hiero/era/doc Template:Hiero/era/doc Template:Hiero/era/doc Template:Hiero/era/doc Template:Hiero/era/doc Template:Hiero/era/doc Template:Hiero/era/doc Template:Hiero/era/doc Template:Hiero/era/doc Template:Hiero/era/doc Template:Hiero/era/doc Template:Hiero/era/doc

Template:Para
The identifier by Gardiner's sign list code (roughly, A–Z + number: A20, Z12)
Template:Para
The Unicode codepoint for this hieroglyph (format: looks like Template:Mono)

Template family

The most useful templates are:

Template Bare-bones preview Use
Template:Hiero
left = clear: left; float: left; margin-left: 0; center = margin-left: auto; margin-right: auto; right = clear: right; float: right; margin-right: 0;

}} "

Template:Trim
default|default}}/bgcolour}}; color:black; border-bottom: 1px solid {{hiero/{{#ifexist:Template:hiero/default/bordercolour|default|default}}/bordercolour}}; padding: 0.5em" | {{{name}}}
in hieroglyphs
{{#if:Template:Hiero/era |
Template:Hiero/era | Era: Template:Hiero/era |}}
Gardiner: }}
Unicode: U+{{#INVOKE:STRING|REPLACE|SOURCE=| PATTERN=^[UU]%+ *([A-FA-F%D]+)| REPLACE=%1| PLAIN=FALSE}}}}
A general-purpose template for displaying hieroglyphs.
Template:Hiero/2cartouche
left = clear: left; float: left; margin-left: 0; center = margin-left: auto; margin-right: auto; right = clear: right; float: right; margin-right: 0;

}} "

Template:Trim
default|default}}/bgcolour}}; color:black; border-bottom: 1px solid {{hiero/{{#ifexist:Template:hiero/default/bordercolour|default|default}}/bordercolour}}; padding: 0.5em" | {{{name}}}
in hieroglyphs
{{#if:Template:Hiero/era |
Template:Hiero/era | Era: Template:Hiero/era |}}
Gardiner: }}
Unicode: U+{{#INVOKE:STRING|REPLACE|SOURCE=| PATTERN=^[UU]%+ *([A-FA-F%D]+)| REPLACE=%1| PLAIN=FALSE}}}}
A template for royal names requiring two cartouches: for praenomen and nomen.
Template:Hiero/1cartouche
left = clear: left; float: left; margin-left: 0; center = margin-left: auto; margin-right: auto; right = clear: right; float: right; margin-right: 0;

}} "

Template:Trim
default|default}}/bgcolour}}; color:black; border-bottom: 1px solid {{hiero/{{#ifexist:Template:hiero/default/bordercolour|default|default}}/bordercolour}}; padding: 0.5em" | {{{name}}}
in hieroglyphs
{{#if:Template:Hiero/era |
Template:Hiero/era | Era: Template:Hiero/era |}}
Gardiner: }}
Unicode: U+{{#INVOKE:STRING|REPLACE|SOURCE=| PATTERN=^[UU]%+ *([A-FA-F%D]+)| REPLACE=%1| PLAIN=FALSE}}}}
A template for a cartouche name, where only one is known.
Template:Hiero/serekh
left = clear: left; float: left; margin-left: 0; center = margin-left: auto; margin-right: auto; right = clear: right; float: right; margin-right: 0;

}} "

Template:Trim
default|default}}/bgcolour}}; color:black; border-bottom: 1px solid {{hiero/{{#ifexist:Template:hiero/default/bordercolour|default|default}}/bordercolour}}; padding: 0.5em" | {{{name}}}
in hieroglyphs
{{#if:Template:Hiero/era |
Template:Hiero/era | Era: Template:Hiero/era |}}
Gardiner: }}
Unicode: U+{{#INVOKE:STRING|REPLACE|SOURCE=| PATTERN=^[UU]%+ *([A-FA-F%D]+)| REPLACE=%1| PLAIN=FALSE}}}}
A template for a Horus-name displayed in a serekh.
Template:Hiero/3name
left = clear: left; float: left; margin-left: 0; center = margin-left: auto; margin-right: auto; right = clear: right; float: right; margin-right: 0;

}} "

Template:Trim
default|default}}/bgcolour}}; color:black; border-bottom: 1px solid {{hiero/{{#ifexist:Template:hiero/default/bordercolour|default|default}}/bordercolour}}; padding: 0.5em" | {{{name}}}
in hieroglyphs
{{#if:Template:Hiero/era |
Template:Hiero/era | Era: Template:Hiero/era |}}
Gardiner: }}
Unicode: U+{{#INVOKE:STRING|REPLACE|SOURCE=| PATTERN=^[UU]%+ *([A-FA-F%D]+)| REPLACE=%1| PLAIN=FALSE}}}}
A template for a Horus name, praenomen and nomen.
Template:Hiero/5Fold Template:Hiero/5Fold A template for the Fivefold Titulary.

Template Data

Template:Template data header

<templatedata> { "params": { "1": { "aliases": [ "name" ], "required": true }, "2": { "aliases": [ "image" ], "required": true, "description": "<hiero> ... <hiero> expected" }, "era": { "suggested": true }, "align": {}, "style": {}, "unicode": {}, "gardiner": {}, "BC": { "description": "BC or BCE", "default": "BC" } }, "paramOrder": [ "1", "2", "align", "era", "BC", "style", "unicode", "gardiner" ] } </templatedata>

Usage

Template:Hiero - 921 tc's in 799 Articles (March 2021, Template:Template parameter usage)
Template:Hiero/2cartouche [1] - 0
Template:Hiero/1cartouche [2] - 7
Template:Hiero/serekh [3] - 0
Template:Hiero/3name [4] - 0
Template:Hiero/5Fold [5] - 1

See also