Template:Infobox person/doc: Difference between revisions

From Guild of Archivists
mNo edit summary
No edit summary
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 king]] instead.
If you are creating an article about a king, use [[Template:Infobox king]] instead.
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}}"
"required": true
},
},
"image": {
"image": {
"label": "Image",
"label": "Image",
"description": "A picture of the person. Do not include File:, this will be supplied by the template.",
"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. You must include the <dni> tags.",
"description": "The person's name in Dnifont transliteration. You must include the <dni> tags.",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
"example": "<dni>Atrus</dni>"
},
},
"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": "wiki-page-name",
"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>


<includeonly>[[Category:People and person infobox templates]]</includeonly>
<includeonly>[[Category:People and person infobox templates]]</includeonly>

Revision as of 19:43, 1 November 2019

Usage

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

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

The person's name. This defaults to the page title, but can be overridden by specifying a different name in this parameter

Default
{{PAGENAME}}
Stringoptional
Imageimage

A picture of the person. Only provide the file name itself. The "File:" thumbnail will be created by the template.

Example
Gehn.jpg
Filesuggested
Image Captionimagecaption

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.

Stringsuggested
Racerace

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).

Contentrequired
D'ni namedni-name

The person's name in Dnifont transliteration. You must include the <dni> tags.

Example
<dni>Atrus</dni>
Stringsuggested
Bornborn

The person's date of birth. Be as precise as possible.

Datesuggested
Dieddied

The date of the person's death. Be as precise as possible.

Datesuggested
Fatherfather

The person's father, if known. Do not wiki-link the name, the template will do this automatically.

Stringsuggested
Mothermother

The person's mother, if known. Do not wiki-link the name, the template will do this automatically.

Page namesuggested
Spousespouse

The person's husband or wife, if known. Do not wiki-link the name, the template will do this automatically.

Page namesuggested
Childrenchildren

A list of the person's children, if known, in chronological birth order. You should include wikilink brackets for each person you list here.

Example
[[Achenar]], [[Sirrus]], [[Yeesha]]
Contentsuggested
Portrayed Byportrayed-by

The actor(s) who portrayed this person in various media representations. When possible, link to their IMDB profile.

Example
[https://www.imdb.com/name/nm0450463/ John Keston]
Stringsuggested