Template:LCARS-Navbar: Difference between revisions

added optional pronunciation field
(added some spacing for the <pre>)
(added optional pronunciation field)
 
(47 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{| class="infobox style="margin: 0 0 1em 1em;padding:0; width:240px;" align="right" cellspacing="0" cellpadding="0"
<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" |<span style="color:white"> '''Crew of the''' [[USS {{{Ship}}}|<span style="color:white">'''USS''' '''''{{{Ship}}}'''''</span>]]</span>
|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|}}}}};" |
| style="font-size: 90%;{{BackgroundColor|{{{Color|}}}}};" |
Line 8: Line 8:
|-
|-
| style="font-size:90%;color:white;{{BackgroundColor|{{{Color2|{{{Color|}}}}}}}};border-radius: 0 0 14px 14px;" align="left" class="whitelinks"|
| style="font-size:90%;color:white;{{BackgroundColor|{{{Color2|{{{Color|}}}}}}}};border-radius: 0 0 14px 14px;" align="left" class="whitelinks"|
{{Pips2Collar|{{{Rank}}}|{{{Color|}}}|{{{Style|Slanted}}}}}
{{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}}}
* '''Rank:''' {{{Rank}}}
* '''Starfleet Serial Number:''' [[StarFleet Serial Number Register|{{{Serial}}}]]
{{#switch:{{{NotCrew}}}|Yes=*{{{Location}}}|{{#switch:{{{Station}}}|Yes=*'''Station:''' [[{{{Ship}}}]]|yes='''Station:''' [['''''{{{Ship}}}''''']]|#default=*'''Ship:''' {{USS|{{{Ship}}}}}}}}}
* '''Ship: {{USS|{{{Ship}}}}}
* '''Position:''' {{{Post}}}
* '''Position:''' {{{Post}}}
* '''Species:''' {{{Species}}}
* '''Species:''' {{{Species}}}
* '''Gender:''' {{{Gender}}}
* '''Gender:''' {{{Gender}}}
{{#if:{{{Pronouns|}}}|* '''Pronouns:''' {{{Pronouns}}}|}}
* '''Age:''' {{age|{{{BirthYear}}}|{{{BirthMonth}}}|{{{BirthDate}}}}}
* '''Age:''' {{age|{{{BirthYear}}}|{{{BirthMonth}}}|{{{BirthDate}}}}}
* '''DoB:''' {{{BirthYear}}}{{{BirthMonth}}}.{{{BirthDate}}}
* '''DoB:''' {{{BirthYear}}}{{{BirthMonth}}}.{{{BirthDate}}}
Line 41: Line 43:
}}
}}


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 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>'''.


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.
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.
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 65: Line 67:
|BirthPlace =
|BirthPlace =
|Extra =
|Extra =
|}
|}}
</pre>
</pre>


Line 74: Line 76:


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.
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">
===<span style="color:maroon;">NEW:</span> Alternate Crew Message===
{{LCARS-Navbar
|FirstName = James
|Ship = Deep Space 285
|Station = Yes
|UserName = JamesTPau
|Rank = Lt. Commander
|Style = RetroSlanted
|Post = Unassigned
|Color = Red
|Species = [[Terran]] / [[Vulcan]]
|Gender = Male
|Serial = ZP - 314 - 159
|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
|BirthMonth = 04
|BirthDate = 30
|BirthYear = 2367
|BirthPlace = [[Shi'Kahr]], [[Vulcan]]
|Image = JamesTPau.jpg
|Extra =
}}
</pre>
<br clear="all">
<br clear="all">


Line 176: Line 226:
===Including links to Academy Transcript and Medical Record===
===Including links to Academy Transcript and Medical Record===


NB: The lines are to make it easier to read, you do not want them in the actual code.
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
{{LCARS-Navbar
|FirstName = Ceciri
|FirstName = Ceciri
|LastName = Ariadust
|LastName = Hakashri
|Image = Ceciri_Ariadust.png
|Ship = Doyle-A
|Ship = Doyle-A
|UserName = Ceciri
|UserName = Ceciri
|Rank = Lieutenant
|Rank = Lt Commander
|Style = RetroSlanted
|Style = RetroSlanted
|Post = HCO
|Post = Chief HCO
|Color = Red
|Color = Red
|Species = [[Cygnian]]
|Species = [[Cygnian]]
Line 195: Line 244:
|BirthYear = 2363
|BirthYear = 2363
|BirthPlace = Cygnet XIV
|BirthPlace = Cygnet XIV
|Extra =<center>{{sChar|First=Ceciri|Last=Ariadust|Sub=AcademyDiploma|Title=Academy  
|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>
        Transcript}} {{sChar|First=Ceciri|Last=Ariadust|Sub=Medical Record|Title=
{{Ribbons Rack
        Medical History}}<br>[[Ariadust, Ceciri|Main Page]]/center>
|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
}}
}}


Line 203: Line 261:
{{LCARS-Navbar
{{LCARS-Navbar
|FirstName = Ceciri
|FirstName = Ceciri
|LastName = Ariadust
|LastName = Hakashri
|Image = Ceciri_Ariadust.png
|Ship = Doyle-A
|Ship = Doyle-A
|UserName = Ceciri
|UserName = Ceciri
|Rank = Lieutenant
|Rank = Lt Commander
|Style = RetroSlanted
|Style = RetroSlanted
|Post = HCO
|Post = Chief HCO
|Color = Red
|Color = Red
|Species = [[Cygnian]]
|Species = [[Cygnian]]
Line 218: Line 275:
|BirthYear = 2363
|BirthYear = 2363
|BirthPlace = Cygnet XIV
|BirthPlace = Cygnet XIV
|Extra =<center>{{sChar|First=Ceciri|Last=Ariadust|Sub=AcademyDiploma|Title=Academy Transcript}}
|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>
{{sChar|First=Ceciri|Last=Ariadust|Sub=Medical Record|Title=Medical History}}
{{Ribbons Rack
  <br>[[Ariadust, Ceciri|Main Page]]</center>
|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>
</pre>
{{end}}
__NOTOC__
__NOTOC__
[[Category:Infobox templates]]
[[Category:Infobox templates]]
[[Category:Templates]]
[[Category:Templates]]
[[Category:Sidebar templates]]
</noinclude>
</noinclude>