Template:Crew: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
No edit summary
Line 66: Line 66:
If an officer's roster image is too large for the nav, it will automatically resize by width and then crop off the bottom edge to fit if necessary.
If an officer's roster image is too large for the nav, it will automatically resize by width and then crop off the bottom edge to fit if necessary.


Note that while this is a handy feature, it may not produce as nice an image as a [[:Category:Roster images|'''properly prepared roster image''']].
{{Tile|Maravosh||Red|Helm Officer|Maravosh.jpg}}
<br style="clear:both;" />
====<font color=green>NEW UPDATE!</font> User Correctioning of Automatic Resize and Crop====
You can now tell the template to zoom into your image and change positioning! Check out [[Template:Roster/Image Guide|the image guide for the roster template]] as the basic principle is the same. Just add the extra numbers for your corrections to the end of the officer's code, with the first number being how far you want the image to move up (i.e., how far do you want to see more downward), the second number being how far to move the image left (see more to the right), and the third number being how many times to zoom the image. 1.2x is a good place to start.
 
'''Example'''
''Original:''
{{Tile|Tracey|Townson|Black|Intelligence Officer|TraceyIntel uni.jpg}}
 
''Raw code for corrections:''
<pre>{{Tile|Tracey|Townson|Black|Intelligence Officer|TraceyIntel uni.jpg|0|40|1.7}}</pre>


{{Tile|Maravosh||Red|Helm Officer|Maravosh.jpg}}
{{Tile|Tracey|Townson|Black|Intelligence Officer|TraceyIntel uni.jpg|0|40|1.7}}


<br style="clear:both;" />
===Support for Nicknames/Abbreviations===
===Support for Nicknames/Abbreviations===
If an officer's name is too long for the nav. Example:
If an officer's name is too long for the nav. Example:

Revision as of 02:13, 1 February 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
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|CREWNAV= Ship CrewNav w/o "Template:" prefix }}

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|Roster-jaxx.jpg}}

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

Roster-jaxx.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|Roster-tmar.jpg}}
Roster-tmar.jpg
Chief of Security
T'Mar

Automatic placement of blank portrait

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

{{Tile|Tenzin|Zhou|Teal|Medical Officer}}
Roster-blank.jpg
Medical Officer
Tenzin Zhou

Automatic resize and crop of a larger image

Original image

If an officer's roster image is too large for the nav, it will automatically resize by width and then crop off the bottom edge to fit if necessary.


Maravosh.jpg
Helm Officer
Maravosh


NEW UPDATE! User Correctioning of Automatic Resize and Crop

You can now tell the template to zoom into your image and change positioning! Check out the image guide for the roster template as the basic principle is the same. Just add the extra numbers for your corrections to the end of the officer's code, with the first number being how far you want the image to move up (i.e., how far do you want to see more downward), the second number being how far to move the image left (see more to the right), and the third number being how many times to zoom the image. 1.2x is a good place to start.

Example Original:

TraceyIntel uni.jpg
Intelligence Officer
Tracey Townson

Raw code for corrections:

{{Tile|Tracey|Townson|Black|Intelligence Officer|TraceyIntel uni.jpg|0|40|1.7}}


TraceyIntel uni.jpg
Intelligence Officer
Tracey Townson

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 Oracle
|ROSTER PAGE = Oracle Master Crew List
|NPC PAGE = Oracle NPCs
|HISTORY PAGE = Oracle Crew History}}
|{{Tile|Dre'lith|Chaun|Red|Commanding Officer|Roster-chaun.jpg}}
|{{Tile|Danielle|Vistain|Gold|Chief Engineer|Roster-vistain.jpg}}
|{{Tile|Mei'konda||Gold|Chief of Operations|Roster-meikonda.jpg}}
|{{Tile|Lidia|Ivanova|Gold|Chief of Sec/Tac|Roster-ivanova.jpg}}
|{{Tile|Alora|DeVeau|Blue|Science Officer|Roster-deveau.jpg}}
|{{Tile|Tenzin|Zhou|Teal|Chief Medical Officer}}
|{{Tile|Rune|Jolara|Teal|Head Counselor|Roster-jolara.jpg}}
|{{Tile|Quinn|Reynolds|Black|Dir. of Intelligence|Roster-reynolds.jpg}}
|-
|{{Tile|Maravosh||Red|Executive Officer}}
|{{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. CMO|Roster-kotir.jpg}}
|{{Tile|Manuel|Calavera|Teal|Counselor|Roster-calavera.jpg}}
|{{Shiptile|USS Oracle|Roster-oracle.jpg}}
{{Crewfooter|CREWNAV=OracleCrew}}


NPC Listing   ·   USS Oracle Senior Staff   ·   Crew History
Roster-chaun.jpg
Commanding Officer
Dre'lith Chaun
Roster-vistain.jpg
Chief Engineer
Danielle Vistain
Roster-meikonda.jpg
Chief of Operations
Mei'konda
Roster-ivanova.jpg
Chief of Sec/Tac
Lidia Ivanova
Roster-deveau.jpg
Science Officer
Alora DeVeau
Roster-blank.jpg
Chief Medical Officer
Tenzin Zhou
Roster-jolara.jpg
Head Counselor
Rune Jolara
Roster-reynolds.jpg
Dir. of Intelligence
Quinn Reynolds
Roster-blank.jpg
Executive Officer
Maravosh
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. CMO
Kotir Arith
Roster-calavera.jpg
Counselor
Manuel Calavera
Roster-oracle.jpg
Edit This Nav