User talk:Jaxx: Difference between revisions

No edit summary
(→‎New Easy Crew Nav: new section)
Line 15: Line 15:
===Roster images===
===Roster images===
Hi there! I saw the Apollo is using the roster image style templates and manifests. Yay! If you could, in the future please add the category [[:Category:Roster images]] to the new files so they are automatically added to the library of roster images and use the naming convention of "Roster-surname.jpg" (surname in lowercase or full name in lower case if surname is already taken) to make things easier to find if people transfer between ships that use this style of templates. Thanks! –[[User:Rich|Rich]]<sup>[[User talk:Rich|(talk page)]]</sup> ''aka Lt.Cmdr. Rahman'' 17:41, 21 January 2014 (CST)
Hi there! I saw the Apollo is using the roster image style templates and manifests. Yay! If you could, in the future please add the category [[:Category:Roster images]] to the new files so they are automatically added to the library of roster images and use the naming convention of "Roster-surname.jpg" (surname in lowercase or full name in lower case if surname is already taken) to make things easier to find if people transfer between ships that use this style of templates. Thanks! –[[User:Rich|Rich]]<sup>[[User talk:Rich|(talk page)]]</sup> ''aka Lt.Cmdr. Rahman'' 17:41, 21 January 2014 (CST)
== New Easy Crew Nav ==
==Apollo 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|Andrus|Jaxx|Red|Commanding Officer|JaxxSmall.jpg}}</pre>
to get the next officer's tile added to the nav.
{{Tile|Andrus|Jaxx|Red|Commanding Officer|JaxxSmall.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}}
===<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|T'Mar||Gold|Chief of Security|TMarSmall.jpg}}</pre>
{{Tile|T'Mar||Gold|Chief of Security|TMarSmall.jpg}}
{{Crew
|SHIP = USS Apollo
|ROSTER PAGE = USS Apollo Crew
|NPC PAGE = USS Apollo NPC Personnel
|HISTORY PAGE = Apollo Crew History}}
|{{Tile|Andrus|Jaxx|Red|Commanding Officer|JaxxSmall.jpg}}
|{{Tile|Sundassa|Faranster|Red|Executive Officer|SundassaSmall.jpg}}
|{{Tile|Dade|Triston|Gold|Chief Engineer|DadeSmall.jpg}}
|{{Tile|Eileen|McCleran|Gold|Engineering Officer|Roster-McCleran.jpg}}
|{{Tile|Jalana|Laxyn|Teal|Chief Medical Officer|JalanaSmall.jpg}}
|{{Tile|Hail|Samford|Teal|Counselor|HailSmall.jpg}}
|{{Tile|Liam|Frost|Black|Intelligence Officer|LiamSmall.jpg}}
|-
|{{Tile|Tal|Tel-ar|Red|Chief of Operations|Roster-tel-ar.jpg}}
|{{Tile|Edward|Johnson|Red|Chief Helm Officer|EdwardSmall.jpg}}
|{{Tile|T'Mar||Gold|Chief of Security|TMarSmall.jpg}}
|{{Tile|Kyla|Kirosa|Gold|Security Officer|Kirosasmall.jpg}}
|{{Tile|Alexander|Williams|Gold|Chief Tactical Officer|AlexanderSmall.jpg}}
|{{Tile|Suvi|Ila|Blue|Chief Science Officer|SuviSmall.jpg}}
|{{Shiptile|USS Apollo|Achilles.jpg}}
{{Crewfooter}}
For reference, this is the code generating the current version of the nav above:
<pre>
{{Crew
|SHIP = USS Apollo
|ROSTER PAGE = USS Apollo Crew
|NPC PAGE = USS Apollo NPC Personnel
|HISTORY PAGE = Apollo Crew History}}
|{{Tile|Andrus|Jaxx|Red|Commanding Officer|JaxxSmall.jpg}}
|{{Tile|Sundassa|Faranster|Red|Executive Officer|SundassaSmall.jpg}}
|{{Tile|Dade|Triston|Gold|Chief Engineer|DadeSmall.jpg}}
|{{Tile|Eileen|McCleran|Gold|Engineering Officer|Roster-McCleran.jpg}}
|{{Tile|Jalana|Laxyn|Teal|Chief Medical Officer|JalanaSmall.jpg}}
|{{Tile|Hail|Samford|Teal|Counselor|HailSmall.jpg}}
|{{Tile|Liam|Frost|Black|Intelligence Officer|LiamSmall.jpg}}
|-
|{{Tile|Tal|Tel-ar|Red|Chief of Operations|Roster-tel-ar.jpg}}
|{{Tile|Edward|Johnson|Red|Chief Helm Officer|EdwardSmall.jpg}}
|{{Tile|T'Mar||Gold|Chief of Security|TMarSmall.jpg}}
|{{Tile|Kyla|Kirosa|Gold|Security Officer|Kirosasmall.jpg}}
|{{Tile|Alexander|Williams|Gold|Chief Tactical Officer|AlexanderSmall.jpg}}
|{{Tile|Suvi|Ila|Blue|Chief Science Officer|SuviSmall.jpg}}
|{{Shiptile|USS Apollo|Achilles.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:39, 29 January 2014 (CST)