Template:Crew: Difference between revisions

1,202 bytes added ,  29 January 2014
no edit summary
(added Green)
No edit summary
Line 41: Line 41:
</pre>
</pre>


* Supports additional officers and rows as specified by the user.
===New Features:===
*'''OFFICER NAMES''' are written in the following format ('''similar to [[Template:Roster]] to make things easy. Just replace RANK with Tile'''):
===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>
<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}}


*If no last name, still place an extra | before specifying UNIFORM COLOR.
*If no roster image, leave blank to get blank image. Example of both cases below:
<pre>{{Tile|Single Name||UNIFORM COLOR|CURRENT POST}}|</pre>


* If officer has a LONG NAME, use '''NICKNAME=''' to specify shorter name for Crew Nav:
====<font color=red>IMPORTANT NOTE:</font> Officers with Single Names====
<pre>{{Tile|FIRST NAME|Last Name|NICKNAME=|UNIFORM COLOR|CURRENT POST|Roster Image}}</pre>
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}}


'''Example:'''
===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>
<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===
Use these names when specifying UNIFORM COLOR:
'''<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===
When you have an odd number of officers and more than 1 row, put a ship placeholder image with a link to your ship in the last row:
<pre>{{Shiptile|SHIP PAGE|PLACEHOLDER IMAGE}}</pre>
Example:
<pre>{{Shiptile|USS Mercury|Roster-oracle.jpg}}</pre>
{{Shiptile|USS Mercury|Roster-oracle.jpg}}


===<font color=red>Abbreviations May Be Necessary</font>===
* You may need to abbreviate the officer's '''CURRENT POST''' as well if his or her title is too long. Common abbreviations include:
* You may need to abbreviate the officer's '''CURRENT POST''' as well if his or her title is too long. Common abbreviations include:
*Officer = Ofc.
*Officer = Ofc.
Line 61: Line 90:
*Assistant = Asst.
*Assistant = Asst.
*Director = Dir.
*Director = Dir.
*Use these names when specifying '''UNIFORM COLOR''': Red, Gold, Blue, Teal, Violet, Black, Silver, Green
===Ship Placeholder Image for Odd Number of Officers===
*When you have an odd number of officers and more than 1 row, put a ship placeholder image with a link to your ship in the last row:
<pre>{{Shiptile|SHIP PAGE|PLACEHOLDER IMAGE}}</pre>
Example:
<pre>{{Shiptile|USS Mercury|Roster-oracle.jpg}}</pre>