Template:Infobox person/doc: Difference between revisions

From Guild of Archivists
No edit summary
No edit summary
Line 5: Line 5:


==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.",
|-
"type": "string",
! imagecaption
"default": "{{PAGENAME}}",
| ''Optional''<br />A brief description of the supplied image (such as "Atrus in [[Riven (game)|Riven]]").
"required": true
|-
},
! race
"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)
"label": "Image",
|-
"description": "A picture of the person. Do not include File:, this will be supplied by the template.",
! born
"type": "wiki-file-name",
| The date of the person's birth. If left blank, "unknown" will be included automatically.
"suggested": true
|-
},
! 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": "wiki-page-name",
| ''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
|}
},
"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.

Template parameters

ParameterDescriptionTypeStatus
Namename

The person's name.

Default
{{PAGENAME}}
Stringrequired
Imageimage

A picture of the person. Do not include File:, this will be supplied by the template.

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

Page namerequired
D'ni namedni-name

The person's name in Dnifont transliteration. Do not include the <dni> tags.

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.

Page namesuggested
Mothermother

The person's mother, if known.

Page namesuggested
Spousespouse

The person's husband or wife, if known.

Page namesuggested
Childrenchildren

A list of the person's children, if known, in birth order.

Stringsuggested
Portrayed Byportrayed-by

The actor(s) who portrayed this person in various media representations.

Stringsuggested