Person
To generate a full name, use
{{$person.fullName}}
. Note that this is not the same as simply concatenating {{$person.firstName}}
and {{$person.lastName}}
, as the full name may contain a prefix, suffix, or both. Additionally, different supported locales will have differing name patterns. For example, the last name may appear before the first name, or there may be a double or hyphenated first or last name.{{$person.prefix}}
, {{$person.firstName}}
, {{$person.middleName}}
, {{$person.lastName}}
, and {{$person.suffix}}
. Not all locales support all of these parts.{{$person.jobTitle}}
.{{$person.gender}}
, {{$person.zodiacSign}}
, and {{$person.bio}}
.For personal contact information like phone numbers and email addresses, see the Phone and Internet modules.
bio
firstName
Name | Type | Default | Description |
---|---|---|---|
sex | 'female' | 'male' | The optional sex to use. Can be either 'female' or 'male' . |
fullName
Name | Type | Default | Description |
---|---|---|---|
firstName | string | {{$person.firstName}} | The optional first name to use. If not specified a random one will be chosen. |
lastName | string | {{$person.lastName}} | The optional last name to use. If not specified a random one will be chosen. |
sex | 'female' | 'male' | {{$helpers.arrayElement(['female','male'])}} | The optional sex to use. Can be either 'female' or 'male' . |
gender
jobArea
jobDescriptor
jobTitle
lastName
Name | Type | Default | Description |
---|---|---|---|
sex | 'female' | 'male' | The optional sex to use. Can be either 'female' or 'male' . |
middleName
Name | Type | Default | Description |
---|---|---|---|
sex | 'female' | 'male' | The optional sex to use. Can be either 'female' or 'male' . |
prefix
Name | Type | Default | Description |
---|---|---|---|
sex | 'female' | 'male' | The optional sex to use. Can be either 'female' or 'male' . |
sex
sex
available in some other modules for example {{$person.firstName}}
.
sexType
SexType
is intended to be used in parameters and conditions.
suffix
zodiacSign