Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Editing Template:Character Data

Template page
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
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 1: Line 1:
<includeonly><div style="display:none;">{{#if:{{{gender|}}}|{{#genealogy:person|gender={{{gender}}}}}}}{{#if:{{{deceased|}}}|{{#genealogy:person|deceased={{{deceased}}}}}}}{{#if:{{{gen_birthdate|{{{birthdate|}}}}}}|{{#genealogy:description|{{{gen_birthdate|{{{birthdate}}}}}}}}}}{{#if:{{{spouse|}}}|{{#genealogy:partner|{{{spouse}}}}}}}{{#if:{{{spouse1|}}}|{{#genealogy:partner|{{{spouse1}}}}}}}{{#if:{{{spouse2|}}}|{{#genealogy:partner|{{{spouse2}}}}}}}{{#if:{{{spouse3|}}}|{{#genealogy:partner|{{{spouse3}}}}}}}{{#if:{{{parent 1|}}}|{{#genealogy:parent|{{{parent 1}}}}}}}{{#if:{{{parent 2|}}}|{{#genealogy:parent|{{{parent 2}}}}}}}{{#if:{{{step_parent 1|}}}|{{#genealogy:step_parent|{{{step_parent 1}}}}}}}{{#if:{{{step_parent 2|}}}|{{#genealogy:step_parent|{{{step_parent 2}}}}}}}</div>
<includeonly>{{#if:{{{gender|}}}|{{#genealogy:person|gender={{{gender}}}}}}}{{#if:{{{gen_birthdate|{{{birthdate|}}}}}}|{{#genealogy:description|{{{gen_birthdate|{{{birthdate}}}}}}}}}}{{#if:{{{spouse|}}}|{{#genealogy:partner|{{{spouse}}}}}}}{{#if:{{{spouse1|}}}|{{#genealogy:partner|{{{spouse1}}}}}}}{{#if:{{{spouse2|}}}|{{#genealogy:partner|{{{spouse2}}}}}}}{{#if:{{{spouse3|}}}|{{#genealogy:partner|{{{spouse3}}}}}}}{{#if:{{{parent 1|}}}|{{#genealogy:parent|{{{parent 1}}}}}}}{{#if:{{{parent 2|}}}|{{#genealogy:parent|{{{parent 2}}}}}}}{{#if:{{{step_parent 1|}}}|{{#genealogy:step_parent|{{{step_parent 1}}}}}}}{{#if:{{{step_parent 2|}}}|{{#genealogy:step_parent|{{{step_parent 2}}}}}}}
{| class="infobox" cellspacing="5"
{| class="infobox" cellspacing="5"
|- class="infoboxheader"
|- class="infoboxheader"
Line 10: Line 10:
| style="text-align: center;" | '''{{{title|{{PAGENAME}}}}}'''
| style="text-align: center;" | '''{{{title|{{PAGENAME}}}}}'''
|}
|}
{{#if:{{{photo|}}}|{{!}}-
|-
{{!}} colspan="2" style="text-align: center;" {{!}}{{#if:{{{photo 2|}}}|{{#tag:tabber|{{{photo_label|Image 1}}} = [[File:{{#invoke:FileCleaner|main|{{{photo}}}}}|290px|{{{title|{{PAGENAME}}}}}]] {{#if:{{{caption|}}}|<br/>{{{caption}}}|}}{{!}}-{{!}}{{{photo 2_label|Image 2}}} = [[File:{{#invoke:FileCleaner|main|{{{photo 2}}}}}|290px|{{{title|{{PAGENAME}}}}}]] {{#if:{{{caption 2|}}}|<br/>{{{caption 2}}}|}}{{#if:{{{photo 3|}}}|{{!}}-{{!}}{{{photo 3_label|Image 3}}} = [[File:{{#invoke:FileCleaner|main|{{{photo 3}}}}}|290px|{{{title|{{PAGENAME}}}}}]] {{#if:{{{caption 3|}}}|<br/>{{{caption 3}}}|}}}}{{#if:{{{photo 4|}}}|{{!}}-{{!}}{{{photo 4_label|Image 4}}} = [[File:{{#invoke:FileCleaner|main|{{{photo 4}}}}}|290px|{{{title|{{PAGENAME}}}}}]] {{#if:{{{caption 4|}}}|<br/>{{{caption 4}}}|}}}}}}|[[File:{{#invoke:FileCleaner|main|{{{photo}}}}}|300px|{{{title|{{PAGENAME}}}}}]] {{#if:{{{caption|}}}|<br/>{{{caption}}}|}}}}}}
{{#if:{{{photo|}}}|
{{!}} colspan="2" style="text-align: center;" {{!}} [[File:{{{photo}}}|300px|{{{title|{{PAGENAME}}}}}]] {{#if:{{{caption|}}}|<br/> {{{caption}}}|}}
}}
|- {{#if:{{{spoilers|}}}||style="display:none;"}}
|- {{#if:{{{spoilers|}}}||style="display:none;"}}
| colspan="2" style="text-align:center;" | <span class="mw-customtoggle-infobox" style="color: var(--color-link); cursor: pointer;">[show/hide spoilers]</span><br/><small>Spoilers hidden in infobox by default.</small>
| colspan="2" style="text-align:center;" | <span class="mw-customtoggle-infobox" style="color: var(--color-link); cursor: pointer;">[show/hide spoilers]</span><br/><small>Spoilers hidden in infobox by default.</small>
Line 41: Line 43:
| {{{nickname}}}
| {{{nickname}}}
|- style="vertical-align: top; text-align: left;" {{#if:{{{seen|}}}{{{seenref|}}}||style="display:none;"}}
|- style="vertical-align: top; text-align: left;" {{#if:{{{seen|}}}{{{seenref|}}}||style="display:none;"}}
| style="white-space: nowrap;" | '''{{#if:{{{seen|}}}|{{#ifeq:{{{seen}}}|{{{lastseen|}}}|Only Appearance|Introduced}}|Introduced}}'''
| style="white-space: nowrap;" | '''Introduced'''
| {{#if:{{{seenref|}}}|{{{seenref}}}|{{#if:{{{pseen|}}}|[[{{{seen}}}|{{{pseen}}}]]|[[{{{seen}}}]]}}}}
| {{#if:{{{seenref|}}}|{{{seenref}}}|{{#if:{{{pseen|}}}|[[{{{seen}}}|{{{pseen}}}]]|[[{{{seen}}}]]}}}}
|- style="vertical-align: top; text-align: left;" {{#if:{{#ifeq:{{{seen|}}}|{{{lastseen|}}}||{{{lastseen|}}}{{{lastseenref|}}}}}|id="mw-customcollapsible-infobox" class="{{#if:{{{spoilers|}}}|mw-collapsible mw-collapsed|}}"|style="display:none;"}}
|- style="vertical-align: top; text-align: left;" {{#if:{{{lastseen|}}}{{{lastseenref|}}}|id="mw-customcollapsible-infobox" class="{{#if:{{{spoilers|}}}|mw-collapsible mw-collapsed|}}"|style="display:none;"}}
| '''Last Appearance'''
| '''Last Appearance'''
| {{#if:{{{lastseenref|}}}|{{{lastseenref}}}|{{#if:{{{plastseen|}}}|[[{{{lastseen}}}|{{{plastseen}}}]]|[[{{{lastseen}}}]]}}}}
| {{#if:{{{lastseenref|}}}|{{{lastseenref}}}|{{#if:{{{plastseen|}}}|[[{{{lastseen}}}|{{{plastseen}}}]]|[[{{{lastseen}}}]]}}}}
Line 105: Line 107:
{{#if:{{{primecon|}}}|
{{#if:{{{primecon|}}}|
{{!}} colspan="2" {{!}} [[{{{primecon title|{{{title|{{PAGENAME}}}}} {{#if:{{{series|}}}|({{{series|}}})|}}}}}|{{#if:{{{primecon title|}}}|{{#explode:{{{primecon title}}}|(|0}}|{{{title|{{PAGENAME}}}}}}} in the primary continuity]]
{{!}} colspan="2" {{!}} [[{{{primecon title|{{{title|{{PAGENAME}}}}} {{#if:{{{series|}}}|({{{series|}}})|}}}}}|{{#if:{{{primecon title|}}}|{{#explode:{{{primecon title}}}|(|0}}|{{{title|{{PAGENAME}}}}}}} in the primary continuity]]
}}
|-
{{#if:{{{photo 2|}}}|
{{!}} colspan="2" style="text-align: center;" {{!}} [[File:{{{photo 2}}}|300px|{{{title|{{PAGENAME}}}}}]] {{#if:{{{caption 2|}}}|<br/> {{{caption 2}}}|}}
}}
}}
|-
|-
Line 111: Line 117:
}}
}}
|}{{#if:{{{sortkey|}}}|{{DEFAULTSORT:{{{sortkey}}}}}}}</includeonly><noinclude>
|}{{#if:{{{sortkey|}}}|{{DEFAULTSORT:{{{sortkey}}}}}}}</includeonly><noinclude>
{{Documentation}}


= Documentation =
= Documentation =
Line 120: Line 127:
* '''title''': The name displayed at the top. Defaults to the page name.
* '''title''': The name displayed at the top. Defaults to the page name.
* '''series / series 2 / series 3''': Determines which series icons (e.g., RDM, TOS, CAP) appear in the header. Supports up to three icons for characters appearing across multiple continuities.
* '''series / series 2 / series 3''': Determines which series icons (e.g., RDM, TOS, CAP) appear in the header. Supports up to three icons for characters appearing across multiple continuities.
* '''photo / photo 2 / photo 3 / photo 4''': The filename of the character image(s).
* '''photo / photo 2''': The filename of the character image(s).
* '''photo_label / photo 2_label / photo 3_label / photo 4_label''': The (short) tab label to use for the tabber that aligns with the character image(s).
* '''caption / caption 2''': The text displayed directly beneath the photo(s).
* '''caption / caption 2 / caption 3 / caption 4''': The text displayed directly beneath the photo(s).
* '''sortkey''': Used for category alphabetization (e.g., <code>Adama, William</code>).
* '''sortkey''': Used for category alphabetization (e.g., <code>Adama, William</code>).
* '''spoilers''': Set to **Y** to wrap sensitive rows (Death, Last Appearance, etc.) in a collapsible spoiler toggle.
* '''spoilers''': Set to **Y** to wrap sensitive rows (Death, Last Appearance, etc.) in a collapsible spoiler toggle.
Line 170: Line 176:
These fields populate the database for <code><nowiki>{{#genealogy:tree}}</nowiki></code>.
These fields populate the database for <code><nowiki>{{#genealogy:tree}}</nowiki></code>.
* '''gender''': **M** or **F**. Required for icons.
* '''gender''': **M** or **F**. Required for icons.
* '''deceased''': '''y''' or '''true'''
* '''parent 1 / parent 2''': Exact page names of biological parents.
* '''parent 1 / parent 2''': Exact page names of biological parents.
* '''step_parent 1 / step_parent 2''': Exact page names of step-parents.
* '''step_parent 1 / step_parent 2''': Exact page names of step-parents.
Line 182: Line 187:
"title": { "label": "Title", "description": "Defaults to PAGENAME" },
"title": { "label": "Title", "description": "Defaults to PAGENAME" },
"photo": { "type": "wiki-file-name", "label": "Main Image" },
"photo": { "type": "wiki-file-name", "label": "Main Image" },
"photo 2": { "type": "wiki-file-name", "label": "Secondary Image" },
"caption": { "label": "Caption" },
"caption": { "label": "Caption" },
"photo_label": { "label": "First Image Tab Label", "default": "Image 3" },
"caption 2": { "label": "Secondary Caption" },
"caption": { "label": "First Image Caption" },
"photo 2": { "type": "wiki-file-name", "label": "Second Image" },
"photo 2_label": { "label": "Second Image Tab Label", "default": "Image 3" },
"caption 2": { "label": "Second Image Caption" },
"photo 3": { "type": "wiki-file-name", "label": "Third Image" },
"photo 3_label": { "label": "Third Image Tab Label", "default": "Image 3" },
"caption 3": { "label": "Third Image Caption" },
"photo 4": { "type": "wiki-file-name", "label": "Fourth Image" },
"photo 4_label": { "label": "Fourth Image Tab Label", "default": "Image 4" },
"caption 4": { "label": "Fourth Image Caption" },
"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": { "type": "wiki-page-name", "label": "Genealogy Parent 1" },
"parent 1": { "type": "wiki-page-name", "label": "Genealogy Parent 1" },
Line 218: Line 214:
"lastseenref": { "label": "Last Appearance Custom Ref" },
"lastseenref": { "label": "Last Appearance Custom Ref" },
"death": { "label": "Death" },
"death": { "label": "Death" },
"deceased": { "label": "Deceased", "description": "'y' or 'true'; leave blank if not deceased. Required for Genealogy.", "suggested": true },
"parents": { "label": "Visual Parents List" },
"parents": { "label": "Visual Parents List" },
"step_parents": { "label": "Visual Step-Parents List" },
"step_parents": { "label": "Visual Step-Parents List" },

To edit this page, please enter the words that appear below in the box (more info):

Refresh
Cancel Editing help (opens in new window)

  [] · [[]] · [[|]] · {{}} · · “” ‘’ «» ‹› „“ ‚‘ · ~ | ° &nbsp; · ± × ÷ ² ³ ½ · §
     [[Category:]] · [[:File:]] · [[Special:MyLanguage/]] · <code></code> · <nowiki></nowiki> <code><nowiki></nowiki></code> · <syntaxhighlight></syntaxhighlight> · <includeonly></includeonly> · <noinclude></noinclude> · #REDIRECT[[]] · <translate></translate> · <languages/> · {{#translation:}} · <tvar|></> · {{DEFAULTSORT:}} · <categorytree></categorytree> · <div style="clear:both;"></div> <s></s>


Your changes will be visible immediately.
  • For testing, please use the sandbox instead.
  • On talk pages, please sign your comment by typing four tildes (~~~~).