Template:LCARS-Navbar: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(Added personel)
(Adding ability to include a "StaticAge" for characters who are either from another time or are otherwise not aging (e.g. deceased).)
 
(95 intermediate revisions by 5 users not shown)
Line 1: Line 1:
'''This is a sandbox page for [[User:JamesTPau|James]] Please don't delete.'''
<includeonly>{| style="align: right; float: right; clear: right; border: 0px; margin: 0 0 1em 1em; padding:0; width:240px;" cellspacing="0"
|style="{{BackgroundColor|{{{Color3|{{{Color|}}}}}}}};border-radius: 14px 14px 0 0;border-spacing: 0px;border-color:{{Color|{{{Color|}}}}}" align="center" |{{#switch:{{{NotCrew}}}|Yes=<span style="color:white">&nbsp;</span>|{{#switch:{{{Station}}}|Yes=<span style="color:white">'''Crew of''' [[{{{Ship}}}|<span style="color:white">'''''{{{Ship}}}'''''</span>]]|yes=<span style="color:white">'''Crew of''' [[{{{Ship}}}|<span style="color:white">'''''{{{Ship}}}'''''</span>]]|#default=<span style="color:white">'''Crew of the''' [[USS {{{Ship}}}|<span style="color:white">'''USS''' '''''{{{Ship}}}'''''</span>]]</span>}}}}
|-
| style="font-size: 90%;{{BackgroundColor|{{{Color|}}}}};" |
[[Image:{{{Image|Noimage.jpg}}}|240px]]
|-
| style="{{BackgroundColor|{{{Color2|{{{Color|}}}}}}}};"  align="center" |<span style="color:white"> '''{{{Rank}}} {{{FirstName}}} {{{LastName|}}}''' </span>
|-
| style="font-size:90%;color:white;{{BackgroundColor|{{{Color2|{{{Color|}}}}}}}};border-radius: 0 0 14px 14px;" align="left" class="whitelinks"|
{{Pips2Collar|{{{Rank}}}|{{{Color|}}}|{{{Style|}}}}}
{{#switch:{{{Serial}}}|None=|#default=<div style="color:white; margin:0; padding:0; text-align:center; font-size:1.2em; font-family:monospace;"><b><i>[[StarFleet Serial Number Register|{{{Serial}}}]]</i></b></div>}}
{{#if:{{{Pronunciation|}}}|* '''Pronunciation:''' {{{Pronunciation}}}|}}
* '''Rank:''' {{{Rank}}}
{{#switch:{{{NotCrew}}}|Yes=*{{{Location}}}|{{#switch:{{{Station}}}|Yes=*'''Station:''' [[{{{Ship}}}]]|yes='''Station:''' [['''''{{{Ship}}}''''']]|#default=*'''Ship:''' {{USS|{{{Ship}}}}}}}}}
* '''Position:''' {{{Post}}}
* '''Species:''' {{{Species}}}
* '''Gender:''' {{{Gender}}}
{{#if:{{{Pronouns|}}}|* '''Pronouns:''' {{{Pronouns}}}|}}
* '''Age:''' {{#if:{{{StaticAge|}}}|{{{StaticAge}}}|{{age|{{{BirthYear}}}|{{{BirthMonth}}}|{{{BirthDate}}}}}}}
* '''DoB:''' {{{BirthYear}}}{{{BirthMonth}}}.{{{BirthDate}}}
* '''Birthplace:''' {{{BirthPlace}}}
{{{Extra|}}}
<center>[[User:{{{UserName}}}|User Page]]</center>
|}</includeonly><noinclude>{{Start-85%}}
==Usage instructions==
{{LCARS-Navbar
|FirstName = Seff
|Ship = Constitution-B
|UserName = Aigle Phos
|Rank = Lt. Commander
|Style = STO
|Post = Tactical Officer
|Color = Gold
|Species = [[Zaldan]]
|Gender = Female
|Serial = AX - 100 - 256
|StaticAge =
|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 Seff'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>'''.
<br />
<center>
[[File:Darwin-A Info & History.png|link=]]
<br /><br />
<div style="z-index:-1;">[[Image:LCARS-Left-1.png|link=USS Darwin-A Ship Statistics]][[Image:LCARS-Right-4.png|link=Darwin-A Deck Layout]]</div>
<span style="position:relative; bottom:37px; left:10px; font-size:large;">[[USS Darwin-A Ship Statistics|Ship Statistics]]</span><span style="position:relative; bottom:37px; left:50px; font-size:large;">[[Darwin-A Deck Layout]]</span>
<div style="z-index:-1;">[[Image:LCARS-Left-3.png|link=Darwin-A_Mission_Logs]][[Image:LCARS-Right-2.png|link=http://www.starbase118.net/members/mission-submittal-form/]]</div>
<span style="position:relative; bottom:37px; left:20px; font-size:large;">[[Darwin-A_Mission_Logs|Mission Archive]]</span><span style="position:relative; bottom:37px; left:55px; font-size:large;">[http://www.starbase118.net/members/mission-submittal-form/ Mission Submittal Form]</span>
<div style="z-index:-1;">[[Image:LCARS-Left-4.png|link=Quantum Slipstream Drive]][[Image:LCARS-Right-1.png|link=Craft assigned to USS Darwin-A]]</div>
<span style="position:relative; bottom:37px; right:70px; font-size:large;">[[Quantum Slipstream Drive]]</span><span style="position:relative; bottom:37px; right:30px; font-size:large;">[[Craft assigned to USS Darwin-A|Assigned Craft]]</span>
<div style="z-index:-1;">[[Image:LCARS-Left-2.png|link=Previous Vessels Named Darwin]][[Image:LCARS-Right-3.png|link=Darwin-A Dedication]]</div>
<span style="position:relative; bottom:37px; right:20px; font-size:large;">[[Previous Vessels Named Darwin|Ship Lineage]]</span><span style="position:relative; bottom:37px; left:10px; font-size:large;">[[Darwin-A Dedication|Dedication]]</span>
</center>
{{Darwin-A}}


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''' or '''RetroSlanted'''. 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 =
|StaticAge =
|BirthMonth =
|BirthDate =
|BirthYear =
|BirthPlace =
|Extra =
|}}
</pre>


----
===Image===
<br />
If you have an image for your character, add the file name for it such as EnsignSmith.jpg in the ''Image'' field.
<center>
 
[[File:Darwin-A Personel.png|link=]]
<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>
<br /><br />
 
<div style="z-index:-1;">[[Image:LCARS-Left-2.png|link=[Darwin-A Master Crew List]][[Image:LCARS-Right-1.png|link=Darwin-A Personal NPCs]]</div>
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.
<span style="position:relative; bottom:37px; right:10px; font-size:large;">[[Darwin-A Master Crew List|Current Roster]]</span><span style="position:relative; bottom:37px; left:10px; font-size:large;">[[Darwin-A Personal NPCs|Personal NPCs]] </span>
<br clear="all">
<div style="z-index:-1;">[[Image:LCARS-Left-1.png|link=Darwin-A Non-Player Character Listing]][[Image:LCARS-Right-2.png|link=[Darwin-A Crew History]]</div>
 
<span style="position:relative; bottom:37px; right:10px; font-size:large;">[[Darwin-A Non-Player Character Listing|NPC Listing]]</span><span style="position:relative; bottom:37px; left:15px; font-size:large;">[[Darwin-A Crew History|Crew History]]</span>
===<span style="color:maroon;">NEW:</span> Alternate Crew Message===
<div style="z-index:-1;">[[Image:LCARS-Left-3.png|link=Darwin-A Crew Awards]][[Image:LCARS-Right-3.png|link=Darwin-A Crew Graphics]]</div>
 
<span style="position:relative; bottom:37px; right:15px; font-size:large;">[[Darwin-A Crew Awards|Crew Awards]]</span><span style="position:relative; bottom:37px; left:10px; font-size:large;">[[Darwin-A Crew Graphics|Crew Gallery]]</span>
{{LCARS-Navbar
<div style="z-index:-1;">[[Image:LCARS-Left-4.png|link=Darwinians In The News]][[Image:LCARS-Right-4.png|link=USS Darwin-A SIM Handbook]]</div>
|FirstName = James
<span style="position:relative; bottom:37px; left:10px; font-size:large;">[[Darwinians In The News]]</span><span style="position:relative; bottom:37px; left:30px; font-size:large;">[[USS Darwin-A SIM Handbook]]</span>
|Ship = Deep Space 285
</center>
|Station = Yes
{{Darwin-A}}
|UserName = JamesTPau
|Rank = Lt. Commander
|Style = RetroSlanted
|Post = Unassigned
|Color = Red
|Species = [[Terran]] / [[Vulcan]]
|Gender = Male
|Serial = ZP - 314 - 159
|StaticAge =
|BirthMonth = 04
|BirthDate = 30
|BirthYear = 2367
|BirthPlace = [[Shi'Kahr]], [[Vulcan]]
|Image = JamesTPau.jpg
|Extra =
}}
 
Serve on a station? Now you can use the LCARS-Navbar as well! Simply add the <code>Station = Yes</code> and it will display with an alternate crew message!
 
<pre style="width:70%;">
{{LCARS-Navbar
|FirstName = James
|Ship = Deep Space 285
|Station = Yes
|UserName = JamesTPau
|Rank = Lt. Commander
|Style = RetroSlanted
|Post = Unassigned
|Color = Silver
|Species = [[Terran]] / [[Vulcan]]
|Gender = Male
|Serial = ZP - 314 - 159
|StaticAge =
|BirthMonth = 04
|BirthDate = 30
|BirthYear = 2367
|BirthPlace = [[Shi'Kahr]], [[Vulcan]]
|Image = JamesTPau.jpg
|Extra =
}}
</pre>
 
<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
|StaticAge =
|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
|Style = STO
|Post = Tactical Officer
|Color = Gold
|Color2 = Blue
|Color3 = Red
|Species = [[Zaldan]]
|Gender = Female
|Serial = AX - 100 - 256
|StaticAge =
|BirthMonth = 17
|BirthDate = 03
|BirthYear = 2352
|BirthPlace = Zaldan Colony, Ricktor Prime
|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
|StaticAge =
|BirthMonth = 10
|BirthDate = 29
|BirthYear = 2351
|BirthPlace = Great City, Damodara, [[Duronis II|Til'ahn]]
|Extra =
{{Ribbons Rack
|Starfleet Academy Graduate Ribbon|1
}}
}}
 
<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
|StaticAge =
|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===
 
NB: The new lines are to make it easier to read, you do not want them in the actual code. For Extra, it needs to be just one line (so remove the linebreaks when copying and pasting.)
 
{{LCARS-Navbar
|FirstName = Ceciri
|LastName = Hakashri
|Ship = Doyle-A
|UserName = Ceciri
|Rank = Lt Commander
|Style = RetroSlanted
|Post = Chief HCO
|Color = Red
|Species = [[Cygnian]]
|Gender = Female
|Serial = GN-413-527
|StaticAge =
|BirthMonth = 05
|BirthDate = 18
|BirthYear = 2363
|BirthPlace = Cygnet XIV
|Extra =<center>[[Ceciri Hakashri/AcademyDiploma|Academy Transcript]] • [[Ceciri Hakashri/Medical Record|Medical History]] <br> [[Ceciri Hakashri|Main Page]] • [[Ceciri Hakashri/Navbar|Edit this nav]] • [[Ceciri Hakashri/ID|ID]]</center>
{{Ribbons Rack
|Color=Blue
|Purple Heart|2
|Good Conduct Ribbon|1
|Starfleet Academy Graduate Ribbon|1
|Legion of Merit|1
|Defense of Temporal Flow Ribbon|1
|Prometheus Ribbon|1
|Featured Nominee|1
}}
|Image = Ceciri 2.0.jpg
}}
 
<pre style="width:70%;">
{{LCARS-Navbar
|FirstName = Ceciri
|LastName = Hakashri
|Ship = Doyle-A
|UserName = Ceciri
|Rank = Lt Commander
|Style = RetroSlanted
|Post = Chief HCO
|Color = Red
|Species = [[Cygnian]]
|Gender = Female
|Serial = GN-413-527
|StaticAge =
|BirthMonth = 05
|BirthDate = 18
|BirthYear = 2363
|BirthPlace = Cygnet XIV
|Extra =<center>[[Ceciri Hakashri/AcademyDiploma|Academy Transcript]] • [[Ceciri Hakashri/Medical Record|Medical History]] <br> [[Ceciri Hakashri|Main Page]] • [[Ceciri Hakashri/Navbar|Edit this nav]] • [[Ceciri Hakashri/ID|ID]]</center>
{{Ribbons Rack
|Color=Blue
|Purple Heart|2
|Good Conduct Ribbon|1
|Starfleet Academy Graduate Ribbon|1
|Legion of Merit|1
|Defense of Temporal Flow Ribbon|1
|Prometheus Ribbon|1
|Featured Nominee|1
}}
|Image = Ceciri 2.0.jpg
}}
</pre>
__NOTOC__
[[Category:Infobox templates]]
[[Category:Templates]]
[[Category:Sidebar templates]]
</noinclude>

Latest revision as of 23:44, 21 November 2024

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 Seff'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 or RetroSlanted. 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 =
|StaticAge = 
|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 field.

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.

NEW: Alternate Crew Message

Crew of Deep Space 285

JamesTPau.jpg

Lt. Commander James

Serve on a station? Now you can use the LCARS-Navbar as well! Simply add the Station = Yes and it will display with an alternate crew message!

{{LCARS-Navbar
|FirstName = James
|Ship = Deep Space 285
|Station = Yes
|UserName = JamesTPau
|Rank = Lt. Commander
|Style = RetroSlanted
|Post = Unassigned
|Color = Silver
|Species = [[Terran]] / [[Vulcan]]
|Gender = Male
|Serial = ZP - 314 - 159
|StaticAge = 
|BirthMonth = 04
|BirthDate = 30
|BirthYear = 2367
|BirthPlace = [[Shi'Kahr]], [[Vulcan]]
|Image = JamesTPau.jpg
|Extra =
}}


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
|StaticAge = 
|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
|StaticAge = 
|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

NB: The new lines are to make it easier to read, you do not want them in the actual code. For Extra, it needs to be just one line (so remove the linebreaks when copying and pasting.)

Crew of the USS Doyle-A

Ceciri 2.0.jpg

Lt Commander Ceciri Hakashri
{{LCARS-Navbar
|FirstName = Ceciri
|LastName = Hakashri
|Ship = Doyle-A
|UserName = Ceciri
|Rank = Lt Commander
|Style = RetroSlanted
|Post = Chief HCO
|Color = Red
|Species = [[Cygnian]]
|Gender = Female
|Serial = GN-413-527 
|StaticAge = 
|BirthMonth = 05
|BirthDate = 18
|BirthYear = 2363
|BirthPlace = Cygnet XIV
|Extra =<center>[[Ceciri Hakashri/AcademyDiploma|Academy Transcript]] • [[Ceciri Hakashri/Medical Record|Medical History]] <br> [[Ceciri Hakashri|Main Page]] • [[Ceciri Hakashri/Navbar|Edit this nav]] • [[Ceciri Hakashri/ID|ID]]</center>
{{Ribbons Rack
|Color=Blue
|Purple Heart|2
|Good Conduct Ribbon|1
|Starfleet Academy Graduate Ribbon|1
|Legion of Merit|1
|Defense of Temporal Flow Ribbon|1
|Prometheus Ribbon|1
|Featured Nominee|1
}}
|Image = Ceciri 2.0.jpg
}}