Difference between revisions of "Template:Hanai/doc"

From blackwiki
Jump to navigation Jump to search
imported>W Nowicki
(should be simple doc for a simple template)
 
imported>W Nowicki
(document case of only child)
Line 5: Line 5:
 
=== Usage ===
 
=== Usage ===
 
The syntax for this template is:
 
The syntax for this template is:
   <nowiki>{{Hanai|John Doe}}</nowiki>
+
   <nowiki>Jane Doe {{Hanai|John Doe}}</nowiki>
  
Which produces: {{Hanai|John Doe}}
+
Which produces: Jane Doe <br> {{Hanai|John Doe}}
  
Typical use is in the "|mother=", "|father=", or "|issue=" parameters for royalty, or for the person box, |parents= or |children=. The line break is automatically included.
+
Typical use is in the "|mother=", "|father=", or "|issue=" parameters for royalty, or for the person box, |parents= or |children=. The line break is automatically included, unless a second parameter is given. This is used for onl children that are hanai into the given family. e.g.
 +
  <nowiki>issue= {{Hanai|John Doe|only}}</nowiki>
 +
 
 +
produces: {{Hanai|John Doe|only}}
  
 
=== See also ===
 
=== See also ===

Revision as of 00:43, 2 January 2010

This template allows the Hawaii project to control the formatting of Hanai relationships in infoboxes. Hanai is a form of adoption that was popular both in upper class and commoner families. It was usually practised within the extended family, giving status that was roughly equal to a pure blood relationship.

Usage

The syntax for this template is:

 Jane Doe {{Hanai|John Doe}}

Which produces: Jane Doe

John Doe (hānai)

Typical use is in the "|mother=", "|father=", or "|issue=" parameters for royalty, or for the person box, |parents= or |children=. The line break is automatically included, unless a second parameter is given. This is used for onl children that are hanai into the given family. e.g.

 issue= {{Hanai|John Doe|only}}

produces: John Doe (hānai)

See also