Difference between revisions of "Template:Person"
Jump to navigation
Jump to search
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{ | One can simply copy the following template code to present the data about a Person. | ||
| | <syntaxhighlight language=md> | ||
| | {{Person | ||
| | |first= | ||
| | |last= | ||
| | |wp-link= | ||
| | |birthday= | ||
|died= | |||
|gender= | |||
|email= | |||
|description= | |||
|wikidata= | |||
}} | }} | ||
</syntaxhighlight> | |||
</noinclude> | </noinclude> | ||
{{Infobox person | |||
|first={{{first}}} | |||
|last={{{last}}} | |||
|gender={{{gender}}} | |||
|wikidata={{{wikidata}}} | |||
|wp-link={{{wp-link}}} | |||
|description={{{description}}} | |||
|birthday={{{birthday}}} | |||
|died={{{died}}} | |||
}} | |||
{| | This person's name is {{#If: {{{wp-link}}}|[[wikipedia:{{{wp-link}}}|{{{first}}} {{{last}}}]]|{{{first}}} {{{last}}}|}}. | ||
| | |||
{{{ | |||
| | |||
{{{ | |||
{{{ | |||
| | |||
{{{ | {{#If: {{{description}}}| | ||
==Short Bio== | |||
<p> | |||
{{ | {{{description}}} | ||
</p>|No Biographic information provided...}} | |||
{{{ | |||
| | |||
<noinclude> | <noinclude> | ||
Line 63: | Line 60: | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"gender": { | "gender": { | ||
Line 93: | Line 81: | ||
"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" | |||
}, | |||
"wp-link": { | |||
"aliases": [ | |||
"Wikipedia Page", | |||
"Wikipedia Entry" | |||
], | |||
"label": "wp-link", | |||
"description": "The corresponding page on Wikipedia", | |||
"type": "unbalanced-wikitext" | |||
}, | |||
"description": {}, | |||
"died": { | |||
"aliases": [ | |||
"Died" | |||
], | |||
"label": "died", | |||
"description": "The date of announced death", | |||
"example": "3 September 2006", | |||
"type": "date" | |||
}, | |||
"wikidata": {} | |||
}, | }, | ||
"description": "This is the template data for a person.", | "description": "This is the template data for a person.", | ||
Line 99: | Line 117: | ||
"first", | "first", | ||
"last", | "last", | ||
" | "birthday", | ||
"gender", | "gender", | ||
"Phone Number", | "Phone Number", | ||
"Email", | "Email", | ||
"Description" | "Description", | ||
"wp-link", | |||
"description", | |||
"died", | |||
"wikidata" | |||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
[[Category:Person]] |
Latest revision as of 02:09, 15 June 2022
One can simply copy the following template code to present the data about a Person.
{{Person
|first=
|last=
|wp-link=
|birthday=
|died=
|gender=
|email=
|description=
|wikidata=
}}
Person | |
---|---|
First Name | {{{first}}} |
Last Name | {{{last}}} |
Wikipedia | [[wikipedia:{{{wp-link}}}|{{{wp-link}}}]] |
wikidata | [[wikidata:{{{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 |
description | description | no description | Unknown | optional |
died | died Died | The date of announced death
| Date | optional |
wikidata | wikidata | no description | Unknown | optional |