Template:Sidebar: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
 
(60 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<table class="vertical-navbox {{#if:{{{wraplinks|}}}|{{#ifeq:{{{wraplinks|}}}|true||nowraplinks}}|nowraplinks}} {{{class|}}} {{{bodyclass|}}}" <!--
<includeonly>{| class="infobox" style="margin: 0 0 1em 1em;" width=240 align="right"
    -->style="float:right; clear:right; color:black; background:#f9f9f9; border:1px solid #aaa; <noinclude>width:13.0em;</noinclude> margin:0 0 1.0em 1.0em; padding:0.2em; border-spacing:0.4em 0; text-align:center; line-height:1.4em; font-size:88%; {{{style|}}} {{{bodystyle|}}}" <!--
!colspan=100% style="background:{{Color|{{{COLOR|}}}}}" class="whitelinks"|<font color="white">{{{SHIP|}}}
    -->cellpadding="{{{cellpadding|0}}}"><!--
|-
!colspan=100% style="background:black"|{{Portrait|{{{IMAGE|}}}}}{{#switch:{{{PIPSTYLE|}}}|None=|NONE=|none=|<br>{{Pips2Collar|{{{RANK|}}}|{{{COLOR|}}}|{{{PIPSTYLE|}}}}}}}
|-
!colspan=100% style="background:{{Color|{{{COLOR|}}}}}" class="whitelinks"|<font color="white">{{{NAME|}}}
|-
| colspan=100% style="font-size: 90%" |
{{#if:{{{PRONUNCIATION|}}}|
{{!-}} style{{=}}"vertical-align:top;"
{{!}}'''Pronunciation'''
{{!}}{{{PRONUNCIATION|}}}
|}}
|- style="vertical-align:top; background:#f0f0f0;"
|'''Position'''
|{{{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.


------------------------------ outertitle -------------------------------
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>'''.
-->{{#if:{{{outertitle<includeonly>|</includeonly>}}}
    | <caption class="{{{outertitleclass|}}}" style="padding-bottom:0.2em; font-size:145%; line-height:1.15em; font-weight:bold; {{{outertitlestyle|}}}">{{{outertitle}}}</caption><!--
-->}}<!--


------------------------- topimage, topcaption --------------------------
Not all ranks are available in all colors. Use full rank names (except for Lieutenant JG and Lt. Commander, and Lt. Colonel).
-->{{#if:{{{topimage<includeonly>|</includeonly>}}}
    | <tr><td class="{{{topimageclass|}}}" style="padding:0.4em 0; {{{topimagestyle|}}}">{{{topimage}}}<!--
        -->{{#if:{{{topcaption<includeonly>|</includeonly>}}} |<div style="padding-top:0.2em; font-size:85%; line-height:1.2em; {{{topcaptionstyle|}}}">{{{topcaption}}}</div>}}<!--
--></td></tr>}}<!--


--------------------------- pretitle, title -----------------------------
*Pipstyle can be changed from '''Default''' to '''DS9''' or '''Slanted'''. See [[Template:Pips]] for list of all styles.
-->{{#if:{{{pretitle<includeonly>|</includeonly>}}}
*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.
    | <tr><td style="{{#if:{{{topimage<includeonly>|</includeonly>}}} |padding-top:0.2em; |padding-top:0.4em;}} font-size:85%; line-height:1.2em; {{{pretitlestyle|}}}">{{{pretitle}}}<!--
--></td></tr>}}<!--
-->{{#if:{{{title<includeonly>|</includeonly>}}}
    | <tr><th class="{{{titleclass|}}}" style="padding:0.2em 0.4em 0.2em; {{#if:{{{pretitle<includeonly>|</includeonly>}}} |padding-top:0;}} font-size:145%; line-height:1.15em; font-weight:bold; {{{titlestyle|}}}">{{{title}}}<!--
--></th></tr>}}<!--


--------------------------- image, caption ------------------------------
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:{{{image<includeonly>|</includeonly>}}}
*'''If your character is KIA or otherwise deceased, use [[Template:Sidebar KIA]].'''
    | <tr><td class="{{{imageclass|}}}" style="padding:0.2em 0 0.4em; {{{imagestyle|}}}">{{{image}}}<!--
*'''If your character is MIA, use [[Template:Sidebar MIA]].'''
        -->{{#if:{{{caption<includeonly>|</includeonly>}}} |<div style="padding-top:0.2em; font-size:85%; line-height:1.2em; {{{captionstyle|}}}">{{{caption}}}</div>}}<!--
--></td></tr>}}<!--


------------------------------- above -----------------------------------
===Image===
-->{{#if:{{{above<includeonly>|</includeonly>}}} |<tr><td style="padding:0.3em 0.4em 0.3em; font-weight:bold; {{{abovestyle|}}}">{{{above}}}<!---->}}<!--
If you have an image for your character, add the file name for it such as EnsignSmith.jpg in the last field.


--------------------------- sections 1 to 4 -----------------------------
<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:{{{heading1<includeonly>|</includeonly>}}}
    |<tr><td style="padding-top:0.2em; {{#if:{{{image<includeonly>|</includeonly>}}} |padding-top:0.4em;}} font-weight:bold; {{{headingstyle|}}} {{{heading1style|}}}"><!--
      -->{{{heading1}}}<!--
--></td></tr>}}<!--
-->{{#if:{{{content1<includeonly>|</includeonly>}}}
    |<tr><td style="{{#if:{{{heading1|{{{heading<includeonly>|</includeonly>}}}}}} | |padding-top:0.2em;}} padding-bottom:0.2em; {{{contentstyle|}}} {{{content1style|}}}"><!--
      -->{{{content1}}}<!--
--></td></tr>}}<!--


-->{{#if:{{{heading2<includeonly>|</includeonly>}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading2style|}}}">{{{heading2}}}<!----></td></tr>}}<!--
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.
-->{{#if:{{{content2<includeonly>|</includeonly>}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content2style|}}}">{{{content2}}}<!----></td></tr>}}<!--


-->{{#if:{{{heading3<includeonly>|</includeonly>}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading3style|}}}">{{{heading3}}}<!----></td></tr>}}<!--
<br clear=all>
-->{{#if:{{{content3<includeonly>|</includeonly>}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content3style|}}}">{{{content3}}}<!----></td></tr>}}<!--
===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.


-->{{#if:{{{heading4|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading4style|}}}">{{{heading4}}}<!----></td></tr>}}<!--
===Examples===
-->{{#if:{{{content4<includeonly>|</includeonly>}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content4style|}}}">{{{content4<noinclude>|................</noinclude>}}}<!----></td></tr>}}<!--
<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>


--------------------------- section 5 onward ----------------------------
===Author/Writer ID Number===
-->{{#if:{{{heading5|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading5style|}}}">{{{heading5}}}<!----></td></tr>}}<!--
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:{{{content5|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content5style|}}}">{{{content5}}}<!----></td></tr>}}<!--


-->{{#if:{{{heading6|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading6style|}}}">{{{heading6}}}<!----></td></tr>}}<!--
===Examples===
-->{{#if:{{{content6|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content6style|}}}">{{{content6}}}<!----></td></tr>}}<!--
<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
}}
}}


-->{{#if:{{{heading7|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading7style|}}}">{{{heading7}}}<!----></td></tr>}}<!--
<pre>
-->{{#if:{{{content7|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content7style|}}}">{{{content7}}}<!----></td></tr>}}<!--
{{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>


-->{{#if:{{{heading8|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading8style|}}}">{{{heading8}}}<!----></td></tr>}}<!--
<br clear=all>
-->{{#if:{{{content8|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content8style|}}}">{{{content8}}}<!----></td></tr>}}<!--
===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}}
}}


---------------------------- final section ------------------------------
<pre style="white-space:pre-wrap">
-->{{#if:{{{heading35<includeonly>|</includeonly>}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading35style|}}}">{{{heading35}}}<!----></td></tr>}}<!--
{{Sidebar
-->{{#if:{{{content35<includeonly>|</includeonly>}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content35style|}}}">{{{content35}}}<!----></td></tr>}}<!--
|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>


-------------------------------- below ----------------------------------
<br clear=all>
-->{{#if:{{{below<includeonly>|</includeonly>}}} |<tr><td style="padding:0.3em 0.4em 0.3em; font-weight:bold; {{{belowstyle|}}}">{{{below}}}<!----></td></tr>}}<!--
===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]]
}}


------------------------------- navbar ----------------------------------
<pre style="white-space:pre-wrap">
-->{{#switch:{{{navbar|{{{tnavbar<includeonly>|</includeonly>}}}}}}
{{Sidebar
    |none |off=
|NAME = Sidney Allen Ripley
    |#default=<tr><td style="{{{navbarstyle|{{{tnavbarstyle|}}}}}}">{{navbar |{{{name|{{PAGENAME}}}}} |mini=1 |{{{navbaroptions|{{{tnavbaroptions|}}}}}}<!---->}}</td></tr><!--
|SHIP = Colonial Coalition Marshals Service
-->}}
|RANK = Detective Marshal
</table><noinclude>
|PIPSTYLE = None
{{pp-template}}
|POST = Investigator
{{Documentation}}
|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__
Please add metadata (categories, interwikis) to the <includeonly>
[[Category:Infobox templates]]
section at the bottom of Template:Sidebar/doc, not here - thanks!
[[Category:Templates]]
---->
[[Category:Sidebar templates]]
</noinclude>
</noinclude>