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.)
(16 intermediate revisions by 3 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|}}}}}"|<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%" |
Line 21: Line 21:
|- style="vertical-align:top; background:#f0f0f0;"
|- style="vertical-align:top; background:#f0f0f0;"
|'''DOB'''
|'''DOB'''
|{{DOB|{{{BIRTHYEAR|}}}|{{{BIRTHMONTH|}}}|{{{BIRTHDATE|}}}}}
|{{DOB|{{{ALTERNATEBIRTHYEAR|{{{BIRTHYEAR|}}}}}}|{{{BIRTHMONTH|}}}|{{{BIRTHDATE|}}}}}
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|'''Age'''
|'''Age'''
|{{Agecheck|{{{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%|
|colspan=100%|
Line 49: Line 53:
|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, use [[Template:Sidebar KIA]].''
:''For deceased characters or those confirmed killed in action, use [[Template:Sidebar KIA]].''
:''For missing characters, use [[Template:Sidebar MIA]].''
:''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 58: Line 63:
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 70: Line 78:


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.
===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 87: Line 98:
|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 141: Line 153:
}}
}}
}}</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 159: Line 172:
|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 178: Line 190:
|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
|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>


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

Navigation menu