Template:Last name
name
{{Last name}} is a template that takes a full name and returns the family name or surname (in contrast to the given name).
Note that this template does not actually "know" if the name returned is the family name or surname; that is impossible to know for any given name since there are hundreds of thousands of family names/surnames in use around the world, many of which (depending on the culture) are also used as given names.
Usage[edit]
The template accepts one unnamed parameter for the name, and the name order can be specified with a second unnamed parameter. If no parameters are provided, it operates on the page name instead.
{{Family name}} and {{surname}} both redirect to this template and can therefore be used instead of {{last name}}.
Name | Western order | Eastern order | "full" output | |||
---|---|---|---|---|---|---|
Code | Result | Code | Result | Code | Result | |
Some text | {{Last name|Some text}}
|
text | {{Last name|Some text|Eastern}}
|
Some | {{Last name|Some text|full=1}}
|
text, Some |
John Doe | {{Last name|John Doe}}
|
Doe | {{Last name|Doe John|Eastern}}
|
Doe | {{Last name|John Doe|full=1}}
|
Doe, John |
Kazuki Takahashi | {{Last name|Kazuki Takahashi}}
|
Takahashi | {{Last name|Takahashi Kazuki|Eastern}}
|
Takahashi | {{Last name|Kazuki Takahashi|full=1}}
|
Takahashi, Kazuki |
Suk In Lee | {{Last name|Suk In Lee}}
|
Lee | {{Last name|Lee Suk In|Eastern}}
|
Lee | {{Last name|Suk In Lee|full=1}}
|
Lee, Suk In |
Aikawa | {{Last name|Aikawa}}
|
Aikawa | {{Last name|Aikawa|Eastern}}
|
Aikawa | {{Last name|Aikawa|full=1}}
|
Aikawa |
Wilson Jr. | {{Last name|Wilson Jr.}}
|
Wilson | {{Last name|Wilson Jr.|Eastern}}
|
Wilson | {{Last name|Wilson Jr.|full=1}}
|
Wilson, Jr. |
高橋 和希 | {{Last name|和希 高橋}}
|
高橋 | {{Last name|高橋 和希|Eastern}}
|
高橋 | {{Last name|和希 高橋|full=1}}
|
高橋, 和希 |
Michael Liscio Jr. | {{Last name|Michael Liscio Jr.}}
|
Liscio | {{Last name|Liscio Michael Jr.|Eastern}}
|
Liscio | {{Last name|Michael Liscio Jr.|full=1}}
|
Liscio, Michael, Jr. |
Mrs. Fudo | {{Last name|Mrs. Fudo}}
|
Fudo | {{Last name|Mrs. Fudo|Eastern}}
|
Fudo | {{Last name|Mrs. Fudo|full=1}}
|
Fudo, Mrs. |