模板:Surname
外觀
Definition for surname entries.
參數
|1=
(必填)- 語言代碼;參見Wiktionary:List of languages. The parameter
|lang=
is a deprecated synonym; please do not use. If this is used, all numbered parameters move down by one. |2=
- Adjective or qualifier.
|from=
- (常用語言名稱而非代碼) 衍生自
|A=
- replacement for "A" (see below)
|eq=
- equivalent surname in English, for use in foreign-language entries
|g=
- gender of the surname (only used for certain languages like Icelandic or Greek)
|m=
- masculine equivalent of this surname (for gendered surnames)
|f=
- feminine equivalent of this surname (for gendered surnames)
舉例
{{surname|en}}.
- 姓氏.
(and categorizes in Category:English surnames)
{{surname|en|from=patronymics}}.
- 源自patronymics的姓氏.
(and categorizes in Category:English surnames and Category:English surnames from patronymics)
but note:
{{surname|en|[[English]]}}.
where the module is smart enough to replace "A" with "An". You can override this using |A=
.
Trailing punctuation is no longer generated automatically, so there is no need to suppress it using nodot=1
:
{{surname|en|from=Latin}}, a form of [[Silvanus]].
|1=
and |from=
are combined into a subcategory. Something such as:
{{surname|fi}}
is filed in a Category:Finnish surnames, but:
{{surname|fi|from=Finnish}}
is filed in a Category:Finnish surnames from Finnish. Unlike |1=
, |from=
is not a code but a full language name.
You can give multiple |from=
parameters by adding a number, such as |from2=
:
# {{surname|en|from=Danish|from2=Norwegian}}
參見
{{surname-lite}}
: Template-only version supporting only some features, useful on pages with memory errors.{{given name}}