How to I insert hieroglyphs, using the WikiHiero markup, so that I can write paragraphs, like Budge does here, with the glyph employed like a word in the paragraph (no line break)?
Topic on Extension talk:WikiHiero
Appearance
Yes, I would second that. I'm using this on Wikisource, for the Enc.Britannica, and would like to keep the characters in-line. Kwamikagami (talk) 20:41, 27 August 2022 (UTC)
can you not simply use a*b*d*t etc...
Been so long I don't remember what exactly I was editing. I'll try to find it.
Ah, this can be accomplished by adding <div>
tags around the paragraph (unless it's indented or bulleted, in which case the tags are not necessary) and <span style="display:inline-block">
tags around the hieroglyphs, as explained by @IKhitron: on WP-en.
That works, but is a bit clunky. Would it be possible to simplify the coding to something like <hiero|inline=yes>
?
It is very clunky.
it is extremely hard to work out what is wanted here. its not described precisely enough to expect anyone to implement it, and the example given is a book, rather than its content.
Sorry about that. IKhitron's solution is given in the intro to en:Help:WikiHiero syntax, where we give the following sample formatting,
<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>
which 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,
, in Egyptian reading a biliteral sign with the phonetic value ı͗ḥ.
Instead of <span style="display:inline-block"><hiero> ... </hiero></span>
, it would be nice to have something less clunky, such as maybe <hiero inline=""> ... </hiero>
(or whatever is convenient on this end).
> IKhitron's solution is given in the intro...
Yap, found it there after already found it by myself.
cool. thanks, i see exactly what you mean now.
it is unfortunate that the positioning of the glyph comes out so poorly
Well, to start with, I didn't know how to embed it in text at all. Everything required a separate line. With IKhitron's solution I can now embed hieroglyphs. It's just not elegant, but at least it's possible.
the difference between the appearance in context, and on the thread here is probably a bug.