Template:Sidebar: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
 
(28 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{| class="toccolours" 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|}}}}}" 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|}}}}}"|<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'''
|{{{POST}}}
|{{{POST|}}}
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|'''Rank'''
|'''Rank'''
|{{{RANK}}}
|{{{RANK|}}}
|- style="vertical-align:top; background:#f0f0f0;"
|- style="vertical-align:top; background:#f0f0f0;"
|'''Species'''
|'''Species'''
|{{{SPECIES}}}
|{{{SPECIES|}}}
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|'''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'''
|{{{BIRTHYEAR}}}{{{BIRTHMONTH}}}.{{{BIRTHDATE}}}
|{{DOB|{{{ALTERNATEBIRTHYEAR|{{{BIRTHYEAR|}}}}}}|{{{BIRTHMONTH|}}}|{{{BIRTHDATE|}}}}}
|- style="vertical-align:top;"
|- style="vertical-align:top;{{#if:{{{PRONOUNS|}}}| background:#f0f0f0;|}}"
|'''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;{{#if:{{{PRONOUNS|}}}|| background:#f0f0f0;}}"
|'''Birthplace'''
|'''Birthplace'''
|{{{BIRTHPLACE}}}
|{{{BIRTHPLACE|}}}
{{#if: {{{AUTHOR|}}}|
{{!-}} style{{=}}"vertical-align:top;{{#if:{{{PRONOUNS|}}}| background:#f0f0f0;|}}"
{{!}}'''Writer ID'''
{{!}}[[{{{AUTHOR|}}}]]|}}
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|colspan=100%|
|colspan=100%|
Line 44: Line 58:
|SPECIES = Human
|SPECIES = Human
|GENDER = Male
|GENDER = Male
|PRONOUNS = He/Him
|BIRTHMONTH = 01
|BIRTHMONTH = 01
|BIRTHDATE = 17
|BIRTHDATE = 17
Line 49: Line 64:
|BIRTHPLACE = Colony 1, Martian Colonies
|BIRTHPLACE = Colony 1, Martian Colonies
|IMAGE = Msafiri bakari.jpg
|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.
Line 56: 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.
*'''If your character is KIA or otherwise deceased, use [[Template:Sidebar KIA]].'''
*'''If your character is MIA, use [[Template:Sidebar MIA]].'''


===Image===
===Image===
If you have an image for your character, add the file name for it such as EnsignSmith.jpg in the last field.
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 <nowiki>[[ or ]]</nowiki> or File: in the name. The template will automatically resize your image to fit the sidebar.'''
<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.
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===
===Examples===
Line 78: Line 150:
|SPECIES = Human
|SPECIES = Human
|GENDER = Male
|GENDER = Male
|PRONOUNS = He/Him
|BIRTHMONTH = 01
|BIRTHMONTH = 01
|BIRTHDATE = 17
|BIRTHDATE = 17
Line 83: Line 156:
|BIRTHPLACE = Colony 1, Martian Colonies
|BIRTHPLACE = Colony 1, Martian Colonies
|IMAGE = Msafiri bakari.jpg
|IMAGE = Msafiri bakari.jpg
|AUTHOR = I238705TZ0
|EXTRA =
|EXTRA =
}}</pre>
}}</pre>
Line 96: Line 170:
|SPECIES = Human
|SPECIES = Human
|GENDER = Female
|GENDER = Female
|PRONOUNS = She/Her
|BIRTHMONTH = 08
|BIRTHMONTH = 08
|BIRTHDATE = 18
|BIRTHDATE = 18
Line 122: Line 197:
|SPECIES = Human
|SPECIES = Human
|GENDER = Female
|GENDER = Female
|PRONOUNS = She/Her
|BIRTHMONTH = 08
|BIRTHMONTH = 08
|BIRTHDATE = 18
|BIRTHDATE = 18
Line 137: Line 213:
}}
}}
}}</pre>
}}</pre>
<br clear=all>
<br clear=all>
===Including links to Academy Transcript and Medical Record===
===Including links to Academy Transcript and Medical Record===
Line 148: Line 225:
|SPECIES = Human
|SPECIES = Human
|GENDER = Female
|GENDER = Female
|PRONOUNS = She/Her
|BIRTHMONTH = 03
|BIRTHMONTH = 03
|BIRTHDATE = 13
|BIRTHDATE = 13
Line 155: Line 233:
|EXTRA = {{s|Vistain, Danielle|Academy Transcript}} &bull; {{s|Vistain, Danielle|Medical Record}}
|EXTRA = {{s|Vistain, Danielle|Academy Transcript}} &bull; {{s|Vistain, Danielle|Medical Record}}
}}
}}
{|width=400
 
|
<pre style="white-space:pre-wrap">
<pre>
{{Sidebar
{{Sidebar
|NAME = Danielle Vistain
|NAME = Danielle Vistain
Line 167: Line 244:
|SPECIES = Human
|SPECIES = Human
|GENDER = Female
|GENDER = Female
|PRONOUNS = She/Her
|BIRTHMONTH = 03
|BIRTHMONTH = 03
|BIRTHDATE = 13
|BIRTHDATE = 13
Line 174: Line 252:
|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>
}}</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__
__NOTOC__
[[Category:Infobox templates]]
[[Category:Infobox templates]]
[[Category:Templates]]
[[Category:Templates]]
[[Category:Sidebar templates]]
</noinclude>
</noinclude>