Template:Sidebar: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
{| class="toc" style="margin: 0 0 1em 1em;" align="right" width=200
<includeonly>{| class="toc" style="margin: 0 0 1em 1em;" align="right" width=200
!colspan=100% style="background:{{Color|{{{COLOR|}}}}}"|<font color="white">{{{SHIP}}}
!colspan=100% style="background:{{Color|{{{COLOR|}}}}}"|<font color="white">{{{SHIP}}}
|-
|-
Line 39: Line 39:
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|colspan=100% align=center|{{{EXTRA|}}}
|colspan=100% align=center|{{{EXTRA|}}}
|}
|}</includeonly><noinclude>
{{Sidebar
|NAME = Harry Kim
|SHIP = USS Voyager
|RANK = Ensign
|PIPSTYLE = Default
|POST = Operations Officer
|COLOR = Gold
|SPECIES = Human
|GENDER = Male
|BIRTHMONTH = 01
|BIRTHDATE = 01
|BIRTHYEAR = 2349
|BIRTHPLACE = South Carolina, Earth
|IMAGE =
|EXTRA =
}}
===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 Harry Kim's info and put in your own character's information. Valid colors are Red, Gold, Blue, Teal, Violet, Black, Silver, and Green. Remember those colors as we'll be using them for the section headers in the rest of this bio.
 
Not all ranks are available in all colors. Use full rank names (except for Lieuenant JG and Lt. Commander, and Lt. Colonel). Pipstyle can be changed from Default to DS9, STO, or Slanted. See the table later in this bio for examples of each.
 
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 you have an image for your character, add the file name for it such as EnsignSmith.jpg in the last field. 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.
<pre>
{{Sidebar
|NAME = Harry Kim
|SHIP = USS Voyager
|RANK = Ensign
|PIPSTYLE = Default
|POST = Operations Officer
|COLOR = Gold
|SPECIES = Human
|GENDER = Male
|BIRTHMONTH = 01
|BIRTHDATE = 01
|BIRTHYEAR = 2349
|BIRTHPLACE = South Carolina, Earth
|IMAGE =
|EXTRA =
}}</pre>
 
[[Category:Infobox templates]]
</noinclude>