Difference between revisions of "Template:Hiero/serekh"

From blackwiki
Jump to navigation Jump to search
imported>Rursus
(testing)
imported>Thumperward
(reimplement as a sub-class of {{{hiero}})
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;background: white;"|
+
<table>
 +
<tr>
 +
<td style="text-align:center;text-valign:middle;padding:4px 10px 10px 10px;background: white;">
 
   <!--This table surrounds the serekh-->
 
   <!--This table surrounds the serekh-->
   {|border="0" cellspacing="0" cellpadding="0" align="center"
+
   <table border="0" cellspacing="0" cellpadding="0" align="center">
   |height="48px" width="2px" bgcolor="black"|
+
   <tr>
   |
+
  <td height="48px" width="2px" bgcolor="black"></td>
 +
   <td>
 
     <!--This table includes the horizontal lines and hieroglyphs of the Horus name-->
 
     <!--This table includes the horizontal lines and hieroglyphs of the Horus name-->
     {|border="0" cellspacing="0" cellpadding="0"
+
     <table border="0" cellspacing="0" cellpadding="0">
     |height="2px" bgcolor="black"|
+
    <tr>
     |-
+
     <td height="2px" bgcolor="black"></td>
     |height="46" style="padding: 0px 5px 0px 5px;"|{{{horus}}}
+
     </tr><tr>
     |-
+
     <td height="46" style="padding: 0px 5px 0px 5px;">{{{horus}}}</td>
     |height="2px" bgcolor="black"|
+
     </tr><tr>
     |}
+
     <td height="2px" bgcolor="black"></td>
   |
+
    </tr>
   |align="center" valign="middle"|[[Image:Srxtail2.GIF]]
+
     </table>
   |}
+
   </td>
|
+
   <td align="center" valign="middle">[[Image:Srxtail2.GIF]]</td>
|}
+
  </tr>
 +
   </table>
 +
</td>
 +
</tr>
 +
</table>
 +
| era  = {{{era|default}}}
 +
| style = {{{style|}}}
 +
}}<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.
 +
 
 +
}}</noinclude>

Revision as of 10:49, 5 October 2011

{{{horus}}}
Srxtail2.GIF
{{{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.