Template:Character Sidebar: Difference between revisions

From LCARS
(Ten)
 
m (Adjusted formatting for retired officers)
 
(6 intermediate revisions by the same user not shown)
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 Jonathan Figgins, Sr., ret.<br />Diane Figgins
|spouse          = Commander Ellyssa Figgins, ret.
|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 15: Line 25:
|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 22: 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 Jonathan Figgins, Sr., ret.<br />Diane Figgins
|spouse          = Commander Ellyssa Figgins, ret.
|offspring      = Commander Beatrice Figgins
}}</pre>


[[Category:Templates|Sidebar, Player]]</noinclude>
[[Category:Templates|Sidebar, Character]]</noinclude>


<includeonly>{| class="sidebar"
<includeonly>{| class="sidebar"
Line 30: Line 51:
| 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:{{{species|}}}| {{!}} class="caption" {{!}}'''Species:'''
{{!}} {{{species}}}
{{!}}- }}
{{#if:{{{height|}}}| {{!}} class="caption" {{!}}'''Height:'''
{{!}} {{{height}}}
{{!}}- }}
{{#if:{{{rank|}}}| {{!}} class="caption" {{!}}'''Rank:'''
{{!}} {{{rank}}}
{{!}}- }}
{{#if:{{{position|}}}| {{!}} class="caption" {{!}}'''Position:'''
{{!}} {{{position}}}
{{!}}- }}
{{#if:{{{birth|}}}| {{!}} class="caption" {{!}}'''Born:'''
{{!}} {{{birth}}} 
{{!}}- }}
{{#if:{{{death|}}}| {{!}} class="caption" {{!}}'''Died:'''
{{!}} {{{death}}}
{{!}}- }}
{{#if:{{{parents|}}}| {{!}} class="caption" {{!}}'''Parents:'''
{{!}} {{{parents}}}  
{{!}}- }}
{{!}}- }}
{{#if:{{{char|}}}| {{!}} class="caption" {{!}}'''Primary Character:'''
{{#if:{{{siblings|}}}| {{!}} class="caption" {{!}}'''Siblings:'''
{{!}} {{{char}}}  
{{!}} {{{siblings}}}  
{{!}}- }}
{{!}}- }}
{{#if:{{{bday|}}}| {{!}} class="caption" {{!}}'''Birthday:'''
{{#if:{{{spouse|}}}| {{!}} class="caption" {{!}}'''Spouse:'''
{{!}} {{{bday}}}
{{!}} {{{spouse}}}  
{{!}}- }}
{{!}}- }}
{{#if:{{{loc|}}}| {{!}} class="caption" {{!}}'''Location:'''
{{#if:{{{offspring|}}}| {{!}} class="caption" {{!}}'''Offspring:'''
{{!}} {{{loc}}}  
{{!}} {{{offspring}}}  
}}
}}
|}</includeonly>
|}</includeonly>

Latest revision as of 09:46, 30 August 2019


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 Jonathan Figgins, Sr., ret.<br />Diane Figgins
|spouse          = Commander Ellyssa Figgins, ret.
|offspring       = Commander Beatrice Figgins
}}