Template:Character Sidebar: Difference between revisions

From LCARS
m (Character Sidebar. C H A R A C T E R S I D E B A R)
(Jack Figgins is the example)
Line 1: Line 1:
<noinclude>$_Example
<noinclude>{{Character Sidebar
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.
|image          = John barrowman - jack figgins crop.jpg
|img-alt        = Jonathan "Jack" Figgins, Jr.
|gender          = male
|species        = Human
|height          = 5'11"
|rank            = Rear Admiral
|position        = Commander, Fleet Operations, Eta Fleet
|birth          = September 6th, 2347<br />San Francisco, Earth
|parents        = Admiral Jon Figgings, retired<br />Diane Figgins
|spouse          = Commander Ellyssa Figgins, retired
|offspring      = Commander Beatrice Figgins
}}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.


<pre>{{Character Sidebar
<pre>{{Character Sidebar
Line 8: Line 19:
|species        = character's species
|species        = character's species
|height          = character's height
|height          = character's height
|weight          = character's weight
|rank            = character's current rank
|rank            = character's current rank
|position        = position character is currently serving
|position        = position character is currently serving
Line 21: Line 31:
The code for the provided sample looks like this:
The code for the provided sample looks like this:


<pre>$_ExampleCode</pre>
<pre>{{Character Sidebar
|image          = John barrowman - jack figgins crop.jpg
|img-alt        = Jonathan "Jack" Figgins, Jr.
|gender          = male
|species        = Human
|height          = 5'11"
|rank            = Rear Admiral
|position        = Commander, Fleet Operations, Eta Fleet
|birth          = September 6th, 2347<br />San Francisco, Earth
|parents        = Admiral Jon Figgings, retired<br />Diane Figgins
|spouse          = Commander Ellyssa Figgins, retired
|offspring      = Commander Beatrice Figgins
}}</pre>


[[Category:Templates|Sidebar, Player]]</noinclude>
[[Category:Templates|Sidebar, Player]]</noinclude>
Line 37: Line 59:
{{#if:{{{height|}}}| {{!}} class="caption" {{!}}'''Height:'''
{{#if:{{{height|}}}| {{!}} class="caption" {{!}}'''Height:'''
{{!}} {{{height}}}  
{{!}} {{{height}}}  
{{!}}- }}
{{#if:{{{weight|}}}| {{!}} class="caption" {{!}}'''Weight:'''
{{!}} {{{weight}}}
{{!}}- }}
{{!}}- }}
{{#if:{{{rank|}}}| {{!}} class="caption" {{!}}'''Rank:'''
{{#if:{{{rank|}}}| {{!}} class="caption" {{!}}'''Rank:'''
Line 57: Line 76:
{{!}}- }}
{{!}}- }}
{{#if:{{{siblings|}}}| {{!}} class="caption" {{!}}'''Siblings:'''
{{#if:{{{siblings|}}}| {{!}} class="caption" {{!}}'''Siblings:'''
{{!}} {{{siblings}}}
{{!}} {{{siblings}}}  
{{!}}- }}
{{#if:{{{spouse|}}}| {{!}} class="caption" {{!}}'''Spouse:'''
{{#if:{{{spouse|}}}| {{!}} class="caption" {{!}}'''Spouse:'''
{{!}} {{{spouse}}}  
{{!}} {{{spouse}}}  

Revision as of 16:53, 11 November 2017


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
|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:

{{Character Sidebar
|image           = John barrowman - jack figgins crop.jpg
|img-alt         = Jonathan "Jack" Figgins, Jr.
|gender          = male
|species         = Human
|height          = 5'11"
|rank            = Rear Admiral
|position        = Commander, Fleet Operations, Eta Fleet
|birth           = September 6th, 2347<br />San Francisco, Earth
|parents         = Admiral Jon Figgings, retired<br />Diane Figgins
|spouse          = Commander Ellyssa Figgins, retired
|offspring       = Commander Beatrice Figgins
}}