Template:LCARS-Navbar: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
m (missed one call for background-color replacement.)
(Finally writing documentation :p)
Line 20: Line 20:
{{{Extra|}}}
{{{Extra|}}}
<center>[[User:{{{UserName}}}|User Page]]</center>
<center>[[User:{{{UserName}}}|User Page]]</center>
|}</includeonly><noinclude>
|}</includeonly><noinclude>{{Start-85%}}
==Usage instructions==
{{LCARS-Navbar
{{LCARS-Navbar
|FirstName = Seff
|FirstName = Seff
|Ship = Constitution-B
|Ship = Constitution-B
|UserName = JamesTPau
|UserName = Aigle Phos
|Rank = Lt. Commander
|Style = STO
|Post = Tactical Officer
|Color = Gold
|Species = [[Zaldan]]
|Gender = Female
|Serial = AX - 100 - 256
|BirthMonth = 17
|BirthDate = 03
|BirthYear = 2352
|BirthPlace = Zaldan Colony, Ricktor Prime
|Image = Seff.png
|Extra =
}}
 
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''' to '''Slanted''' or '''Alt'''. Other styles may work too, but are not tested.
 
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.
<pre style="width:70%;">
{{LCARS-Navbar
|Image =
|FirstName =
|LastName =
|Ship =
|UserName =
|Rank =
|Style =
|Post =
|Color =
|Species =
|Gender =
|Serial =
|BirthMonth =
|BirthDate =
|BirthYear =
|BirthPlace =
|Extra =
|}
</pre>
 
===Image===
If you have an image for your character, add the file name for it such as EnsignSmith.jpg in the ''Image'' feild.
 
<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 omit the field 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">
 
==Bonus Examples==
===Colours===
{{LCARS-Navbar
|FirstName = Seff
|Ship = Constitution-B
|UserName = Aigle Phos
|Rank = Lt. Commander
|Style = STO
|Post = Tactical Officer
|Color = Gold
|Color2 = Blue
|Color3 = Red
|Species = [[Zaldan]]
|Gender = Female
|Serial = AX - 100 - 256
|BirthMonth = 17
|BirthDate = 03
|BirthYear = 2352
|BirthPlace = Zaldan Colony, Ricktor Prime
|Image = Seff.png
|Extra =
}}
This template allows you to specify multiple colours for different sections of the sidebar! Like the main colour, 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>'''.
 
<pre style="width:70%;">
{{LCARS-Navbar
|FirstName = Seff
|Ship = Constitution-B
|UserName = Aigle Phos
|Rank = Lt. Commander
|Rank = Lt. Commander
|Style = STO
|Style = STO
Line 30: Line 110:
|Color = Gold
|Color = Gold
|Color2 = Blue
|Color2 = Blue
|Color3 = Gold
|Color3 = Red
|Species = [[Zaldan]]
|Species = [[Zaldan]]
|Gender = Female
|Gender = Female
Line 38: Line 118:
|BirthYear = 2352
|BirthYear = 2352
|BirthPlace = Zaldan Colony, Ricktor Prime
|BirthPlace = Zaldan Colony, Ricktor Prime
|Extra =<center>{{s|Seff|Academy Transcript}} • {{s|Seff|Medical Record}}</center>
|Image = Seff.png
|Extra =
}}
</pre>
<br clear="all">
 
===Using [[Template:Ribbons Rack]] to display ribbons===
{{LCARS-Navbar
|Image = Aigle Phos.png
|FirstName = Aigle
|LastName = Phos
|Ship = Doyle-A
|UserName = JamesTPau
|Rank = Lieutenant JG
|Style = RetroSlanted
|Post = Science Officer
|Color = Blue
|Species = [[Laudean]]
|Gender = Female
|Serial = KA - 112 - 042
|BirthMonth = 10
|BirthDate = 29
|BirthYear = 2351
|BirthPlace = Great City, Damodara, [[Duronis II|Til'ahn]]
|Extra =
{{Ribbons Rack
{{Ribbons Rack
|Starfleet Academy Graduate Ribbon|1
}}
}}
}}
|Image = Seff.png
 
<pre style="width:70%;">
{{LCARS-Navbar
|Image = Aigle Phos.png
|FirstName = Aigle
|LastName = Phos
|Ship = Doyle-A
|UserName = JamesTPau
|Rank = Lieutenant JG
|Style = RetroSlanted
|Post = Science Officer
|Color = Blue
|Species = [[Laudean]]
|Gender = Female
|Serial = KA - 112 - 042
|BirthMonth = 10
|BirthDate = 29
|BirthYear = 2351
|BirthPlace = Great City, Damodara, [[Duronis II|Til'ahn]]
|Extra =
{{Ribbons Rack
|Starfleet Academy Graduate Ribbon|1
}}
}}
</pre>
<br clear="all">
 
===Including links to Academy Transcript and Medical Record===
{{LCARS-Navbar
|FirstName = Ceciri
|LastName = Ariadust
|Image = Ceciri_Ariadust.png
|Ship = Doyle-A
|UserName = Ceciri
|Rank = Lieutenant
|Style = RetroSlanted
|Post = HCO
|Color = Red
|Species = [[Cygnian]]
|Gender = Female
|Serial = GN-413-527
|BirthMonth = 05
|BirthDate = 18
|BirthYear = 2363
|BirthPlace = Cygnet XIV
|Extra =<center>{{sChar|First=Ceciri|Last=Ariadust|Sub=AcademyDiploma|Title=Academy Transcript}} • {{sChar|First=Ceciri|Last=Ariadust|Sub=Medical Record|Title=Medical History}}<br>[[Ariadust, Ceciri|Main Page]]</center>
}}
 
<pre style="width:70%;">
{{LCARS-Navbar
|FirstName = Ceciri
|LastName = Ariadust
|Image = Ceciri_Ariadust.png
|Ship = Doyle-A
|UserName = Ceciri
|Rank = Lieutenant
|Style = RetroSlanted
|Post = HCO
|Color = Red
|Species = [[Cygnian]]
|Gender = Female
|Serial = GN-413-527
|BirthMonth = 05
|BirthDate = 18
|BirthYear = 2363
|BirthPlace = Cygnet XIV
|Extra =<center>{{sChar|First=Ceciri|Last=Ariadust|Sub=AcademyDiploma|Title=Academy Transcript}} •
{{sChar|First=Ceciri|Last=Ariadust|Sub=Medical Record|Title=Medical History}}<br>[[Ariadust, Ceciri|Main Page]]</center>
}}
}}
Eventually, I'm going to write documentation here once I've finished the template.
</pre>
{{end}}
__NOTOC__
__NOTOC__
[[Category:Infobox templates]]
[[Category:Infobox templates]]
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 21:55, 17 June 2015

Usage instructions

Crew of the USS Constitution-B

Seff.png

Lt. Commander Seff

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 Red, Gold, Blue, Teal, Violet, Black, Silver, Green.

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 to Slanted or Alt. Other styles may work too, but are not tested.

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.

{{LCARS-Navbar
|Image =
|FirstName =
|LastName =
|Ship =
|UserName =
|Rank =
|Style =
|Post =
|Color =
|Species =
|Gender =
|Serial =
|BirthMonth =
|BirthDate =
|BirthYear =
|BirthPlace =
|Extra =
|}

Image

If you have an image for your character, add the file name for it such as EnsignSmith.jpg in the Image feild.

Do NOT put [[ or ]] or File: in the name. The template will automatically resize your image to fit the sidebar.

If you don't have an image for your character, just omit the field 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.

Bonus Examples

Colours

Crew of the USS Constitution-B

Seff.png

Lt. Commander Seff

This template allows you to specify multiple colours for different sections of the sidebar! Like the main colour, valid colors are Red, Gold, Blue, Teal, Violet, Black, Silver, Green.

{{LCARS-Navbar
|FirstName = Seff
|Ship = Constitution-B
|UserName = Aigle Phos
|Rank = Lt. Commander
|Style = STO
|Post = Tactical Officer
|Color = Gold
|Color2 = Blue
|Color3 = Red
|Species = [[Zaldan]]
|Gender = Female
|Serial = AX - 100 - 256
|BirthMonth = 17
|BirthDate = 03
|BirthYear = 2352
|BirthPlace = Zaldan Colony, Ricktor Prime
|Image = Seff.png
|Extra =
}}


Using Template:Ribbons Rack to display ribbons

Crew of the USS Doyle-A

Aigle Phos.png

Lieutenant JG Aigle Phos
{{LCARS-Navbar
|Image = Aigle Phos.png
|FirstName = Aigle
|LastName = Phos
|Ship = Doyle-A
|UserName = JamesTPau
|Rank = Lieutenant JG
|Style = RetroSlanted
|Post = Science Officer
|Color = Blue
|Species = [[Laudean]]
|Gender = Female
|Serial = KA - 112 - 042
|BirthMonth = 10
|BirthDate = 29
|BirthYear = 2351
|BirthPlace = Great City, Damodara, [[Duronis II|Til'ahn]]
|Extra =
{{Ribbons Rack
|Starfleet Academy Graduate Ribbon|1
}}
}}


Including links to Academy Transcript and Medical Record

Crew of the USS Doyle-A

File:Ceciri Ariadust.png

Lieutenant Ceciri Ariadust
{{LCARS-Navbar
|FirstName = Ceciri
|LastName = Ariadust
|Image = Ceciri_Ariadust.png
|Ship = Doyle-A
|UserName = Ceciri
|Rank = Lieutenant
|Style = RetroSlanted
|Post = HCO
|Color = Red
|Species = [[Cygnian]]
|Gender = Female
|Serial = GN-413-527 
|BirthMonth = 05
|BirthDate = 18
|BirthYear = 2363
|BirthPlace = Cygnet XIV
|Extra =<center>{{sChar|First=Ceciri|Last=Ariadust|Sub=AcademyDiploma|Title=Academy Transcript}} •
{{sChar|First=Ceciri|Last=Ariadust|Sub=Medical Record|Title=Medical History}}<br>[[Ariadust, Ceciri|Main Page]]</center>
}}