Permanently protected template

Template:Surname

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Usage

  • {{Surname|display}}
display – the unqualified surname [optional]


A surname page – Foo (surname) – should have a brief lead that describes the history of the surname. This can be a single sentence as in the example, Cross (surname). If this lead is absent, consider doing a little research in Wiktionary, etc. to improve the surname page.

Place {{Surname}} at the bottom of surname pages. Do not use this template on disambiguation pages that contain a list of people by family name and other entries. Instead categorize the disambiguation page by including the surname parameter with the {{Disambiguation}} template. For example, {{Disambiguation|surname}}. This will include the disambiguation page in Category:Surnames.

If the page title is not the surname itself, add the surname as the first parameter. For example, "Lee (surname)" uses {{Surname|Lee}}. However, this parameter is for display purposes only. {{DEFAULTSORT}} controls sorting of all categories for consistency.

Category:Surnames automatically includes all articles that have this template. Any surname language categories should immediately follow {{Surname}} at the bottom of surname pages, after they have been verified from reliable sources.

A maintenance category includes any template instances with too many or obsolete parameters. (This should be empty.)

If it's just for a section, you can say so: {{Surname|section=y|Lee}}

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Surname

Place {{Surname}} at the bottom of surname pages. Do not use this template on disambiguation pages that contain a list of people by family name and other entries. Instead categorize the disambiguation page by including the surname parameter with the {{Disambiguation}} template. For example, {{Disambiguation|surname}}. This will include the disambiguation page in Category:Surnames.

Template parameters

Parameter Description Type Status
Surname (override) 1

The surname(s) this page is about, if not included in the page title

Default
Default is to infer from the page title.
Example
empty
Auto value
empty
Content suggested
Section only? section

If set to any content, this template applies only to the section in which it is placed, and will say so.

Default
Template applies to whole page.
Example
empty
Auto value
empty
String optional

See also

  • {{Given name}} – For given name pages or sections of disambiguation pages that list people by given names. Can also be used for pages with both given names and surnames
  • {{Hndis}} – For disambiguation pages that list articles associated with the same personal name.
  • {{Nickname}} – For nickname pages or sections of disambiguation pages that list people by nicknames.
  • {{R from surname}} – Add to redirects instead of {{Surname}}.
  • {{Surname links}} – Aids searching for articles related to a surname.