Template:Infobox person/doc: Difference between revisions

From Guild of Archivists
(Created page with "==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...")
 
mNo edit summary
 
(8 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 D'ni king]] instead.
If you are creating an article about a king, use [[Template:Infobox king]] instead.


==Parameters==
==Parameters==
{| class="wikitable"
<templatedata>
! name
{
| The name of the person as used in the page title.
"params": {
|-
"name": {
! image
"label": "Name",
| ''Optional''<br />An image of the character or person, if available. Be sure to caption the image with the game or other media it's from, and set the size to 200px.
"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",
! imagecaption
"default": "{{PAGENAME}}"
| ''Optional''<br />A brief description of the supplied image (such as "Atrus in [[Riven (game)|Riven]]").
},
|-
"image": {
! race
"label": "Image",
| The character's race. For characters of mixed lineage, list their races by approximate fraction (e.g. 1/2 [[D'ni (race)|D'ni]], 1/2 Human)
"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",
! born
"suggested": true,
| The date of the person's birth. If left blank, "unknown" will be included automatically.
"example": "Gehn.jpg"
|-
},
! died
"imagecaption": {
| The date of the person's death. If left blank, "unknown" will be included automatically.
"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.",
! father
"type": "string",
| ''Optional''<br />The person's father, if known.
"suggested": true
|-
},
! mother
"race": {
| ''Optional''<br />The person's mother, if known.
"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).",
! children
"type": "content",
| ''Optional''<br />If this person had any children, list them here.
"required": true
|-
},
! dni-name
"dni-name": {
| ''Optional''<br />If this person was D'ni, or had a D'ni name, provide the text of their name using the [[Help:Using the D'ni font|D'ni font]] transliteration, and it will be included in D'ni text.
"label": "D'ni name",
|-
"description": "The person's name in Dnifont transliteration. Do not include the <dni> tags.",
! portrayed-by
"type": "string",
| ''Optional''<br />List all actors/actresses who have played this character, if applicable. If more than one person has portrayed this character, indicate which game or other media each actor/actress appears in.
"suggested": true,
|}
"example": "Atrus"
},
"portrayed-by": {
"label": "Portrayed By",
"description": "The actor(s) who portrayed this person in various media representations. When possible, link to their IMDB profile.",
"type": "string",
"suggested": true,
"example": "[https://www.imdb.com/name/nm0450463/ John Keston]"
},
"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. Do not wiki-link the name, the template will do this automatically.",
"type": "string",
"suggested": true
},
"mother": {
"label": "Mother",
"description": "The person's mother, if known. Do not wiki-link the name, the template will do this automatically.",
"type": "wiki-page-name",
"suggested": true
},
"spouse": {
"label": "Spouse",
"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",
"suggested": true
},
"children": {
"label": "Children",
"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",
"suggested": true,
"example": "[[Achenar]], [[Sirrus]], [[Yeesha]]"
}
},
"paramOrder": [
"name",
"image",
"imagecaption",
"race",
"dni-name",
"born",
"died",
"father",
"mother",
"spouse",
"children",
"portrayed-by"
],
"format": "block"
}
</templatedata>
 
<includeonly>[[Category:People and person infobox templates]]</includeonly>

Latest revision as of 19:50, 1 November 2019

Usage[edit]

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]

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. Do not include the <dni> tags.

Example
Atrus
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