Template:Surname/doc

Usage

 * display – the unqualified surname [optional]
 * display – the unqualified surname [optional]

On English Wikipedia (en.WP), surname page – Foo (surname) – should have a brief lead section that describes the etymological and (when applicable) the pronunciational 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's opening.

Place at the bottom of surname pages. Do not use this template on those disambiguation pages which contain a list of people by family name as well as the more usual types of other entries. Instead, categorize the disambiguation page by including the surname parameter with the Disambiguation template. For example,. 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. However, this parameter is for display purposes only. controls sorting of all categories for consistency.

Category:Surnames automatically includes all articles that have this template. Any surname language categories should immediately follow at the bottom of surname pages, after you have verified them via reliable sources.

Category:Surname template has extra parameters includes any template instances with too many or obsolete parameters. This maintenance category should ideally be empty, so correct any pages that appear in that category.

If it's just for a section, you can say so: Doing so will change the wording to say "this section" instead of "this article", and will also suppress the automatic generation of. If an article is a general article on a surname, that happens to contain a section with a list of people bearing the surname, it should instead have a manually added description at the top of the page, e.g..

TemplateData
{	"params": { "1": {			"label": "Surname (override)", "description": "The surname(s) this page is about, if not included in the page title", "type": "content", "default": "Default is to infer from the page title.", "suggested": true },		"2": {			"label": "Category", "description": "By default, this rcat will populate . That can be suppressed using \"nocat\" in this unnamed parameter.", "type": "string", "default": "Add category:Surnames.", "suggested": false },		"section": { "label": "Section only?", "description": "If set to any content, this template applies only to the section in which it is placed, and will say so.", "type": "string", "default": "Template applies to whole page." }	},	"description": "Place at the bottom of surname pages. Do not use this template on disambiguation pages that contain other entries besides a list of people by family name. Instead categorize the disambiguation page by including the surname parameter with the  template. For example, . This will include the disambiguation page in Category:Surnames." }