Difference between revisions of "Template:Hanai/doc"

From blackwiki
Jump to navigation Jump to search
imported>W Nowicki
(document case of only child)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
  
This template allows the [[Wikipedia:WikiProject Hawaii|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.
+
This template allows the [[Wikipedia:WikiProject Hawaii|Hawaii project]] to control the formatting of ''Hānai'' relationships in infoboxes. Hānai 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 ===
 
=== Usage ===
Line 7: Line 7:
 
   <nowiki>Jane Doe {{Hanai|John Doe}}</nowiki>
 
   <nowiki>Jane Doe {{Hanai|John Doe}}</nowiki>
  
Which produces: Jane Doe <br> {{Hanai|John Doe}}
+
Which produces: Jane Doe {{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, unless a second parameter is given. This is used for onl children that are hanai into the given family. e.g.
+
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 only children that are hānai into the given family. e.g.
 
   <nowiki>issue= {{Hanai|John Doe|only}}</nowiki>
 
   <nowiki>issue= {{Hanai|John Doe|only}}</nowiki>
  
produces: {{Hanai|John Doe|only}}
+
produces: {{Hanai|John Doe|only}} [note on the same line]
  
 
=== See also ===
 
=== See also ===
Line 18: Line 18:
 
* [[Template:Infobox person]]
 
* [[Template:Infobox person]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Hawaii templates]]
 
[[Category:Hawaii templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 16:37, 25 April 2020

This template allows the Hawaii project to control the formatting of Hānai relationships in infoboxes. Hānai 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 only children that are hānai into the given family. e.g.

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

produces: John Doe (hānai) [note on the same line]

See also