සැකිල්ල:පෙළපත් නාමය/documentation
Appearance
Uses Lua: |
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}}.
(and categorizes in Category:English surnames)
{{surname|en|from=patronymics}}.
- පෙළපත් නාමයක් 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]].
- පෙළපත් නාමයක් ලතින් වෙතින් පැමිණි, 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.
අමතර අවධානයට
[සංස්කරණය]{{surname-lite}}
: Template-only version supporting only some features, useful on pages with memory errors.{{given name}}