Template:surname/documentation

Definition for surname entries.

Parameters

 * 1
 * Language code; see 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
.



(and categorizes in Category:English surnames)

.



(and categorizes in Category:English surnames and Category:English surnames from patronymics)

but note:

.



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 :

a form of Silvanus.


 * , a form of Silvanus.

1 and from are combined into a subcategory. Something such as: is filed in a Category:Finnish surnames, but: 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: #