Difference between revisions of "Template:Hanai/doc"
Jump to navigation
Jump to search
imported>W Nowicki (should be simple doc for a simple template) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (3 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 '' | + | 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 === | ||
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 {{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 only children that are hānai into the given family. e.g. |
| + | <nowiki>issue= {{Hanai|John Doe|only}}</nowiki> | ||
| + | |||
| + | produces: {{Hanai|John Doe|only}} [note on the same line] | ||
=== See also === | === See also === | ||
| Line 15: | 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 is a documentation subpage for Template:Hanai. It contains usage information, categories and other content that is not part of the original template page. |
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