Template:Character Sidebar: Difference between revisions

From LCARS
(Ten)
 
m (Character Sidebar. C H A R A C T E R S I D E B A R)
Line 15: Line 15:
|parents        = list parents here
|parents        = list parents here
|siblings        = list siblings here
|siblings        = list siblings here
|marital-status  = single, married, engaged, etc...
|spouse          = list spouses, current and past here
|spouse          = list spouses, current and past here
|offspring      = list child(ren) here
|offspring      = list child(ren) here
Line 30: Line 29:
| colspan="2" align="center" |{{#if:{{{image|}}}| [[Image:{{{image}}}{{!}}{{{img-alt}}}{{!}}200px]]<br />}} {{#if:{{{img-alt|}}}| <span class="sb-name">{{{img-alt}}}</span> }}
| colspan="2" align="center" |{{#if:{{{image|}}}| [[Image:{{{image}}}{{!}}{{{img-alt}}}{{!}}200px]]<br />}} {{#if:{{{img-alt|}}}| <span class="sb-name">{{{img-alt}}}</span> }}
|-  
|-  
{{#if:{{{telegram|}}}| {{!}} class="caption" {{!}}'''Telegram:'''
{{#if:{{{gender|}}}| {{!}} class="caption" {{!}}'''Gender:'''
{{!}} [https://telegram.me/{{{telegram}}} @{{{telegram}}}]
{{!}} {{{gender}}}  
{{!}}- }}
{{!}}- }}
{{#if:{{{char|}}}| {{!}} class="caption" {{!}}'''Primary Character:'''
{{#if:{{{species|}}}| {{!}} class="caption" {{!}}'''Species:'''
{{!}} {{{char}}}  
{{!}} {{{species}}}
{{!}}- }}
{{!}}- }}
{{#if:{{{bday|}}}| {{!}} class="caption" {{!}}'''Birthday:'''
{{#if:{{{height|}}}| {{!}} class="caption" {{!}}'''Height:'''
{{!}} {{{bday}}}
{{!}} {{{height}}}  
{{!}}- }}
{{!}}- }}
{{#if:{{{loc|}}}| {{!}} class="caption" {{!}}'''Location:'''
{{#if:{{{weight|}}}| {{!}} class="caption" {{!}}'''Weight:'''
{{!}} {{{loc}}}  
{{!}} {{{weight}}}
{{!}}- }}
{{#if:{{{rank|}}}| {{!}} class="caption" {{!}}'''Rank:'''
{{!}} {{{rank}}}
{{!}}- }}
{{#if:{{{position|}}}| {{!}} class="caption" {{!}}'''Position:'''
{{!}} {{{position}}}
{{!}}- }}
{{#if:{{{birth|}}}| {{!}} class="caption" {{!}}'''Born:'''
{{!}} {{{birtht}}} 
{{!}}- }}
{{#if:{{{death|}}}| {{!}} class="caption" {{!}}'''Died:'''
{{!}} {{{death}}}
{{!}}- }}
{{#if:{{{parents|}}}| {{!}} class="caption" {{!}}'''Parents:'''
{{!}} {{{partents}}} 
{{!}}- }}
{{#if:{{{siblings|}}}| {{!}} class="caption" {{!}}'''Siblings:'''
{{!}} {{{siblings}}} 
{{#if:{{{spouse|}}}| {{!}} class="caption" {{!}}'''Spouse:'''
{{!}} {{{spouse}}}
{{!}}- }}
{{#if:{{{offspring|}}}| {{!}} class="caption" {{!}}'''Offspring:'''
{{!}} {{{offspring}}}  
}}
}}
|}</includeonly>
|}</includeonly>

Revision as of 16:07, 11 November 2017

$_Example Provided below is the template for the character sidebar, with an example of what it should look like. Please include this on character pages, and fill in the parameters as much as you can. Anything you do not wish to share or does not apply, feel free to remove from the code for you page. If you add information later, it does not matter what order the variables are in.

{{Character Sidebar
|image           = file name
|img-alt         = character's full name
|gender          = character's gender
|species         = character's species
|height          = character's height
|weight          = character's weight
|rank            = character's current rank
|position        = position character is currently serving
|birth           = date and location born
|death           = date of death
|parents         = list parents here
|siblings        = list siblings here
|spouse          = list spouses, current and past here
|offspring       = list child(ren) here
}}

The code for the provided sample looks like this:

$_ExampleCode