Last modified on 28 October 2011, at 19:41

Template:Kinship

of

Documentation icon Documentation[view] [edit] [history] [purge]

This documentation is transcluded from Template:Kinship/doc.

gives a natural language description of the family relationship between and individual and another ("2")

Usage

{{kinship |1= |2= |link= |pl= |ru= }}

Template parameters

Parameter Description Default Status
1 type of relation (father, mother, son, daughter, brother, sister, uncle, aunt, student, teacher) empty required
2 name of second person. To ease formatting, Wikilinks should not be provided - {{kinship/link}} looks for the relevant Commons link).
If you want to translate the name of family relationship without providing a person's name, use {{kinship/labels}} directly.
empty required
link the page to which the name should link (if different to the person's category) empty optional
pl Polish version of the name of the second person (which need to be declined). If not provided than grammatically tortured form will be used. empty optional
ru Declined Russian name (same logic as Polish) empty optional
lang language code (only needs to be provided if the language shall be fixed and independent of the user's preferences) language code of the user language optional

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified

Localization

To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)

Examples

code output notes
{{Kinship|uncle|Abraham Lincoln}} uncle of Abraham Lincoln basic form
{{Kinship|brother|Joseph Johnson|link=Category:Joseph Johnson (publisher)}} brother of Joseph Johnson using category name looks awkward in template
{{Kinship|mother|Adam Mickiewicz|lang=en}} mother of Adam Mickiewicz this form works in English
{{Kinship|mother|Adam Mickiewicz|lang=pl}} matka osoby: Adam Mickiewicz however it does not work well in Polish and possibly other languages
{{Kinship|mother|Adam Mickiewicz|lang=pl|pl=Adama Mickiewicza}} matka Adama Mickiewicza argument "pl" is used to provide proper language specific form