Template:Infobox person: Difference between revisions
m (Fixed D'ni name markup) |
(Removed need to include the <dni> tag when providing the dni-name parameter.) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| | |bodyclass=greeters | ||
|title = {{{name|{{PAGENAME}}}}} | |title = {{{name|{{PAGENAME}}}}} | ||
Line 10: | Line 9: | ||
|data1 = {{{race|unknown}}} | |data1 = {{{race|unknown}}} | ||
|label2 = Name in [[D'ni (language)|D'ni]] | |label2 = Name in [[D'ni (language)|D'ni]] | ||
|data2 = {{ #if: {{{dni-name|}}} | < | |data2 = {{ #if: {{{dni-name|}}} | <dni>{{{dni-name}}}</dni> }} | ||
|label10 = Portrayed by | |label10 = Portrayed by | ||
|data10 = {{{portrayed-by|}}} | |data10 = {{{portrayed-by|}}} | ||
Line 20: | Line 19: | ||
|data5 = {{{died|}}} | |data5 = {{{died|}}} | ||
|label6 = Father | |label6 = Father | ||
|data6 = {{{father|}}} | |data6 = {{ #if: {{{father|}}} | [[Father::{{{father|}}}]] }} | ||
|label7 = Mother | |label7 = Mother | ||
|data7 = {{{mother|}}} | |data7 = {{ #if: {{{mother|}}} | [[Mother::{{{mother|}}}]] }} | ||
|label8 = Spouse | |label8 = Spouse | ||
|data8 = {{{spouse|}}} | |data8 = {{ #if: {{{spouse|}}} | [[Spouse::{{{spouse|}}}]] }} | ||
|label9 = Children | |label9 = Children | ||
|data9 = {{{children|}}} | |data9 = {{{children|}}} |
Latest revision as of 19:48, 1 November 2019
Race | unknown |
---|
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 |
The above documentation is transcluded from Template:Infobox person/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |