User:Mathglot/sandbox/Templates/Portuguese name/doc

This template may be placed at the top of a biographical article of someone with a Portuguese name to identify maternal and paternal surnames which make up the family name, as well as any generational title like "Filho".

Usage

 * Invocation


 * Parameters


 * "1" or "first" – the first or maternal family name (required)
 * "2" or "second" – the second or paternal family name (required)
 * "3" or "suffix" – the generational suffix, if any (e.g., Filho, Júnior, Neto, Sobrinho, Segundo, Terceiro) (optional)

Examples

 * For Daniel Alves da Silva: or  &rarr;
 * For Armando Monteiro Filho: &rarr;
 * For Armando de Queiroz Monteiro Filho: &rarr;
 * For Edmundo Alves de Souza Neto: &rarr;
 * For Eduardo Jorge Martins Alves Sobrinho: &rarr;

Usage note: In Portuguese names, Filho, if it appears, is usually a suffix meaning "Junior", and is not a family name, so it should be placed in the 3rd, optional parameter. Rarely, Filho is the family name; in this case, it would be in the 2nd parameter, and the optional 3rd parameter should be omitted. The same applies to Neto or Sobrinho which can be either a suffix (usually) or a family name (rarely). If you are not sure if something is a suffix or not, do not use the optional parameter.

TemplateData
{	"params": { "1": {			"aliases": [ "first" ],			"label": "Family or maternal name", "description": "The person's maternal family name", "example": "Alves", "type": "string", "required": true },		"2": {			"aliases": [ "second" ],			"label": "Paternal name", "description": "The person's paternal name", "example": "Silva", "type": "string", "required": true },		"3": {			"aliases": [ "suffix" ],			"label": "Generational suffix", "description": "The person's generational suffix", "example": "Filho", "type": "string", "required": false }	},	"format": "\n", "description": "Introduces a person as having a Portuguese name, according to Portuguese naming customs" }

Category:Hatnote templates for names simple:Template:Portuguese name