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.
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.
|Name||Western order||Eastern order|
|Suk In Lee||