Template:Sidebar: Difference between revisions

Jump to navigation Jump to search
added non-Starfleet character example, showing use of None pipstyle, etc.
No edit summary
(added non-Starfleet character example, showing use of None pipstyle, etc.)
(40 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{| class="toc" style="margin: 0 0 1em 1em;" align="right" width=240
<includeonly>{| class="infobox" style="margin: 0 0 1em 1em;" width=240 align="right"
!colspan=100% style="background:{{Color|{{{COLOR|}}}}}"|<font color="white">{{{SHIP}}}
!colspan=100% style="background:{{Color|{{{COLOR|}}}}}" class="whitelinks"|<font color="white">{{{SHIP|}}}
|-
|-
!colspan=100%|
!colspan=100% style="background:black"|{{Portrait|{{{IMAGE|}}}}}{{#switch:{{{PIPSTYLE|}}}|None=|NONE=|none=|<br>{{Pips2Collar|{{{RANK|}}}|{{{COLOR|}}}|{{{PIPSTYLE|}}}}}}}
{{Portrait|{{{IMAGE|}}}}}
|-
|-
!colspan=100% style="background:{{Color|{{{COLOR|}}}}}"|<font color="white">{{{NAME}}}
!colspan=100% style="background:{{Color|{{{COLOR|}}}}}" class="whitelinks"|<font color="white">{{{NAME|}}}
|-
|colspan=100% style="background:black" align=right|{{Pips2Collar|{{{RANK}}}|{{{COLOR}}}|{{{PIPSTYLE}}}}}
|-
|-
| colspan=100% style="font-size: 90%" |
| colspan=100% style="font-size: 90%" |
|- style="vertical-align:top; background:#f0f0f0;"
|- style="vertical-align:top; background:#f0f0f0;"
|'''Gender'''
|'''Position'''
|{{{GENDER}}}
|{{{POST|}}}
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|'''Position'''
|'''Rank'''
|{{{POST}}}
|{{{RANK|}}}
|- style="vertical-align:top; background:#f0f0f0;"
|- style="vertical-align:top; background:#f0f0f0;"
|'''Rank'''
|'''Species'''
|{{{RANK}}}
|{{{SPECIES|}}}
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|'''Species'''
|'''Gender'''
|{{{SPECIES}}}
|{{{GENDER|}}}
|- style="vertical-align:top; background:#f0f0f0;"
|- style="vertical-align:top; background:#f0f0f0;"
|'''DOB'''
|'''DOB'''
|{{{BIRTHYEAR}}}{{{BIRTHMONTH}}}.{{{BIRTHDATE}}}
|{{DOB|{{{ALTERNATEBIRTHYEAR|{{{BIRTHYEAR|}}}}}}|{{{BIRTHMONTH|}}}|{{{BIRTHDATE|}}}}}
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|'''Age'''
|'''Age'''
|{{Age|{{{BIRTHYEAR|}}}|{{{BIRTHMONTH|}}}|{{{BIRTHDATE|}}}}}
|{{Agecheck|{{{BIRTHYEAR|}}}|{{{BIRTHMONTH|}}}|{{{BIRTHDATE|}}}}} {{#if:{{{ALTERNATEBIRTHYEAR|}}}|<small>(age discrepancy due to temporal incident)</small>|}}
|- style="vertical-align:top; background:#f0f0f0;"
|- style="vertical-align:top; background:#f0f0f0;"
|'''Birthplace'''
|'''Birthplace'''
|{{{BIRTHPLACE}}}
|{{{BIRTHPLACE|}}}
{{#if: {{{AUTHOR|}}}|
{{!-}} style{{=}}"vertical-align:top;"
{{!}}'''Writer ID'''
{{!}}[[{{{AUTHOR|}}}]]|}}
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|colspan=100% align=center|{{{EXTRA|}}}
|colspan=100%|
{|align=center
|
{{{EXTRA|}}}
|}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
{{Sidebar
{{Sidebar
|NAME = Harry Kim
|NAME = Msafiri Bakari
|SHIP = USS Voyager
|SHIP = Deep Space 10
|RANK = Ensign
|RANK = Lt. Commander
|PIPSTYLE = Default
|PIPSTYLE = Default
|POST = Operations Officer
|POST = Criminal Investigator
|COLOR = Gold
|COLOR = Gold
|SPECIES = Human
|SPECIES = Human
|GENDER = Male
|GENDER = Male
|BIRTHMONTH = 01
|BIRTHMONTH = 01
|BIRTHDATE = 01
|BIRTHDATE = 17
|BIRTHYEAR = 2349
|BIRTHYEAR = 2360
|BIRTHPLACE = South Carolina, Earth
|BIRTHPLACE = Colony 1, Martian Colonies
|IMAGE =
|IMAGE = Msafiri bakari.jpg
|AUTHOR = I238705TZ0
|EXTRA =
|EXTRA =
}}
}}
:''For deceased characters or those confirmed killed in action, use [[Template:Sidebar KIA]].''
:''For characters officially listed as missing in action, use [[Template:Sidebar MIA]].''
===Usage instructions===
===Usage instructions===
This sidebar template is used with the [[:Template:StarterBio]], but this can also be used by itself.
This sidebar template is used with the [[:Template:StarterBio]], but this can also be used by itself.


Paste the following code into the top of an article and then take out Harry Kim's info and put in your own character's information. Valid colors are Red, Gold, Blue, Teal, Violet, Black, Silver, and Green. Remember those colors as we'll be using them for the section headers in the rest of this bio.
Paste the following code into the top of an article and then take out Bakari's info and put in your own character's information. Valid colors are '''<font color=maroon>Red</font>, <font color=darkgoldenrod>Gold</font>, <font color=steelblue>Blue</font>, <font color=teal>Teal</font>, <font color=purple>Violet</font>, <font color=black>Black</font>, <font color=dimgray>Silver</font>, <font color=darkgreen>Green</font>'''.


Not all ranks are available in all colors. Use full rank names (except for Lieuenant JG and Lt. Commander, and Lt. Colonel). Pipstyle can be changed from Default to DS9, STO, or Slanted. See the table later in this bio for examples of each.
Not all ranks are available in all colors. Use full rank names (except for Lieutenant JG and Lt. Commander, and Lt. Colonel).
 
*Pipstyle can be changed from '''Default''' to '''DS9''' or '''Slanted'''. See [[Template:Pips]] for list of all styles.
*If your character is a civilian or has a rank/title that isn't available as a pip graphic, you can specify pipstyle to '''None''', and the pip graphic will not be displayed.


For date of birth, add a leading zero for single digit months and dates. The sidebar will automatically calculate your character's age as well.
For date of birth, add a leading zero for single digit months and dates. The sidebar will automatically calculate your character's age as well.
*'''If your character is KIA or otherwise deceased, use [[Template:Sidebar KIA]].'''
*'''If your character is MIA, use [[Template:Sidebar MIA]].'''
===Image===
If you have an image for your character, add the file name for it such as EnsignSmith.jpg in the last field.
<font color=red>'''Do NOT put <nowiki>[[ or ]]</nowiki> or File: in the name. The template will automatically resize your image to fit the sidebar.'''</font>
If you don't have an image for your character, just leave that field blank and a placeholder will show up instead. You can use the "EXTRA" field if you want to add something else to the bottom of your sidebar such as another image, a badge such as the Featured Bio Contest winner badge or links to subpages such as an academy transcript or a medical record. If you don't want to add anything, just leave it blank as well.
===Author/Writer ID Number===
Add AUTHOR= to include the OOC [[writer ID]] number (different from the IC serial number system) of the character's author. Leave it blank, and the field won't show up.


If you have an image for your character, add the file name for it such as EnsignSmith.jpg in the last field. If you don't have an image for your character, just leave that field blank and a placeholder will show up instead. You can use the "EXTRA" field if you want to add something else to the bottom of your sidebar such as another image, a badge such as the Featured Bio Contest winner badge or links to subpages such as an academy transcript or a medical record. If you don't want to add anything, just leave it blank as well.
===Examples===
<pre>
<pre>
{{Sidebar
{{Sidebar
|NAME = Harry Kim
|NAME = Msafiri Bakari
|SHIP = USS Voyager
|SHIP = Deep Space 10
|RANK = Ensign
|RANK = Lt. Commander
|PIPSTYLE = Default
|PIPSTYLE = Default
|POST = Operations Officer
|POST = Criminal Investigator
|COLOR = Gold
|COLOR = Gold
|SPECIES = Human
|SPECIES = Human
|GENDER = Male
|GENDER = Male
|BIRTHMONTH = 01
|BIRTHMONTH = 01
|BIRTHDATE = 01
|BIRTHDATE = 17
|BIRTHYEAR = 2349
|BIRTHYEAR = 2360
|BIRTHPLACE = South Carolina, Earth
|BIRTHPLACE = Colony 1, Martian Colonies
|IMAGE =
|IMAGE = Msafiri bakari.jpg
|AUTHOR = I238705TZ0
|EXTRA =
}}</pre>
<br clear=all>
===Using [[Template:Ribbons Rack]] to display ribbons===
{{Sidebar
|NAME = Ayelet Kadosh
|SHIP = Deep Space 17
|RANK = Lieutenant JG
|PIPSTYLE = DS9
|POST = Nurse
|COLOR = Teal
|SPECIES = Human
|GENDER = Female
|BIRTHMONTH = 08
|BIRTHDATE = 18
|BIRTHYEAR = 2353
|BIRTHPLACE = Haifa, Earth
|IMAGE = Ayelet kadosh.jpg
|EXTRA =
{{Ribbons Rack
|TOSMA|1
|Legion of Merit|4
|Silver Star|7
|Purple Heart|2
|Vaadwaur Invasion Campaign Ribbon|1
|Gold Lifesaving Ribbon|2r
}}
}}
 
<pre>
{{Sidebar
|NAME = Ayelet Kadosh
|SHIP = Deep Space 17
|RANK = Lieutenant JG
|PIPSTYLE = DS9
|POST = Nurse
|COLOR = Teal
|SPECIES = Human
|GENDER = Female
|BIRTHMONTH = 08
|BIRTHDATE = 18
|BIRTHYEAR = 2353
|BIRTHPLACE = Haifa, Earth
|IMAGE = Ayelet kadosh.jpg
|EXTRA =
|EXTRA =
{{Ribbons Rack
|TOSMA|1
|Legion of Merit|4
|Silver Star|7
|Purple Heart|2
|Vaadwaur Invasion Campaign Ribbon|1
|Gold Lifesaving Ribbon|2r
}}
}}</pre>
<br clear=all>
===Including links to Academy Transcript and Medical Record===
{{Sidebar
|NAME = Danielle Vistain
|SHIP = USS Independence-A
|RANK = Ensign
|PIPSTYLE = Slanted
|POST = Engineer - Shuttlebay Ops
|COLOR = Gold
|SPECIES = Human
|GENDER = Female
|BIRTHMONTH = 03
|BIRTHDATE = 13
|BIRTHYEAR = 2365
|BIRTHPLACE = Detroit, Earth
|IMAGE = Daniellevistain.jpg
|EXTRA = {{s|Vistain, Danielle|Academy Transcript}} &bull; {{s|Vistain, Danielle|Medical Record}}
}}
<pre style="white-space:pre-wrap">
{{Sidebar
|NAME = Danielle Vistain
|SHIP = USS Independence-A
|RANK = Ensign
|PIPSTYLE = Slanted
|POST = Engineer - Shuttlebay Ops
|COLOR = Gold
|SPECIES = Human
|GENDER = Female
|BIRTHMONTH = 03
|BIRTHDATE = 13
|BIRTHYEAR = 2365
|BIRTHPLACE = Detroit, Earth
|IMAGE = Daniellevistain.jpg
|EXTRA = {{s|Vistain, Danielle|Academy Transcript}} &bull; {{s|Vistain, Danielle|Medical Record}}
}}</pre>
<br clear=all>
===Use with a non-Starfleet character (PIPSTYLE set to None, etc.)===
{{Sidebar
|NAME = Sidney Allen Ripley
|SHIP = Colonial Coalition Marshals Service
|RANK = Detective Marshal
|PIPSTYLE = None
|POST = Investigator
|COLOR = Silver
|SPECIES = [[Human]]
|GENDER = Male
|BIRTHMONTH = 08
|BIRTHDATE = 24
|BIRTHYEAR = 2370
|BIRTHPLACE = Colard, Colony
|IMAGE = SidneyAllanRipley.png
|EXTRA = [[File:ColonialCoalitionMarshals.png|180px|link=Colonial Coalition Marshals Service]]
}}
<pre style="white-space:pre-wrap">
{{Sidebar
|NAME = Sidney Allen Ripley
|SHIP = Colonial Coalition Marshals Service
|RANK = Detective Marshal
|PIPSTYLE = None
|POST = Investigator
|COLOR = Silver
|SPECIES = [[Human]]
|GENDER = Male
|BIRTHMONTH = 08
|BIRTHDATE = 24
|BIRTHYEAR = 2370
|BIRTHPLACE = Colard, Colony
|IMAGE = SidneyAllanRipley.png
|EXTRA = [[File:ColonialCoalitionMarshals.png|180px|link=Colonial Coalition Marshals Service]]
}}</pre>
}}</pre>


__NOTOC__
[[Category:Infobox templates]]
[[Category:Infobox templates]]
[[Category:Templates]]
[[Category:Sidebar templates]]
</noinclude>
</noinclude>

Navigation menu