Editing Template:Character Data
Template page
More actions
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 66: | Line 66: | ||
| '''Parents''' | | '''Parents''' | ||
| {{{parents}}} | | {{{parents}}} | ||
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{siblings|}}}|Y|}}" | |- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{siblings|}}}|Y|}}" | ||
| '''Siblings''' | | '''Siblings''' | ||
| Line 142: | Line 139: | ||
=== Relationships === | === Relationships === | ||
* '''parents / siblings / children''': General lists for the infobox. These allow wikilinks, line breaks, and notes (e.g., <code>†</code>). | * '''parents / siblings / children''': General lists for the infobox. These allow wikilinks, line breaks, and notes (e.g., <code>†</code>). | ||
* '''marital status''': Marital condition (Single, Married, Widowed). | * '''marital status''': Marital condition (Single, Married, Widowed). | ||
* '''familytree''': Set to '''Y''' to add a "View" link that jumps to the article's <code>#Family tree</code> section. | * '''familytree''': Set to '''Y''' to add a "View" link that jumps to the article's <code>#Family tree</code> section. | ||
| Line 170: | Line 166: | ||
* '''gender''': '''M''' or '''F'''. Critical for tree logic and icons. | * '''gender''': '''M''' or '''F'''. Critical for tree logic and icons. | ||
* '''parent 1 / parent 2''': Exact page name of biological parents. | * '''parent 1 / parent 2''': Exact page name of biological parents. | ||
* '''spouse''': Exact page name of a partner for marriage lines. | * '''spouse''': Exact page name of a partner for marriage lines. | ||
* '''gen_birthdate''': A clean year/date (e.g., <code>31 BCH</code>) to appear inside tree nodes. | * '''gen_birthdate''': A clean year/date (e.g., <code>31 BCH</code>) to appear inside tree nodes. | ||
== | == Example == | ||
<pre> | <pre> | ||
{{Character Data | {{Character Data | ||
| Line 187: | Line 180: | ||
| rank = Captain | | rank = Captain | ||
| actor = [[Richard Hatch]] | | actor = [[Richard Hatch]] | ||
}} | }} | ||
</pre> | </pre> | ||
| Line 211: | Line 192: | ||
"caption 2": {}, | "caption 2": {}, | ||
"gender": { "label": "Gender (M/F)", "description": "M or F. Required for Genealogy.", "suggested": true }, | "gender": { "label": "Gender (M/F)", "description": "M or F. Required for Genealogy.", "suggested": true }, | ||
"parent 1": { "label": "Genealogy Parent 1", "description": "Exact page name | "parent 1": { "label": "Genealogy Parent 1", "description": "Exact page name." }, | ||
"parent 2": { "label": "Genealogy Parent 2", "description": "Exact page name." }, | |||
" | |||
"spouse": { "label": "Genealogy Spouse", "description": "Exact page name." }, | "spouse": { "label": "Genealogy Spouse", "description": "Exact page name." }, | ||
"gen_birthdate": { "label": "Clean Birth Date" }, | "gen_birthdate": { "label": "Clean Birth Date" }, | ||
| Line 229: | Line 208: | ||
"death": {}, | "death": {}, | ||
"parents": { "label": "Visual Parents List" }, | "parents": { "label": "Visual Parents List" }, | ||
"siblings": {}, | "siblings": {}, | ||
"children": {}, | "children": {}, | ||
| Line 250: | Line 228: | ||
"spoilers": { "description": "Set to Y to hide spoiler rows." } | "spoilers": { "description": "Set to Y to hide spoiler rows." } | ||
}, | }, | ||
"description": "Comprehensive character infobox with Extension:Genealogy support | "description": "Comprehensive character infobox with Extension:Genealogy support." | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||