Template:Crew: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(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>





Revision as of 19:46, 29 January 2014

Check out Template:Roster to make your own easy roster with images to go with your new crew nav!

Easy Crew Nav


NPC Listing   ·   USS Fantasy Senior Staff   ·   Crew History
Roster-chaun.jpg
Commanding Officer
Dre'lith Chaun
Roster-blank.jpg
Chief of Security
Zhou Tai-Sheng
Roster-vistain.jpg
Chief Engineer
Danielle Vistain
Roster-lenai.jpg
Science Officer
Renia Lenai
Roster-blank.jpg
First Officer
Maravosh
Roster-ivanova.jpg
Security Officer
Lidia Ivanova
Roster-blank.jpg
Medical Officer
Charles Sampi
Roster-oracle.jpg
[[Template:{{{CREWNAV}}}|Edit This Nav]]

Ships Using This Template

Click on the individual ship crew nav to edit:

How to Use

{{Crew
|SHIP = Ship or Station's Name
|ROSTER PAGE = Ship or Station's Roster Page
|NPC PAGE = Ship or Station's NPCs Page
|HISTORY PAGE = Ship or Station's Crew History Page}}
|Commanding Officer
|Next Officer to the RIGHT of the previous
|Next Officer to the RIGHT of the previous, etc.
|-
|Next Officer on SECOND row
|Next Officer on SECOND row to the RIGHT of the previous, etc.
{{Crewfooter}}

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!

{{Tile|FIRST NAME|Last Name|UNIFORM COLOR|CURRENT POST|Roster Image}}

For example, just add:

{{Tile|Andrus|Jaxx|Red|Commanding Officer|JaxxSmall.jpg}}

to get the next officer's tile added to the nav.

JaxxSmall.jpg
Commanding Officer
Andrus Jaxx


IMPORTANT NOTE: Officers with Single Names

If an officer only has a single name, be sure to still put an extra "pipe" character | after their name.

{{Tile|T'Mar||Gold|Chief of Security|TMarSmall.jpg}}
TMarSmall.jpg
Chief of Security
T'Mar

Automatic placement of blank portrait

Places the blank portrait roster image if no roster image specified. Example:

{{Tile|M'Wash||Blue|Science Officer}}
Roster-blank.jpg
Science Officer
M'Wash

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.

Jaxxhorse.jpg
Commanding Officer
Andrus Jaxx

Support for Nicknames/Abbreviations

If an officer's name is too long for the nav. Example:

{{Tile|Cassandra|Egan Manno|NICKNAME=C. Egan Manno|Red|Commanding Officer|Roster-eganmanno.jpg}}
Roster-eganmanno.jpg
Commanding Officer
C. Egan Manno

Simplified color names

Use these names when specifying UNIFORM COLOR: Red, Gold, Blue, Teal, Violet, Black, Silver, Green

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:

{{Shiptile|SHIP PAGE|PLACEHOLDER IMAGE}}

Example:

{{Shiptile|USS Mercury|Roster-oracle.jpg}}
Roster-oracle.jpg

Abbreviations May Be Necessary

  • 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.
  • Security/Tactical = Tac/Sec
  • Assistant = Asst.
  • Director = Dir.


Example

{{Crew
|SHIP = USS Garuda
|ROSTER PAGE = Garuda Master Crew List
|NPC PAGE = Garuda NPCs
|HISTORY PAGE = Garuda Crew History}}
|{{Tile|Cassandra|Egan Manno|NICKNAME=C. Egan Manno|Red|Commanding Officer|Roster-eganmanno.jpg}}
|{{Tile|Roshanara|Rahman|Gold|Chief Engineer & 2O|Roster-rahman.jpg}}
|{{Tile|Mei'konda||Gold|Chief of Operations|Roster-meikonda.jpg}}
|{{Tile|Leo|Handley-Page|Gold|Chief of Sec/Tac|Roster-handleypage.jpg}}
|{{Tile|Quinn|Reynolds|Black|Dir. of Intelligence|Roster-reynolds.jpg}}
|{{Tile|Saveron||Teal|Chief Medical Officer|Roster-saveron.jpg}}
|{{Tile|Rune|Jolara|Teal|Head Counselor|Roster-jolara.jpg}}
|{{Tile|Alora|DeVeau|Blue|Science Officer|Roster-deveau.jpg}}
|-
|{{Tile|Harrison|Ross|Red|Executive Officer|Roster-ross.jpg}}
|{{Tile|Kyle|Dracht|Gold|Engineering Officer|Roster-dracht.jpg}}
|{{Tile|Evan|Delano|Gold|Helm/Com/Ops Ofc.|Roster-delano.jpg}}
|{{Tile|Jade|Shryker|Gold|Asst. Sec/Tac Chief|Roster-jadematthews.jpg}}
|{{Tile|Trel'lis||Gold|Sec-Tac Liaison|Roster-trellis.jpg}}
|{{Tile|Kotir Arith||Teal|Asst. Chief Med. Ofc.|Roster-kotir.jpg}}
|{{Tile|Manuel|Calavera|Teal|Counselor|Roster-calavera.jpg}}
|{{Tile|John|Mackellar|Silver|Civ. Med. Specialist|Roster-mackellar.jpg}}
{{Crewfooter}}


NPC Listing   ·   USS Garuda Senior Staff   ·   Crew History
Roster-eganmanno.jpg
Commanding Officer
C. Egan Manno
Roster-rahman.jpg
Chief Engineer & 2O
Roshanara Rahman
Roster-meikonda.jpg
Chief of Operations
Mei'konda
Roster-handleypage.jpg
Chief of Sec/Tac
Leo Handley-Page
Roster-reynolds.jpg
Dir. of Intelligence
Quinn Reynolds
Roster-saveron.jpg
Chief Medical Officer
Saveron
Roster-jolara.jpg
Head Counselor
Rune Jolara
Roster-deveau.jpg
Science Officer
Alora DeVeau
Roster-ross.jpg
Executive Officer
Harrison Ross
Roster-dracht.jpg
Engineering Officer
Kyle Dracht
Roster-delano.jpg
Helm/Com/Ops Ofc.
Evan Delano
Roster-jadematthews.jpg
Asst. Sec/Tac Chief
Jade Shryker
Roster-trellis.jpg
Sec-Tac Liaison
Trel'lis
Roster-kotir.jpg
Asst. Chief Med. Ofc.
Kotir Arith
Roster-calavera.jpg
Counselor
Manuel Calavera
Roster-mackellar.jpg
Civ. Med. Specialist
John Mackellar
[[Template:{{{CREWNAV}}}|Edit This Nav]]