User talk:Whale: Difference between revisions

(→‎New Easy Crew Nav: new section)
Line 27: Line 27:


Just thought I should let you know I've updated the sections on Sir Francis Drake and his Drum with my (limited) knowledge.--[[User:JamesTPau|Lt. JG James]] ([[User talk:JamesTPau|talk]]) 15:20, 23 September 2013 (CDT)
Just thought I should let you know I've updated the sections on Sir Francis Drake and his Drum with my (limited) knowledge.--[[User:JamesTPau|Lt. JG James]] ([[User talk:JamesTPau|talk]]) 15:20, 23 September 2013 (CDT)
== New Easy Crew Nav ==
==SB118 Ops Crew Nav==
I've converted your crew nav to a new "Easy Template" version. Full instructions are available here: '''[[Template:Crew]]'''.
===Among the New Features:===
===Simplified format to add officers===
No more messy code! Makes it easier to edit position names and preview them to see if they fit correctly!
<pre>{{Tile|FIRST NAME|Last Name|UNIFORM COLOR|CURRENT POST|Roster Image}}</pre>
For example, just add:
<pre>|{{Tile|William|Rogers|Red|Commanding Officer|Roster-rogers.jpg}}</pre>
to get the next officer's tile added to the nav.
|{{Tile|William|Rogers|Red|Commanding Officer|Roster-rogers.jpg}}
===<font color=red>IMPORTANT NOTE</font>===
If an officer only has a single name, be sure to still put an extra "pipe" character '''|''' after their name.
<pre>{{Tile|Solok||Teal|Chief Medical Officer|Roster-solok.jpg}}</pre>
{{Tile|Solok||Teal|Chief Medical Officer|Roster-solok.jpg}}
===Automatic placement of blank portrait===
Places the [[:File:Roster-blank.jpg|blank portrait roster image]] if no roster image specified. Example:
<pre>{{Tile|M'Wash||Blue|Science Officer}}</pre>
{{Tile|M'Wash||Blue|Science Officer}}
===Automatic resize of roster image===
If an officer's roster image is too large for the nav, it will automatically crop and resize it to fit. Note that while this is a handy feature, it may not produce as nice an image as a properly prepared roster image.
{{Tile|Andrus|Jaxx|Red|Commanding Officer|Jaxxhorse.jpg}}
===Support for '''Nicknames/Abbreviations===
If an officer's name is too long for the nav. Example:
<pre>{{Tile|Cassandra|Egan Manno|NICKNAME=C. Egan Manno|Red|Commanding Officer|Roster-eganmanno.jpg}}</pre>
{{Tile|Cassandra|Egan Manno|NICKNAME=C. Egan Manno|Red|Commanding Officer|Roster-eganmanno.jpg}}
===Simplified color names===
'''<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>'''
===No need to change colspan===
Table automatically keeps header and footer centered.
===Ship placeholder image===
Can be easily specified if there is an odd number of officers.
<pre>{{Shiptile|USS Apollo|Achilles.jpg}}</pre>
{{Shiptile|USS Apollo|Achilles.jpg}}
{{Crew
|SHIP = StarBase 118 Ops
|ROSTER PAGE = StarBase 118 Ops Crew
|NPC PAGE = StarBase 118 Ops NPC Personnel
|HISTORY PAGE = StarBase 118 Ops Crew History}}
|{{Tile|William|Rogers|Red|Commanding Officer|Roster-rogers.jpg}}
|{{Tile|Sakorra|Reed|Red|Strategic Operations|Roster-reed.jpg}}
|{{Tile|Sinda|Essen|Red|Fleet Operations|Roster-essen.jpg}}
|{{Tile|Kendall|Washburn|Red|Flight Operations}}
|{{Tile|Solok||Teal|Chief Medical Officer|Roster-solok.jpg}}
|{{Tile|Alexander|Richards|Blue|Asst. Chief. Sci. Ofc.|Roster-richards.jpg}}
|{{Tile|Oliver|Weston|Black|Intelligence Officer|Roster-weston.jpg}}
|-
|{{Tile|David|Whale|Green|Executive Officer|Roster-whale.jpg}}
|{{Tile|Ta'lis|Merek|Green|Marine Officer|Roster-merek.jpg}}
|{{Tile|Pandora||Gold|Chief Engineer|Roster-pandora.jpg}}
|{{Tile|Nemitor|Atimen|Gold|Chief of Security|Roster-atimen.jpg}}
|{{Tile|Danzia||Teal|Counselor & 2O|Roster-danzia.jpg}}
|{{Tile|M'Wash||Blue|Science Officer}}
|{{Tile|Tsia||Purple|Diplomat|Roster-Tsia.jpg}}
{{Crewfooter}}
For reference, this is the code generating the current version of the nav above:
<pre>
{{Crew
|SHIP = StarBase 118 Ops
|ROSTER PAGE = StarBase 118 Ops Crew
|NPC PAGE = StarBase 118 Ops NPC Personnel
|HISTORY PAGE = StarBase 118 Ops Crew History}}
|{{Tile|William|Rogers|Red|Commanding Officer|Roster-rogers.jpg}}
|{{Tile|Sakorra|Reed|Red|Strategic Operations|Roster-reed.jpg}}
|{{Tile|Sinda|Essen|Red|Fleet Operations|Roster-essen.jpg}}
|{{Tile|Kendall|Washburn|Red|Flight Operations}}
|{{Tile|Solok||Teal|Chief Medical Officer|Roster-solok.jpg}}
|{{Tile|Alexander|Richards|Blue|Asst. Chief. Sci. Ofc.|Roster-richards.jpg}}
|{{Tile|Oliver|Weston|Black|Intelligence Officer|Roster-weston.jpg}}
|-
|{{Tile|David|Whale|Green|Executive Officer|Roster-whale.jpg}}
|{{Tile|Ta'lis|Merek|Green|Marine Officer|Roster-merek.jpg}}
|{{Tile|Pandora||Gold|Chief Engineer|Roster-pandora.jpg}}
|{{Tile|Nemitor|Atimen|Gold|Chief of Security|Roster-atimen.jpg}}
|{{Tile|Danzia||Teal|Counselor & 2O|Roster-danzia.jpg}}
|{{Tile|M'Wash||Blue|Science Officer}}
|{{Tile|Tsia||Purple|Diplomat|Roster-Tsia.jpg}}
{{Crewfooter}}
</pre>
If you have any questions, let me know! –[[User:Rich|Rich]]<sup>[[User talk:Rich|(talk page)]]</sup> ''aka Lt.Cmdr. Rahman'' 13:54, 29 January 2014 (CST)