This is a customized wrapper for the {{Family name explanation}} template, which means it is built upon the other template's code. <syntaxhighlight lang="wikitext" inline style="display: none;" />|type= is set to hatnote. |
| This template is used on approximately 96,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Template:Family name hatnote is placed at the top of a biographical article to explain to readers which part of a name is the family name.
Usage
| Parameter | Description | Status |
|---|---|---|
<syntaxhighlight lang="wikitext" inline style="display: none;" />|1=
|
The surname or family name of the subject. | Required |
<syntaxhighlight lang="wikitext" inline style="display: none;" />|2=
|
Triggers different text based on the language (see below). | Required for <syntaxhighlight lang="wikitext" inline style="display: none;" />|lang=Manchu; optional for others.
|
<syntaxhighlight lang="wikitext" inline style="display: none;" />|3=
|
For transliterated names or there are multiple name types. | Optional |
<syntaxhighlight lang="wikitext" inline style="display: none;" />|nd=
|
Use for Dutch names when a marital name is involved | Conditional |
<syntaxhighlight lang="wikitext" inline style="display: none;" />|lang=
|
The country or origin of the name; links to related articles if they exist. Note: language names must be spelled out, not ISO codes, for example Spanish not es. |
Optional |
Footnotes vs. hatnotes
There is no universal consensus on whether to use footnotes or hatnotes for family name explanations.[a] However, never use both.[b] For names that are clear to the average reader, such as Jeremy Lin, use no explanation.
Hatnotes are a high-emphasis method of name explanation, and have been used widely on Wikipedia for many years. Some editors argue that they are well-suited to articles where the name is particularly in need of clarification (such as when the name Foo Bar is one article and Bar Foo is another), or where a footnotes system would have to be introduced for the explanation.
Footnotes ({{Family name footnote}}) are a newer, lower-emphasis method of name explanation introduced in 2020. Some editors argue that they better avoid giving undue prominence to name explanations. Others argue that they fit name explanations better as they do not muddle the navigational purpose of hatnotes. They may be particularly well-suited to articles that already have other hatnotes (where another might induce banner blindness), or where there is a preexisting footnote system (and thus no need to introduce one).
Supported languages
All languages are supported. The <syntaxhighlight lang="wikitext" inline style="display: none;" />|lang= parameter will trigger the text output "<lang> name", wikilinked if the page exists; for example, <syntaxhighlight lang="wikitext" inline style="display: none;" />|lang=Arabic will result in "Arabic name". Exceptions are listed below:
| Language | Article |
|---|---|
| East Slavic | East Slavic naming customs |
| Hmong | Hmong people |
| Ijebu | Ijebu Kingdom |
| Lebanese | Lebanese Arabic |
| Ottoman Turkish | Ottoman Turkish |
| Romance | Romance language |
| Toponymic | third parameter is linked |
| Turkic | Turkic languages |
Examples
First parameter only
Regardless of language, this template requires a first parameter for the given surname. For instances where the language may not commonly use a family name, the text reflects this.
| Language | Code | Example Output |
|---|---|---|
No <syntaxhighlight lang="wikitext" inline style="display: none;" />|lang= set
|
{{Family name hatnote|Simpson}}
|
|
| Burmese | {{Family name hatnote|Htang|lang=Burmese}}
|
|
| Dutch | {{Family name hatnote|Van der Sar|lang=Dutch}}
|
|
| Ijebu | {{Family name hatnote|Àjàyí|lang=Ijebu}}
|
|
| Mongolian | {{Family name hatnote|Tsedenbal|lang=Mongolian}}
|
|
| Ottoman Turkish | {{Family name hatnote|Namık Kemal|lang=Ottoman Turkish}}
|
Second parameter
The second parameter triggers different wording depending on the language.
| Language | Code | Example Output |
|---|---|---|
| Argentine | {{Family name hatnote|Acosta|Benitez|lang=Argentine}}
|
|
| Basque | {{Family name hatnote|Arana|Goiri|lang=Basque}}
|
|
| Bulgarian | {{Family name hatnote|Ivanova|Georgieva-Kinova|lang=Bulgarian}}
|
|
| Cambodian[c] | {{Family name hatnote|Sok|Narvaratt|lang=Cambodian}}
|
|
| Catalan | {{Family name hatnote|Miró|Ferrà|lang=Catalan}}
|
|
| Chilean | {{Family name hatnote|Ocampo|Soto|lang=Chilean}}
|
|
| Chinese | {{Family name hatnote|Wang|De|lang=Chinese}}
|
|
| Chinese Indonesian | {{Family name hatnote|Han|Su|lang=Chinese Indonesian}}
|
|
| Congolese | {{Family name hatnote|Tshisekedi|Tshilombo|lang=Congolese}}
|
|
| Dutch | {{Family name hatnote|Van der Sar|Sar|lang=Dutch}}
|
|
Dutch (if <syntaxhighlight lang="wikitext" inline style="display: none;" />|nd=y)
|
{{Family name hatnote|Noordewier|Reddingius|nd=yes|lang=Dutch}}
|
|
| East Slavic | {{Family name hatnote|Aleksandrovitch|Imyarek|lang=East Slavic}}
|
|
| Galician | {{Family name hatnote|Núñez|Castillo|lang=Galician}}
|
|
| German | {{Family name hatnote|Von Allmen|Allmen|lang=German}}
|
|
| Hispanic American[d] | {{Family name hatnote|Bolívar|Palacios|lang=Hispanic American}}
|
|
| Hmong[c] | {{Family name hatnote|Kaying|Pha|lang=Hmong}}
|
|
| Korean | {{Family name hatnote|Lee|Han|lang=Korean}}
|
|
| Lebanese Arabic | {{Family name hatnote|Ali|Maatouk|lang=Lebanese}}
|
|
| Manchu[e] | {{Family name hatnote|Oboi|Gūwalgiya|lang=Manchu}}
|
|
| Medieval | {{Family name hatnote|Wolfram|von Eschenbach|lang=Medieval}}
|
|
| Mexican | {{Family name hatnote|Juárez|García|lang=Mexican}}
|
|
| Mongolian | {{Family name hatnote|Tsedenbal|Yumjaagiin|lang=Mongolian}}
|
|
| ni-Vanuatu | {{Family name hatnote|Natapei|Rapi|lang=Ni-Vanuatu}}
|
|
| Ottoman Turkish[f] | {{Family name hatnote|Osman Hamdi|Bey|lang=Ottoman Turkish}}
|
|
| Romance | {{Family name hatnote|de Perier|Perier|lang=Romance}}
|
|
| Slavic | {{Family name hatnote|Wołkowski|Wolkowski|lang=Slavic}}
|
|
| Spanish[g] | {{Family name hatnote|Gómez|Cruz|lang=Spanish}}
|
|
| Turkic | {{Family name hatnote|Bölükbaşı|Bolukbasi|lang=Turkic}}
|
|
| Vietnamese[c][h] | {{Family name hatnote|Phan|Khải|lang=Vietnamese}}
|
|
| All others (A, not B) |
{{Family name hatnote|Wilson|Clark}}
|
Third parameter
With the exception of <syntaxhighlight lang="wikitext" inline style="display: none;" />|lang=Toponymic, the third parameter is used for transliterated names or a second name type.
| Language | Code | Example Output |
|---|---|---|
| Hong Kong[i] | {{Family name hatnote|Chan|Jackie|Kong-sang|lang=Hong Kong}}
|
|
| Macau[i][j] | {{Family name hatnote|Ho|Edmund|Hau Wah|lang=Macau}}
|
|
| Manchu | {{Family name hatnote|Hūlušun|Nara|Hulusun|lang=Manchu}}
|
|
| Ottoman Turkish | {{Family name hatnote|Ali|Pasha|Çandarlı|lang=Ottoman Turkish}}
|
|
| Ottoman Turkish (if no title)[k] |
{{Family name hatnote|Ali||Çandarlı|lang=Ottoman Turkish}}
|
|
| Toponymic | {{Family name hatnote|London|Edward|English name|lang=Toponymic}}
|
|
| Vietnamese | {{Family name hatnote|Ngô|Diệm|Ngo|lang=Vietnamese}}
|
Tracking categories
See also
- {{Bhutanese name}}
- {{British barrelled name}}
- {{Dinka name}}
- {{Ethiopian name}}
- {{Family name explanation}}
- {{Family name footnote}}
- {{Family name hatnote}}
- {{Fijian name}}
- {{Filipino name}}
- {{Given name footnote}}
- {{Given name hatnote}}
- {{Icelandic name}}
- {{Indian patronymic}}
- {{Indonesian name}}
- {{Malay name}}
- {{Norse name}}
- {{Pakistani name}}
- {{Patronymic name}}
- {{Patronymic names}}
- {{Portuguese name}}
- {{Spanish colonial name}}
- {{Spanish married name}}
- {{Traditional Norwegian name}}
- {{Western name order}} (typically for Hungarian and Japanese names)
- {{Western Slavic name}}
Notes
- ↑ See Wikipedia:Village pump (proposals)/Archive 188 § Method of surname clarification.
- ↑ List of articles to fix.
- ↑ 3.0 3.1 3.2 For Cambodian, Hmong, or Vietnamese, <syntaxhighlight lang="wikitext" inline style="display: none;" />
|2=is not required, and will still add the explanatory note. - ↑ Is used only in Latin America (except Chile and Mexico, per separate templates).
- ↑ The second parameter is required for this language
- ↑ For Ottoman Turkish, if <syntaxhighlight lang="wikitext" inline style="display: none;" />
|3=is given, the family name will be listed as well. - ↑ Is used only in Spain and sometimes Equatorial Guinea.
- ↑ Vietnamese has a "transliterated" message similar to Slavic and Turkic, but is triggered by <syntaxhighlight lang="wikitext" inline style="display: none;" />
|3=. - ↑ 9.0 9.1 If the full Western- and Chinese-style name is desired, it must be included in the second and third parameter in the proper order; for example <syntaxhighlight lang="text" class="" style="" inline="1">Chan|Jackie Chan|Chan Kong-sang</syntaxhighlight>.
- ↑ Also works with the spelling Macao.
- ↑ For Ottoman Turkish, if <syntaxhighlight lang="wikitext" inline style="display: none;" />
|2=is left empty (note the double pipe, <syntaxhighlight lang="text" class="" style="" inline="1">||</syntaxhighlight>), "the title is..." section is not included.
TemplateData
TemplateData for Family name hatnote
<templatedata> { "params": { "1": { "label": "Surname or family name", "description": "The primary element in the person's surname", "type": "string", "required": true }, "2": { "label": "Additional name element", "description": "Secondary element in the person's surname (depending upon language)", "type": "string", "suggested": true }, "3": { "label": "Additional name element", "description": "Tertiary element in the person's surname or transliteration (depending upon language)", "type": "string", "suggested": true }, "lang": { "label": "Language", "description": "Language or naming convention. Note: Spell out the language name; do not use ISO codes", "type": "string", "suggested": true, "example": "Spanish", "suggestedvalues": [ "Argentine", "Basque", "Bulgarian", "Burmese", "Cambodian", "Catalan", "Chilean", "Chinese", "Chinese Indonesian", "Congolese", "Dutch", "East Slavic", "Galician", "German", "Hispanic American", "Hmong", "Ijebu", "Korean", "Lebanese", "Manchu", "Medieval", "Mexican", "Mongolian", "Ni-Vanuatu", "Ottoman Turkish", "Romance", "Slavic", "Spanish", "Toponymic", "Turkic", "Vietnamese", "Hong Kong", "Macau" ] }, "nd": { "label": "Dutch marital name", "description": "Use only with Dutch surnames where the person's married name is to be specified", "type": "string", "suggested": true }, "type": { "description": "Whether the explanation should be rendered as a footnote, a hatnote, or neither (default).", "type": "string", "suggestedvalues": [ "footnote", "hatnote" ], "default": "Neither", "label": "Explanation type" }, "reftype": { "label": "Reference group type", "description": "Name of footnote template to use, such as efn, efn-lr, or NoteTag.", "type": "line", "default": "efn", "suggestedvalues": [ "efn", "efn-lr", "efn-ua", "efn-ur", "efn-lg", "NoteTag" ] } }, "format": "inline", "description": "Placed at the top of a biographical article to explain to readers which part of a name is the family name." } </templatedata>