Difference between revisions of "Template:Person"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
|first= | |first= | ||
|last= | |last= | ||
| | |wp-link= | ||
|birthday= | |birthday= | ||
|gender= | |gender= | ||
Line 18: | Line 18: | ||
|last={{{last}}} | |last={{{last}}} | ||
|gender={{{gender}}} | |gender={{{gender}}} | ||
|wikipage={{{ | |wikipage={{{wp-link}}} | ||
|description={{{description}}} | |description={{{description}}} | ||
|birthday={{{birthday}}} | |birthday={{{birthday}}} | ||
}} | }} | ||
This person's name is {{#If: {{{ | This person's name is {{#If: {{{wp-link}}}|[[wikipedia:{{{wp-link}}}|{{{first}}} {{{last}}}]]|{{{first}}} {{{last}}}|}} | ||
{{#If: {{{description}}}| | {{#If: {{{description}}}| | ||
Line 89: | Line 89: | ||
"default": "1/1/2000" | "default": "1/1/2000" | ||
}, | }, | ||
" | "wp-link": { | ||
"aliases": [ | "aliases": [ | ||
"Wikipedia Page", | "Wikipedia Page", | ||
"Wikipedia Entry" | "Wikipedia Entry" | ||
], | ], | ||
"label": " | "label": "wp-link", | ||
"description": "The corresponding page on Wikipedia", | "description": "The corresponding page on Wikipedia", | ||
"type": "unbalanced-wikitext" | "type": "unbalanced-wikitext" | ||
Line 108: | Line 108: | ||
"Email", | "Email", | ||
"Description", | "Description", | ||
" | "wp-link" | ||
] | ] | ||
} | } |
Revision as of 10:12, 4 July 2021
One can simply copy the following template code to present the data about a Person.
{{Person
|first=
|last=
|wp-link=
|birthday=
|gender=
|email=
|description=
}}
Person | |
---|---|
First Name | {{{first}}} |
Last Name | {{{last}}} |
Wikipedia | [[wikipedia:|]] |
wikidata | [[wikidata:|]] |
Gender | {{{gender}}} |
Birthday | {{{birthday}}} |
Died | {{{died}}} |
This person's name is [[wikipedia:{{{wp-link}}}|{{{first}}} {{{last}}}]]
Short Bio
{{{description}}}
This is the template data for a person.
Parameter | Description | Type | Status | |
---|---|---|---|---|
First Name | first first name | The first name or given name of a person
| String | suggested |
Last Name | last last name | The family name or last name of a person
| String | suggested |
birthday | birthday Birth Date | The date of the person's birth
| Date | optional |
gender | gender sex Gender | The gender of a person
| String | optional |
Phone Number | Phone Number | no description | Unknown | optional |
Email | no description | Unknown | optional | |
Description | Description Description Short Bio | Some text describing the person
| Unbalanced wikitext | suggested |
wp-link | wp-link Wikipedia Page Wikipedia Entry | The corresponding page on Wikipedia | Unbalanced wikitext | optional |