Help:WikiHiero語法教學
維基百科,自由的 encyclopedia
WikiHiero是一種用來將聖書體(埃及象形文字)以PNG圖片呈現的PHP指令碼。由於目前Unicode只有支援一部分的埃及聖書體文字,在欠缺圖片上傳的情況下這是唯一一種能在條目文本中呈現聖書體文字的方法。
要使用這個指令碼只要用「<hiero>」標籤即可。舉例來說,使用「<hiero>A</hiero>」可以弄出相當於「Aleph」的聖書體文字:
|
注意在HTML表格(class='mw-hierotable')中使用<hiero>標籤會導致旁邊的文字分成兩個段落,無法使其成為一個句子,其解決之道是再人工加上<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,
- (原始編碼):
- <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>
模板{{hiero}}可用來呈現聖書體。另外可參見元維基上的mw:Extension:WikiHiero專頁。
聖書體
有兩種方式可用來轉譯聖書體文字:
- 使用亞藍·迦德納(英语:Alan Gardiner)的符號表編碼 (如: A12)
- 使用更常用的音素符號 (如:xA)