|
|
Line 6: |
Line 6: |
| **If the language or naming custom starts with a vowel sound, use the following code to change the article: | | **If the language or naming custom starts with a vowel sound, use the following code to change the article: |
| *:<code>{{NamingCustom|an|lang=|note=|fn=|mfn=|pfn=|pn=|mn=|stype=|sn=}}</code> | | *:<code>{{NamingCustom|an|lang=|note=|fn=|mfn=|pfn=|pn=|mn=|stype=|sn=}}</code> |
− | ==Template Data==
| |
− | <templatedata>
| |
− | {
| |
− | "params": {
| |
− | "1": {
| |
− | "label": "article",
| |
− | "description": "Use this parameter to change the article (i.e. from \"a\" to \"an\").",
| |
− | "example": "an",
| |
− | "type": "string",
| |
− | "default": "a",
| |
− | "autovalue": "an"
| |
− | },
| |
− | "mfn": {
| |
− | "label": "maternal family name",
| |
− | "type": "string",
| |
− | "description": "The maternal family name, as seen in Spanish names."
| |
− | },
| |
− | "pfn": {
| |
− | "label": "paternal family name",
| |
− | "type": "string",
| |
− | "description": "The paternal family name, applicable if the primary family name is maternal and both parents' family name is carried."
| |
− | },
| |
− | "pn": {
| |
− | "label": "patronymic",
| |
− | "type": "string",
| |
− | "description": "Patronymic, as seen in Eastern Slavic names."
| |
− | },
| |
− | "mn": {
| |
− | "label": "matronymic",
| |
− | "type": "string",
| |
− | "description": "Matronymic, as seen in the Filipino legal names."
| |
− | },
| |
− | "sn": {
| |
− | "label": "special name",
| |
− | "description": "Name components not covered by the above perimeters, e.g. clan name, house name, etc.",
| |
− | "type": "string"
| |
− | },
| |
− | "fn": {
| |
− | "label": "family name",
| |
− | "type": "string",
| |
− | "suggested": true,
| |
− | "description": "The primary family name."
| |
− | },
| |
− | "lang": {
| |
− | "label": "language",
| |
− | "description": "The language or naming custom the name uses.",
| |
− | "example": "Chinese, Japanese, Arabic, Eastern Slavic",
| |
− | "type": "string",
| |
− | "required": true
| |
− | },
| |
− | "stype": {
| |
− | "label": "special name type",
| |
− | "description": "The type of the \"special name\", e.g. clan name. Required if \"sn\" is used.",
| |
− | "type": "string"
| |
− | },
| |
− | "note": {
| |
− | "description": "additional note about the naming custom.",
| |
− | "type": "string"
| |
− | }
| |
− | },
| |
− | "description": "Page-top template to mark the components of a name.",
| |
− | "paramOrder": [
| |
− | "1",
| |
− | "lang",
| |
− | "note",
| |
− | "fn",
| |
− | "mfn",
| |
− | "pfn",
| |
− | "pn",
| |
− | "mn",
| |
− | "stype",
| |
− | "sn"
| |
− | ],
| |
− | "format": "inline"
| |
− | }
| |
− | </templatedata>
| |
| | | |
| ==Examples== | | ==Examples== |
An expansion upon {{Family name}}
. This template covers most possible naming customs.
Syntax
{{NamingCustom|lang=|note=|fn=|mfn=|pfn=|pn=|mn=|stype=|sn=}}
- Remove unnecessary parts or leave them blank. See below for detailed explanation on each parameters.
- If the language or naming custom starts with a vowel sound, use the following code to change the article:
{{NamingCustom|an|lang=|note=|fn=|mfn=|pfn=|pn=|mn=|stype=|sn=}}
Examples
{{NamingCustom|lang=Japanese|fn=Matsumoto}}
This is a Japanese name. The family name is Matsumoto.
{{NamingCustom|an|lang=Eastern Slavic|fn=Pushkin|pn=Sergeyevich}}
This is an Eastern Slavic name. The family name is Pushkin, and the patronymic is Sergeyevich.
{{NamingCustom|lang=Spanish|fn=de Bolívar|mfn=Palacios}}
This is a Spanish name. The family name is de Bolívar, and the maternal family name is Palacios.
{{NamingCustom|lang=Traditional Manchu|note=it is customary to use only the given name|fn=Aisin Gioro|stype=given name|sn=Puyi}}
This is a Traditional Manchu name; it is customary to use only the given name. The family name is Aisin Gioro, and the given name is Puyi.