Difference between revisions of "Template:Hiero/serekh"

From blackwiki
Jump to navigation Jump to search
imported>Garzo
(tweaked padding)
imported>WOSlinker
(tidy style for better HTML5 compatibility)
 
(9 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<!--This table template produces a serekh for an Egyptian horus name. The parameters that can be set are align=left/right, era=sets colour scheme, name=name in English of the person, horus=hieroglyphs of the person's name with 'hiero' tags.-->
+
{{ hiero
{|cellpadding="0" cellspacing="0" align="{{{align}}}" style="margin:5px; border:2px solid {{hiero/{{{era}}}/bordercolour}};"
+
| align = {{{align|left}}}
!style="border-bottom:2px solid {{hiero/{{{era}}}/bordercolour}}; background:{{hiero/{{{era}}}/bgcolour}}; padding:5px; text-align:center;"|{{{name}}} in [[Egyptian hieroglyph|hieroglyphs]]
+
| 1    = {{{name}}}
|-
+
| 2    =
|style="text-align:center;text-valign:middle;padding:10px;"|
+
<table>
   <!--This table surrounds the nomen-->
+
<tr>
   {|border="0" cellspacing="0" cellpadding="0" align="center"
+
<td style="text-align:center;text-valign:middle;padding:4px 10px 10px 10px;background: white;">
   |height="48px" width="2px" bgcolor="black"|
+
   <!--This table surrounds the serekh-->
   |
+
   <table border="0" cellspacing="0" cellpadding="0" align="center">
     <!--This table includes the horizontal lines and hieroglyphs of the nomen-->
+
   <tr>
     {|border="0" cellspacing="0" cellpadding="0"
+
  <td height="48px" width="2px" style="background-color:black"></td>
     |height="2px" bgcolor="black"|
+
   <td>
     |-
+
     <!--This table includes the horizontal lines and hieroglyphs of the Horus name-->
     |height="45" style="padding: 0px 5px 0px 5px;"|{{{horus}}}
+
     <table border="0" cellspacing="0" cellpadding="0">
     |-
+
     <tr>
     |height="2px" bgcolor="black"|
+
    <td height="2px" style="background-color:black"></td>
     |}
+
     </tr><tr>
   |
+
     <td height="46" style="padding: 0px 5px 0px 5px;">{{{horus}}}</td>
   |align="center" valign="middle"|[[Image:srxtail.jpg]]
+
     </tr><tr>
   |}
+
     <td height="2px" style="background-color:black"></td>
|
+
    </tr>
|}
+
     </table>
 +
   </td>
 +
   <td style="text-align:center;vertical-align:middle;">[[Image:Srxtail2.svg]]</td>
 +
   </tr>
 +
  </table>
 +
</td>
 +
</tr>
 +
</table>
 +
| era  = {{{era|default}}}
 +
| style = {{{style|}}}
 +
| unicode = {{{unicode|}}}
 +
}}<noinclude>
 +
 
 +
{{doc|content=
 +
 
 +
This table template produces a serekh for an Egyptian horus name. The parameters that can be set are align=left/right, era=sets colour scheme, name=name in English of the person, horus=hieroglyphs of the person's name with 'hiero' tags.
 +
 
 +
}}
 +
 
 +
[[Category:Afro-Asiatic multilingual support templates]]
 +
[[Category: Egyptian hieroglyphics templates]]
 +
 
 +
</noinclude>

Latest revision as of 19:32, 15 November 2015

{{{horus}}}
Srxtail2.svg
{{{name}}}
in hieroglyphs
Template documentation

This table template produces a serekh for an Egyptian horus name. The parameters that can be set are align=left/right, era=sets colour scheme, name=name in English of the person, horus=hieroglyphs of the person's name with 'hiero' tags.