24,068
edits
(added Green) |
No edit summary |
||
Line 41: | Line 41: | ||
</pre> | </pre> | ||
===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> | <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}} | |||
====<font color=red>IMPORTANT NOTE:</font> Officers with Single Names==== | |||
<pre>{{Tile| | 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}} | |||
===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. | ||