Template:Sidebar: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(Replaced content with "{| class="toc" style="margin: 0 0 1em 1em;" align="right" !style="background:{{Color|{{{COLOR|}}}}}"|<font color="white">{{{SHIP}}} |- |style="font-size: 90%" | {{Portrait...")
mNo edit summary
 
(57 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="toc" style="margin: 0 0 1em 1em;" align="right"
<includeonly>{| class="infobox" style="margin: 0 0 1em 1em;" width=240 align="right"
!style="background:{{Color|{{{COLOR|}}}}}"|<font color="white">{{{SHIP}}}
!colspan=100% style="background:{{Color|{{{COLOR|}}}}}" class="whitelinks"|<font color="white">{{{SHIP|}}}
|-
|-
|style="font-size: 90%" |
!colspan=100% style="background:black"|{{Portrait|{{{IMAGE|}}}}}{{#switch:{{{PIPSTYLE|}}}|None=|NONE=|none=|<br>{{Pips2Collar|{{{RANK|}}}|{{{COLOR|}}}|{{{PIPSTYLE|}}}}}}}
{{Portrait|{{{IMAGE|}}}}}
|-
|-
!style="background:{{Color|{{{COLOR|}}}}}"|<font color="white">{{{NAME}}}
!colspan=100% style="background:{{Color|{{{COLOR|}}}}}" class="whitelinks"|<font color="white">{{{NAME|}}}
|-
|-
! style="font-size: 90%" |
| colspan=100% style="font-size: 90%" |
----
{{#if:{{{PRONUNCIATION|}}}|
{{Pips|{{{RANK}}}|{{{COLOR}}}|{{{PIPSTYLE}}}}}
{{!-}} style{{=}}"vertical-align:top;"
|-
{{!}}'''Pronunciation'''
| style="font-size: 90%" |
{{!}}{{{PRONUNCIATION|}}}
*'''Gender:''' {{{GENDER}}}
|}}
*'''Position:''' {{{POST}}}
|- style="vertical-align:top; background:#f0f0f0;"
*'''Rank:''' {{{RANK}}}
|'''Position'''
*'''Species:''' {{{SPECIES}}}
|{{{POST|}}}
|- style="vertical-align:top;"
|'''Rank'''
|{{{RANK|}}}
|- style="vertical-align:top; background:#f0f0f0;"
|'''Species'''
|{{{SPECIES|}}}
|- style="vertical-align:top;"
|'''Gender'''
|{{{GENDER|}}}
{{#if:{{{PRONOUNS|}}}|
{{!-}} style{{=}}"vertical-align:top; background:#f0f0f0;"
{{!}}'''Pronouns'''
{{!}}{{{PRONOUNS|}}}
|}}
|- style="vertical-align:top;{{#if:{{{PRONOUNS|}}}|| background:#f0f0f0;}}"
|'''DOB'''
|{{DOB|{{{ALTERNATEBIRTHYEAR|{{{BIRTHYEAR|}}}}}}|{{{BIRTHMONTH|}}}|{{{BIRTHDATE|}}}}}
|- style="vertical-align:top;{{#if:{{{PRONOUNS|}}}| background:#f0f0f0;|}}"
|'''Age'''
|{{Agecheck|{{{BIRTHYEAR|}}}|{{{BIRTHMONTH|}}}|{{{BIRTHDATE|}}}}} {{#if:{{{ALTERNATEBIRTHYEAR|}}}|<small>(age discrepancy due to temporal incident)</small>|}}
|- style="vertical-align:top;{{#if:{{{PRONOUNS|}}}|| background:#f0f0f0;}}"
|'''Birthplace'''
|{{{BIRTHPLACE|}}}
{{#if: {{{AUTHOR|}}}|
{{!-}} style{{=}}"vertical-align:top;{{#if:{{{PRONOUNS|}}}| background:#f0f0f0;|}}"
{{!}}'''Writer ID'''
{{!}}[[{{{AUTHOR|}}}]]|}}
|- style="vertical-align:top;"
|colspan=100%|
{|align=center
|
{{{EXTRA|}}}
|}
|}
|}</includeonly><noinclude>
{{Sidebar
|NAME = Msafiri Bakari
|SHIP = Deep Space 10
|RANK = Lt. Commander
|PIPSTYLE = Default
|POST = Criminal Investigator
|COLOR = Gold
|SPECIES = Human
|GENDER = Male
|PRONOUNS = He/Him
|BIRTHMONTH = 01
|BIRTHDATE = 17
|BIRTHYEAR = 2360
|BIRTHPLACE = Colony 1, Martian Colonies
|IMAGE = Msafiri bakari.jpg
|AUTHOR = I238705TZ0
|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===
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 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 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.
*'''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.
<br clear=all>
===Optional Pronunciation of Name Field===
{{Sidebar
|NAME = Roshanara Rahman
|PRONUNCIATION = Ro-shun-ar-rah<br>Rah-MAHN
|SHIP = USS Kitty Hawk
|RANK = Captain
|PIPSTYLE = Default
|POST = Commanding Officer
|COLOR = Red
|SPECIES = Kriosian
|GENDER = Female
|PRONOUNS = She/Her
|BIRTHMONTH = 12
|BIRTHDATE = 15
|BIRTHYEAR = 2356
|BIRTHPLACE = Krios Prime
|IMAGE = Rahman-Official-Portrait-2397.png
|AUTHOR = I238705TZ0
|EXTRA =
}}
Add PRONUNCIATION= to include a field for the pronunciation of the character's name. Leave it blank, and the field won't show up.
===Examples===
<pre>
{{Sidebar
|NAME = Roshanara Rahman
|PRONUNCIATION = Ro-shun-ar-rah<br>Rah-MAHN
|SHIP = USS Kitty Hawk
|RANK = Captain
|PIPSTYLE = Default
|POST = Commanding Officer
|COLOR = Red
|SPECIES = Kriosian
|GENDER = Female
|PRONOUNS = She/Her
|BIRTHMONTH = 12
|BIRTHDATE = 15
|BIRTHYEAR = 2356
|BIRTHPLACE = Krios Prime
|IMAGE = Rahman-Official-Portrait-2397.png
|AUTHOR = I238705TZ0
|EXTRA =
}}</pre>
<br clear=all>
===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.
===Examples===
<pre>
{{Sidebar
|NAME = Msafiri Bakari
|SHIP = Deep Space 10
|RANK = Lt. Commander
|PIPSTYLE = Default
|POST = Criminal Investigator
|COLOR = Gold
|SPECIES = Human
|GENDER = Male
|PRONOUNS = He/Him
|BIRTHMONTH = 01
|BIRTHDATE = 17
|BIRTHYEAR = 2360
|BIRTHPLACE = Colony 1, Martian Colonies
|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
|PRONOUNS = She/Her
|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
|PRONOUNS = She/Her
|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>
<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
|PRONOUNS = She/Her
|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
|PRONOUNS = She/Her
|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
|PRONOUNS = He/Him
|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
|PRONOUNS = He/Him
|BIRTHMONTH = 08
|BIRTHDATE = 24
|BIRTHYEAR = 2370
|BIRTHPLACE = Colard, Colony
|IMAGE = SidneyAllanRipley.png
|EXTRA = [[File:ColonialCoalitionMarshals.png|180px|link=Colonial Coalition Marshals Service]]
}}</pre>
__NOTOC__
[[Category:Infobox templates]]
[[Category:Templates]]
[[Category:Sidebar templates]]
</noinclude>

Latest revision as of 16:24, 26 September 2023

Deep Space 10
Msafiri bakari.jpg
04-LtCmdr-Gold.png
00-Blank-Gold.png
Msafiri Bakari
Position Criminal Investigator
Rank Lt. Commander
Species Human
Gender Male
Pronouns He/Him
DOB 236001.17
Age 41
Birthplace Colony 1, Martian Colonies
Writer ID I238705TZ0
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

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 Bakari's info and put in your own character's information. Valid colors are Red, Gold, Blue, Teal, Violet, Black, Silver, Green.

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.

Image

If you have an image for your character, add the file name for it such as EnsignSmith.jpg in the last field.

Do NOT put [[ or ]] or File: in the name. The template will automatically resize your image to fit the sidebar.

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.


Optional Pronunciation of Name Field

USS Kitty Hawk
Rahman-Official-Portrait-2397.png
06-Capt-Red.png
00-Blank-Red.png
Roshanara Rahman
Pronunciation Ro-shun-ar-rah
Rah-MAHN
Position Commanding Officer
Rank Captain
Species Kriosian
Gender Female
Pronouns She/Her
DOB 235612.15
Age 44
Birthplace Krios Prime
Writer ID I238705TZ0

Add PRONUNCIATION= to include a field for the pronunciation of the character's name. Leave it blank, and the field won't show up.

Examples

{{Sidebar
|NAME = Roshanara Rahman
|PRONUNCIATION = Ro-shun-ar-rah<br>Rah-MAHN
|SHIP = USS Kitty Hawk
|RANK = Captain
|PIPSTYLE = Default
|POST = Commanding Officer
|COLOR = Red
|SPECIES = Kriosian
|GENDER = Female
|PRONOUNS = She/Her
|BIRTHMONTH = 12
|BIRTHDATE = 15
|BIRTHYEAR = 2356
|BIRTHPLACE = Krios Prime
|IMAGE = Rahman-Official-Portrait-2397.png
|AUTHOR = I238705TZ0
|EXTRA =
}}


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.

Examples

{{Sidebar
|NAME = Msafiri Bakari
|SHIP = Deep Space 10
|RANK = Lt. Commander
|PIPSTYLE = Default
|POST = Criminal Investigator
|COLOR = Gold
|SPECIES = Human
|GENDER = Male
|PRONOUNS = He/Him
|BIRTHMONTH = 01
|BIRTHDATE = 17
|BIRTHYEAR = 2360
|BIRTHPLACE = Colony 1, Martian Colonies
|IMAGE = Msafiri bakari.jpg
|AUTHOR = I238705TZ0
|EXTRA =
}}


Using Template:Ribbons Rack to display ribbons

Deep Space 17
Ayelet kadosh.jpg
DS9style-ltjg teal.png
DS9style-blank teal.png
Ayelet Kadosh
Position Nurse
Rank Lieutenant JG
Species Human
Gender Female
Pronouns She/Her
DOB 235308.18
Age 48
Birthplace Haifa, Earth
Awards & Service Ribbons
Awards General Tosma1 2011.jpg
Award-goldstar.png
Award-goldstar.png
Award-goldstar.png
Awards ServiceRibbons LegionOfMerit 2011.jpg
Award-silverstar.png
Award-goldstar.png
Awards ServiceRibbons SilverStar 2011.jpg
Award-goldstar.png
Awards ServiceRibbons PurpleHeart 2011.jpg
Awards-ServiceRibbon-VaadwaurInvasion.jpg
Award-goldstar.png
Awards ServiceRibbons LifesavingGold 2011.jpg


TOSMA
Legion of Merit
Silver Star
Purple Heart
Vaadwaur Invasion Campaign Ribbon
Gold Lifesaving Ribbon

{{Sidebar
|NAME = Ayelet Kadosh
|SHIP = Deep Space 17
|RANK = Lieutenant JG
|PIPSTYLE = DS9
|POST = Nurse
|COLOR = Teal
|SPECIES = Human
|GENDER = Female
|PRONOUNS = She/Her
|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
}}
}}


Including links to Academy Transcript and Medical Record

USS Independence-A
Daniellevistain.jpg
01-Ensign-Gold.jpg
00-Blank-Gold.jpg
Danielle Vistain
Position Engineer - Shuttlebay Ops
Rank Ensign
Species Human
Gender Female
Pronouns She/Her
DOB 236503.13
Age 36
Birthplace Detroit, Earth

Academy TranscriptMedical Record

{{Sidebar
|NAME = Danielle Vistain
|SHIP = USS Independence-A
|RANK = Ensign
|PIPSTYLE = Slanted
|POST = Engineer - Shuttlebay Ops
|COLOR = Gold
|SPECIES = Human
|GENDER = Female
|PRONOUNS = She/Her
|BIRTHMONTH = 03
|BIRTHDATE = 13
|BIRTHYEAR = 2365
|BIRTHPLACE = Detroit, Earth
|IMAGE = Daniellevistain.jpg
|EXTRA = {{s|Vistain, Danielle|Academy Transcript}} • {{s|Vistain, Danielle|Medical Record}}
}}


Use with a non-Starfleet character (PIPSTYLE set to None, etc.)

Colonial Coalition Marshals Service
SidneyAllanRipley.png
Sidney Allen Ripley
Position Investigator
Rank Detective Marshal
Species Human
Gender Male
Pronouns He/Him
DOB 237008.24
Age 31
Birthplace Colard, Colony

ColonialCoalitionMarshals.png

{{Sidebar
|NAME = Sidney Allen Ripley
|SHIP = Colonial Coalition Marshals Service
|RANK = Detective Marshal
|PIPSTYLE = None
|POST = Investigator
|COLOR = Silver
|SPECIES = [[Human]]
|GENDER = Male
|PRONOUNS = He/Him
|BIRTHMONTH = 08
|BIRTHDATE = 24
|BIRTHYEAR = 2370
|BIRTHPLACE = Colard, Colony
|IMAGE = SidneyAllanRipley.png 
|EXTRA = [[File:ColonialCoalitionMarshals.png|180px|link=Colonial Coalition Marshals Service]]
}}