Difference between revisions of "Template:Person"

From PKC
Jump to navigation Jump to search
Line 48: Line 48:
"type": "string",
"type": "string",
"suggested": true
"suggested": true
},
"age": {
"aliases": [
"age"
],
"label": "Age",
"description": "The age of a person in years",
"example": "20",
"type": "number"
},
},
"gender": {
"gender": {
Line 78: Line 69:
"type": "unbalanced-wikitext",
"type": "unbalanced-wikitext",
"suggested": true
"suggested": true
},
"birthday": {
"aliases": [
"Birth Date"
],
"label": "birthday",
"description": "The date of the person's birth",
"example": "1/1/2000",
"type": "date",
"default": "1/1/2000"
}
}
},
},
Line 84: Line 85:
"first",
"first",
"last",
"last",
"age",
"birthday",
"gender",
"gender",
"Phone Number",
"Phone Number",

Revision as of 08:42, 3 July 2021


One can simply copy the following template code to present the data about a Person.

{{Template:Person
|first=
|last=
|birthday=
|gender=
|email=
|description=
}}


This person's name is: {{{first}}} {{{last}}}.

Short Bio

{{{description}}}


This is the template data for a person.

Template parameters

ParameterDescriptionTypeStatus
First Namefirst first name

The first name or given name of a person

Example
Ben
Stringsuggested
Last Namelast last name

The family name or last name of a person

Example
Koo
Stringsuggested
birthdaybirthday Birth Date

The date of the person's birth

Default
1/1/2000
Example
1/1/2000
Dateoptional
gendergender sex Gender

The gender of a person

Example
Female
Stringoptional
Phone NumberPhone Number

no description

Unknownoptional
EmailEmail

no description

Unknownoptional
DescriptionDescription Description Short Bio

Some text describing the person

Example
This person is a mathematician.
Unbalanced wikitextsuggested