Template:Biography: Difference between revisions
mNo edit summary |
King Horror (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{Infobox|title={{{title1|{{{title|{{PAGENAME}}}}}}}}|image={{{image1|{{{image}}}}}}|content={{Infobox/row|Name|{{{name|}}}}}{{Infobox/row|Birth|{{{birth|}}}}}{{Infobox/row|Death|{{{death|}}}}}{{Infobox/row|Ability|{{{ability|}}}}}{{Infobox/row|Parents|{{{parents|}}}}}{{Infobox/row|Spouse|{{{spouse|}}}}}{{Infobox/row|Children|{{{children|}}}}}{{Infobox/row|Career|{{{career|}}}}}{{Infobox/row|Known for|{{{known_for|}}}}}}}</includeonly><noinclude> | <includeonly>{{Infobox|title={{{title1|{{{title|{{PAGENAME}}}}}}}}|image={{{image1|{{{image}}}}}}|content={{Infobox/row|Photo|{{{caption|}}}}}{{Infobox/row|Name|{{{name|}}}}}{{Infobox/row|Birth|{{{birth|}}}}}{{Infobox/row|Death|{{{death|}}}}}{{Infobox/row|Ability|{{{ability|}}}}}{{Infobox/row|Parents|{{{parents|}}}}}{{Infobox/row|Spouse|{{{spouse|}}}}}{{Infobox/row|Children|{{{children|}}}}}{{Infobox/row|Career|{{{career|}}}}}{{Infobox/row|Known for|{{{known_for|}}}}}}}</includeonly><noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 21: | Line 21: | ||
"description": "The character name. Omit this if it’s identical to the ‘title’.", | "description": "The character name. Omit this if it’s identical to the ‘title’.", | ||
"type": "string" | "type": "string" | ||
}, | |||
"caption": { | |||
"description": "photo caption (optional)" | |||
}, | }, | ||
"birth": { | "birth": { |
Revision as of 03:59, 21 July 2024
Template used to display biographies. Only the image is required. The title defaults to the pagename. For backwards-compatibility, ‘title1’ and ‘image1’ are also accepted instead of ‘title’ and ‘image’, respectively; ‘caption1’ is also accepted, but ignored (it may be used for hover text on the image in the future). Newer pages should always use the latter, and existing pages should be migrated to use the latter whenever they’re edited. To include additional character information in a page, use the ‘Character Sheet’ template (capitalisation matters!).
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title title1 (deprecated) | The name to show above the image. Defaults to the page name | String | optional |
image | image image1 (deprecated) | The image to show in the biography. | File | required |
name | name | The character name. Omit this if it’s identical to the ‘title’. | String | optional |
caption | caption | photo caption (optional) | Unknown | optional |
birth | birth | When this character was born | Unknown | optional |
death | death | When they (super-)died. Omit if they’re still alive. | Unknown | optional |
ability | ability | This characters *main* ability. Omit if they don’t have any. | Page name | optional |
parents | parents | This character’s parents. Omit if both (if applicable) are unknown. | Unknown | optional |
spouse | spouse | This character’s spouse, if any. | Unknown | optional |
children | children | This character’s children, if any. | Unknown | optional |
career | career | This character’s career, if they have one. | Unknown | optional |
known_for | known_for | Something they’re famous for or a defining characteristic of theirs. Can be as simple as e.g. ‘coffee’. | Unknown | optional |