Template:NamingCustom/doc

From Moegirlpedia
Jump to: navigation, search

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=}}

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

  • {{NamingCustom|lang=Japanese|fn=Matsumoto}}
  • {{NamingCustom|an|lang=Eastern Slavic|fn=Pushkin|pn=Sergeyevich}}
  • {{NamingCustom|lang=Spanish|fn=de Bolívar|mfn=Palacios}}
  • {{NamingCustom|lang=Manchu|note=it is customary to use only the given name|fn=Aisin Gioro|stype=given name|sn=Puyi}}