Template:surname
Jump to navigation
Jump to search
a surname
- The following documentation is located at Template:surname/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
Definition for surname entries.
Parameters
|1=
(required)- Language code; see 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=
- (usually language name not code) derived 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)
Examples
{{surname|en}}.
- A surname.
(and categorizes in Category:English surnames)
{{surname|en|from=patronymics}}.
- A surname originating as a patronymic.
(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}}
See also
{{surname-lite}}
: Template-only version supporting only some features, useful on pages with memory errors.{{given name}}