Template:Sidebar: Difference between revisions

m
no edit summary
mNo edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 2: Line 2:
!colspan=100% style="background:{{Color|{{{COLOR|}}}}}" class="whitelinks"|<font color="white">{{{SHIP|}}}
!colspan=100% style="background:{{Color|{{{COLOR|}}}}}" class="whitelinks"|<font color="white">{{{SHIP|}}}
|-
|-
!colspan=100% style="background:black"|{{Portrait|{{{IMAGE|}}}}}<br>{{Pips2Collar|{{{RANK|}}}|{{{COLOR|}}}|{{{PIPSTYLE|}}}}}
!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="background:{{Color|{{{COLOR|}}}}}" class="whitelinks"|<font color="white">{{{NAME|}}}
|-
|-
| colspan=100% style="font-size: 90%" |
| colspan=100% style="font-size: 90%" |
{{#if:{{{PRONUNCIATION|}}}|
{{!-}} style{{=}}"vertical-align:top;"
{{!}}'''Pronunciation'''
{{!}}{{{PRONUNCIATION|}}}
|}}
|- style="vertical-align:top; background:#f0f0f0;"
|- style="vertical-align:top; background:#f0f0f0;"
|'''Position'''
|'''Position'''
Line 19: Line 24:
|'''Gender'''
|'''Gender'''
|{{{GENDER|}}}
|{{{GENDER|}}}
|- style="vertical-align:top; background:#f0f0f0;"
{{#if:{{{PRONOUNS|}}}|
{{!-}} style{{=}}"vertical-align:top; background:#f0f0f0;"
{{!}}'''Pronouns'''
{{!}}{{{PRONOUNS|}}}
|}}
|- style="vertical-align:top;{{#if:{{{PRONOUNS|}}}|| background:#f0f0f0;}}"
|'''DOB'''
|'''DOB'''
|{{DOB|{{{ALTERNATEBIRTHYEAR|{{{BIRTHYEAR|}}}}}}|{{{BIRTHMONTH|}}}|{{{BIRTHDATE|}}}}}
|{{DOB|{{{ALTERNATEBIRTHYEAR|{{{BIRTHYEAR|}}}}}}|{{{BIRTHMONTH|}}}|{{{BIRTHDATE|}}}}}
|- style="vertical-align:top;"
|- style="vertical-align:top;{{#if:{{{PRONOUNS|}}}| background:#f0f0f0;|}}"
|'''Age'''
|'''Age'''
|{{Agecheck|{{{BIRTHYEAR|}}}|{{{BIRTHMONTH|}}}|{{{BIRTHDATE|}}}}} {{#if:{{{ALTERNATEBIRTHYEAR|}}}|<small>(age discrepancy due to temporal incident)</small>|}}
|{{Agecheck|{{{BIRTHYEAR|}}}|{{{BIRTHMONTH|}}}|{{{BIRTHDATE|}}}}} {{#if:{{{ALTERNATEBIRTHYEAR|}}}|<small>(age discrepancy due to temporal incident)</small>|}}
|- style="vertical-align:top; background:#f0f0f0;"
|- style="vertical-align:top;{{#if:{{{PRONOUNS|}}}|| background:#f0f0f0;}}"
|'''Birthplace'''
|'''Birthplace'''
|{{{BIRTHPLACE|}}}
|{{{BIRTHPLACE|}}}
{{#if: {{{AUTHOR|}}}|
{{#if: {{{AUTHOR|}}}|
{{!-}} style{{=}}"vertical-align:top;"
{{!-}} style{{=}}"vertical-align:top;{{#if:{{{PRONOUNS|}}}| background:#f0f0f0;|}}"
{{!}}'''Author ID'''
{{!}}'''Writer ID'''
{{!}}[[{{{AUTHOR|}}}]]|}}
{{!}}[[{{{AUTHOR|}}}]]|}}
|- style="vertical-align:top;"
|- style="vertical-align:top;"
Line 48: Line 58:
|SPECIES = Human
|SPECIES = Human
|GENDER = Male
|GENDER = Male
|PRONOUNS = He/Him
|BIRTHMONTH = 01
|BIRTHMONTH = 01
|BIRTHDATE = 17
|BIRTHDATE = 17
Line 63: Line 74:
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>'''.
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'''.
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.
Line 75: Line 89:


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 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===
===Author/Writer ID Number===
Line 90: Line 150:
|SPECIES = Human
|SPECIES = Human
|GENDER = Male
|GENDER = Male
|PRONOUNS = He/Him
|BIRTHMONTH = 01
|BIRTHMONTH = 01
|BIRTHDATE = 17
|BIRTHDATE = 17
Line 109: Line 170:
|SPECIES = Human
|SPECIES = Human
|GENDER = Female
|GENDER = Female
|PRONOUNS = She/Her
|BIRTHMONTH = 08
|BIRTHMONTH = 08
|BIRTHDATE = 18
|BIRTHDATE = 18
Line 135: Line 197:
|SPECIES = Human
|SPECIES = Human
|GENDER = Female
|GENDER = Female
|PRONOUNS = She/Her
|BIRTHMONTH = 08
|BIRTHMONTH = 08
|BIRTHDATE = 18
|BIRTHDATE = 18
Line 162: Line 225:
|SPECIES = Human
|SPECIES = Human
|GENDER = Female
|GENDER = Female
|PRONOUNS = She/Her
|BIRTHMONTH = 03
|BIRTHMONTH = 03
|BIRTHDATE = 13
|BIRTHDATE = 13
Line 180: Line 244:
|SPECIES = Human
|SPECIES = Human
|GENDER = Female
|GENDER = Female
|PRONOUNS = She/Her
|BIRTHMONTH = 03
|BIRTHMONTH = 03
|BIRTHDATE = 13
|BIRTHDATE = 13
Line 186: Line 251:
|IMAGE = Daniellevistain.jpg
|IMAGE = Daniellevistain.jpg
|EXTRA = {{s|Vistain, Danielle|Academy Transcript}} &bull; {{s|Vistain, Danielle|Medical Record}}
|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>
}}</pre>


Line 191: Line 295:
[[Category:Infobox templates]]
[[Category:Infobox templates]]
[[Category:Templates]]
[[Category:Templates]]
[[Category:Sidebar templates]]
</noinclude>
</noinclude>