Template:Infobox person/doc: Difference between revisions
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
==Parameters== | ==Parameters== | ||
{ | <templatedata> | ||
{ | |||
"params": { | |||
"name": { | |||
"label": "Name", | |||
"description": "The person's name.", | |||
"type": "string", | |||
"default": "{{PAGENAME}}", | |||
"required": true | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "A picture of the person. Do not include File:, this will be supplied by the template.", | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"imagecaption": { | |||
"label": "Image Caption", | |||
"description": "A caption which describes the person's image. Use to indicate the actor portraying the person, or the artist who created the artwork depicting them.", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"race": { | |||
"label": "Race", | |||
"description": "The person's race. Link to the Archive article describing their race. For characters of mixed lineage, list their races by approximate fraction (e.g. 1/2 D'ni, 1/2 Human).", | |||
"type": "wiki-page-name", | |||
"required": true | |||
}, | |||
"dni-name": { | |||
"label": "D'ni name", | |||
"description": "The person's name in Dnifont transliteration. Do not include the <dni> tags.", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"portrayed-by": { | |||
"label": "Portrayed By", | |||
"description": "The actor(s) who portrayed this person in various media representations.", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"born": { | |||
"label": "Born", | |||
"description": "The person's date of birth. Be as precise as possible.", | |||
"type": "date", | |||
"suggested": true | |||
}, | |||
"died": { | |||
"label": "Died", | |||
"description": "The date of the person's death. Be as precise as possible.", | |||
"type": "date", | |||
"suggested": true | |||
}, | |||
"father": { | |||
"label": "Father", | |||
"description": "The person's father, if known.", | |||
"type": "wiki-page-name", | |||
"suggested": true | |||
}, | |||
"mother": { | |||
"label": "Mother", | |||
"description": "The person's mother, if known.", | |||
"type": "wiki-page-name", | |||
"suggested": true | |||
}, | |||
"spouse": { | |||
"label": "Spouse", | |||
"description": "The person's husband or wife, if known.", | |||
"type": "wiki-page-name", | |||
"suggested": true | |||
}, | |||
"children": { | |||
"label": "Children", | |||
"description": "A list of the person's children, if known, in birth order.", | |||
"type": "string", | |||
"suggested": true | |||
} | |||
}, | |||
"paramOrder": [ | |||
"name", | |||
"image", | |||
"imagecaption", | |||
"race", | |||
"dni-name", | |||
"born", | |||
"died", | |||
"father", | |||
"mother", | |||
"spouse", | |||
"children", | |||
"portrayed-by" | |||
] | |||
} | |||
</templatedata> | |||
[[Category:People and person infobox templates]] | [[Category:People and person infobox templates]] |
Revision as of 05:18, 3 November 2015
Usage
Include this template when creating an article about a person. Below is a list of all parameters and how they should be used.
If you are creating an article about a king, use Template:Infobox D'ni king instead.
Parameters
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The person's name.
| String | required |
Image | image | A picture of the person. Do not include File:, this will be supplied by the template. | File | suggested |
Image Caption | imagecaption | A caption which describes the person's image. Use to indicate the actor portraying the person, or the artist who created the artwork depicting them. | String | suggested |
Race | race | The person's race. Link to the Archive article describing their race. For characters of mixed lineage, list their races by approximate fraction (e.g. 1/2 D'ni, 1/2 Human). | Page name | required |
D'ni name | dni-name | The person's name in Dnifont transliteration. Do not include the <dni> tags. | String | suggested |
Born | born | The person's date of birth. Be as precise as possible. | Date | suggested |
Died | died | The date of the person's death. Be as precise as possible. | Date | suggested |
Father | father | The person's father, if known. | Page name | suggested |
Mother | mother | The person's mother, if known. | Page name | suggested |
Spouse | spouse | The person's husband or wife, if known. | Page name | suggested |
Children | children | A list of the person's children, if known, in birth order. | String | suggested |
Portrayed By | portrayed-by | The actor(s) who portrayed this person in various media representations. | String | suggested |