Template:Infobox person/doc: Difference between revisions
mNo edit summary |
mNo edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Usage== | ==Usage== | ||
Include this template when creating an article about a person. Below is a list of all parameters and how they should be used. | Include this template when creating an article about a person. Below is a list of all parameters and how they should be used. In all cases where information is unavailable, leave the parameter out rather than including text like "unknown". | ||
If you are creating an article about a king, use [[Template:Infobox | If you are creating an article about a king, use [[Template:Infobox king]] instead. | ||
==Parameters== | ==Parameters== | ||
Line 10: | Line 10: | ||
"name": { | "name": { | ||
"label": "Name", | "label": "Name", | ||
"description": "The person's name.", | "description": "The person's name. This defaults to the page title, but can be overridden by specifying a different name in this parameter", | ||
"type": "string", | "type": "string", | ||
"default": "{{PAGENAME}}" | "default": "{{PAGENAME}}" | ||
}, | }, | ||
"image": { | "image": { | ||
"label": "Image", | "label": "Image", | ||
"description": "A picture of the person. | "description": "A picture of the person. Only provide the file name itself. The \"File:\" thumbnail will be created by the template.", | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"suggested": true | "suggested": true, | ||
"example": "Gehn.jpg" | |||
}, | }, | ||
"imagecaption": { | "imagecaption": { | ||
Line 37: | Line 37: | ||
"description": "The person's name in Dnifont transliteration. Do not include the <dni> tags.", | "description": "The person's name in Dnifont transliteration. Do not include the <dni> tags.", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true, | ||
"example": "Atrus" | |||
}, | }, | ||
"portrayed-by": { | "portrayed-by": { | ||
"label": "Portrayed By", | "label": "Portrayed By", | ||
"description": "The actor(s) who portrayed this person in various media representations.", | "description": "The actor(s) who portrayed this person in various media representations. When possible, link to their IMDB profile.", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true, | ||
"example": "[https://www.imdb.com/name/nm0450463/ John Keston]" | |||
}, | }, | ||
"born": { | "born": { | ||
Line 59: | Line 61: | ||
"father": { | "father": { | ||
"label": "Father", | "label": "Father", | ||
"description": "The person's father, if known.", | "description": "The person's father, if known. Do not wiki-link the name, the template will do this automatically.", | ||
"type": " | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"mother": { | "mother": { | ||
"label": "Mother", | "label": "Mother", | ||
"description": "The person's mother, if known.", | "description": "The person's mother, if known. Do not wiki-link the name, the template will do this automatically.", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"suggested": true | "suggested": true | ||
Line 71: | Line 73: | ||
"spouse": { | "spouse": { | ||
"label": "Spouse", | "label": "Spouse", | ||
"description": "The person's husband or wife, if known.", | "description": "The person's husband or wife, if known. Do not wiki-link the name, the template will do this automatically.", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"suggested": true | "suggested": true | ||
Line 77: | Line 79: | ||
"children": { | "children": { | ||
"label": "Children", | "label": "Children", | ||
"description": "A list of the person's children, if known, in birth order.", | "description": "A list of the person's children, if known, in chronological birth order. You should include wikilink brackets for each person you list here.", | ||
"type": "content", | "type": "content", | ||
"suggested": true | "suggested": true, | ||
"example": "[[Achenar]], [[Sirrus]], [[Yeesha]]" | |||
} | } | ||
}, | }, | ||
Line 95: | Line 98: | ||
"children", | "children", | ||
"portrayed-by" | "portrayed-by" | ||
] | ], | ||
"format": "block" | |||
} | } | ||
</templatedata> | </templatedata> | ||
[[Category:People and person infobox templates]] | <includeonly>[[Category:People and person infobox templates]]</includeonly> |
Latest revision as of 19:50, 1 November 2019
Usage[edit source]
Include this template when creating an article about a person. Below is a list of all parameters and how they should be used. In all cases where information is unavailable, leave the parameter out rather than including text like "unknown".
If you are creating an article about a king, use Template:Infobox king instead.
Parameters[edit source]
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The person's name. This defaults to the page title, but can be overridden by specifying a different name in this parameter
| String | optional |
Image | image | A picture of the person. Only provide the file name itself. The "File:" thumbnail will be created 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). | Content | 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. Do not wiki-link the name, the template will do this automatically. | String | suggested |
Mother | mother | The person's mother, if known. Do not wiki-link the name, the template will do this automatically. | Page name | suggested |
Spouse | spouse | The person's husband or wife, if known. Do not wiki-link the name, the template will do this automatically. | Page name | suggested |
Children | children | A list of the person's children, if known, in chronological birth order. You should include wikilink brackets for each person you list here.
| Content | suggested |
Portrayed By | portrayed-by | The actor(s) who portrayed this person in various media representations. When possible, link to their IMDB profile.
| String | suggested |