Template:Crew: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(category update)
(Updating instructions for current use with ID subpages; removing notices about new (now old) features)
Line 4: Line 4:
{|
{|
{|cellspacing="0"</includeonly><noinclude>:'''''Check out [[Template:Roster]] to make your own easy roster with images to go with your new crew nav!'''''
{|cellspacing="0"</includeonly><noinclude>:'''''Check out [[Template:Roster]] to make your own easy roster with images to go with your new crew nav!'''''
===Easy Crew Nav===
 
{{Crew
====Examples Using This Template====
|SHIP = USS Mercury
|ROSTER PAGE = Mercury Master Crew List
|NPC PAGE = Mercury NPCs
|HISTORY PAGE = Mercury Crew History}}
|{{Tile|Tara|Mirza|Red|Commanding Officer|Mirza.jpg|8|8|1.3}}
|{{Tile|Juanita|Sanchez|Gold|Chief Engineer|Juanita.jpg|4|8|1.3}}
|{{Tile|Jess|Webber|Gold|Operations Officer|Jess Webber.jpg|25|10|1.2}}
|{{Tile|Pouge|Romey|Teal|Chief Medical Ofc.|PRomey.jpg|19|0}}
|{{Tile|Jackson|Hendricks|Blue|Science Officer|Jackson Hendricks.jpg}}
|-
|{{Tile|Gabriel|Evanston|Red|Executive Officer|Gabriel Evanston.jpg}}
|{{Tile|Ba'roq||Gold|Engineering Officer|Baroq.jpg}}
|{{Tile|Nick|Falls|Gold|Tactical Officer|Nick Falls.jpg|28}}
|{{Tile|Akyra|Venroe|Teal|Counselor|AVenroe.jpg|5}}
|{{Shiptile|USS Mercury|Roster-oracle.jpg}}
{{Crewfooter|CREWNAV=MercuryCrew}}
====Ships Using This Template====
Click on the individual ship crew nav to edit:
Click on the individual ship crew nav to edit:
*'''[[Template:GarudaCrew]]'''
*'''[[Template:InvictaCrew]]'''
*'''[[Template:Sb118crew]]'''
*'''[[Template:Sb118crew]]'''
*'''[[Template:Apollo-crew]]'''
{| cellspacing="3" width="80%"
|- valign="top"
|bgcolor="beige" style="border:1px solid darkgreen; padding:1em; padding-top:0.5em; padding-bottom:0em; color: black;"|
===<font color=green>NEW!</font> Added [[:Category:ID subpages|character ID subpage]] support.===
[[:Category:ID subpages|Character ID subpages]] can now be used by Template:Crew. Instead of having to specify the image information on the crew nav page itself, you can place all this information on an ID subpage of that character.
Template:Crew will then take the information from that subpage to display the character on the ship's crew nav.
This allows the crew nav page code to be relatively clean and makes it easy when transferring characters between ships.
Existing options such as NICKNAME are supported.
[[:Category:ID subpages|'''Click here for more information and instructions.''']]
|}


==How to Use==
==How to Use==
Line 61: Line 26:
</pre>
</pre>


===New Features:===
==Full Example==
===Simplified format to add officers===
<pre>
No more messy code! Makes it easier to edit position names and preview them to see if they fit correctly!
{{Crew
<pre>{{Tile|FIRST NAME|Last Name|UNIFORM COLOR|CURRENT POST|Roster Image}}</pre>
|SHIP = USS Syracuse
For example, just add:
|ROSTER PAGE = Syracuse Master Crew List
<pre>{{Tile|Andrus|Jaxx|Red|Commanding Officer|Roster-jaxx.jpg}}</pre>
|NPC PAGE = Syracuse NPCs
to get the next officer's tile added to the nav.
|HISTORY PAGE = Invicta Crew History}}
{{Tile|Andrus|Jaxx|Red|Commanding Officer|Roster-jaxx.jpg}}
|{{Tile Officer|Roshanara Rahman|Red|Commanding Ofc.}}
|{{Tile Officer|Pandora|Gold|Operations Ofc.}}
|{{Tile Officer|Nikki Ryan|Gold|Chief Engineer}}
|{{Tile Officer|Raj Blueheart|Teal|Chief Medical Ofc.}}
|{{Logotile|USS Syracuse}}
|-
|{{Tile Officer|Niccolò del Vedova|Red|First Officer}}
|{{Tile Officer|Hanar Tuk|Gold|Chief of Security}}
|{{Tile Officer|Raissa Moonsong|Teal|Counselor}}
|{{Tile Officer|Alora DeVeau|Teal|Chief of Science}}
|{{Tile Officer|T'Lea|Teal|H&A Specialist}}
{{Crewfooter|CREWNAV=SyracuseCrew}}
</pre>
 
{{Crew
|SHIP = USS Syracuse
|ROSTER PAGE = Syracuse Master Crew List
|NPC PAGE = Syracuse NPCs
|HISTORY PAGE = Invicta Crew History}}
|{{Tile Officer|Roshanara Rahman|Red|Commanding Ofc.}}
|{{Tile Officer|Pandora|Gold|Operations Ofc.}}
|{{Tile Officer|Nikki Ryan|Gold|Chief Engineer}}
|{{Tile Officer|Raj Blueheart|Teal|Chief Medical Ofc.}}
|{{Logotile|USS Syracuse}}
|-
|{{Tile Officer|Niccolò del Vedova|Red|First Officer}}
|{{Tile Officer|Hanar Tuk|Gold|Chief of Security}}
|{{Tile Officer|Raissa Moonsong|Teal|Counselor}}
|{{Tile Officer|Alora DeVeau|Teal|Chief of Science}}
|{{Tile Officer|T'Lea|Teal|H&A Specialist}}
{{Crewfooter|CREWNAV=SyracuseCrew}}


==Detailed Instructions===
===Adding Officers===
* OFFICER NAMES are written in the following format:
<pre>{{Tile Officer|CHARACTER NAME|UNIFORM COLOR|CURRENT POST}}</pre>


====<font color=red>IMPORTANT NOTE:</font> Officers with Single Names====
<font size=4 color=red>'''Important:''' Make sure the officer you are listing has a [[:Category:ID subpages|character ID subpage]] set up for them such as [[Msafiri Bakari/ID]].</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|Roster-tmar.jpg}}</pre>
{{Tile|T'Mar||Gold|Chief of Security|Roster-tmar.jpg}}


===Automatic placement of blank portrait===
Example:
Places the [[:File:Roster-blank.jpg|blank portrait roster image]] if no roster image specified. Example:
<pre>{{Tile|Tenzin|Zhou|Teal|Medical Officer}}</pre>
{{Tile|Tenzin|Zhou|Teal|Medical Officer}}


===Automatic resize and crop of a larger image===
<pre>{{Tile Officer|Msafiri Bakari|Red|First Officer}}</pre>
[[File:Maravosh.jpg|thumb|left|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.


{{Tile|Maravosh||Red|Helm Officer|Maravosh.jpg}}
{{Tile Officer|Msafiri Bakari|Red|First Officer}}
<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:''
{{bluebox|
<pre>{{Tile|Tracey|Townson|Black|Intelligence Officer|TraceyIntel uni.jpg|0|40|1.7}}</pre>
===Adding a character who doesn't have an ID subpage===
If you're building a crew nav template for an NPC ship and you wish to add NPC characters that do NOT have ID subpages, [[Template:Crew/No ID subpage|click for instructions]].
}}


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


===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 tile, add NICKNAME=
<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===
<pre>{{Tile Officer|Cassandra Egan Manno|Red|Mission Cmdr.|NICKNAME=C. Egan Manno}}</pre>
 
{{Tile Officer|Cassandra Egan Manno|Red|Mission Cmdr.|NICKNAME=C. Egan Manno}}
 
===Color Names===
Use these names when specifying UNIFORM COLOR:
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>'''
'''<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===
===Ship placeholder image===
Line 127: Line 112:
If your ship does not have a logo, a generic UFOP symbol will be displayed.
If your ship does not have a logo, a generic UFOP symbol will be displayed.
{{Logotile|USS Independence}}
{{Logotile|USS Independence}}
====All Logos====
{| style="background:#343434; border-width: 2px; border-style: solid;" align=left
|{{Logotile|Embassy of Duronis II}}
|{{Logotile|StarBase 118 Ops}}
|{{Logotile|USS Apollo}}
|{{Logotile|USS Atlantis}}
|{{Logotile|USS Avandar}}
|-
|{{Logotile|USS Darwin-A}}
|{{Logotile|USS Discovery-C}}
|{{Logotile|USS Excalibur-A}}
|{{Logotile|USS Garuda}}
|{{Logotile|USS Gemini}}
|-
|{{Logotile|USS Mercury}}
|{{Logotile|USS Tiger-A}}
|{{Logotile|USS Thunder-A}}
|{{Logotile|USS Vigilant}}
|{{Logotile|USS Independence}}
|}
<br style="clear:both;" />


===<font color=red>Abbreviations May Be Necessary</font>===
===<font color=red>Abbreviations May Be Necessary</font>===
Line 157: Line 120:
*Director = Dir.
*Director = Dir.


 
==Complete Example==
===Example===
<pre>
<pre>
{{Crew
{{Crew
|SHIP = USS Mercury
|SHIP = USS Invicta
|ROSTER PAGE = Mercury Master Crew List
|ROSTER PAGE = Invicta Master Crew List
|NPC PAGE = Mercury NPCs
|NPC PAGE = Invicta NPCs
|HISTORY PAGE = Mercury Crew History}}
|HISTORY PAGE = Invicta Crew History}}
|{{Tile|Tara|Mirza|Red|Commanding Officer|Mirza.jpg|8|8|1.3}}
|{{Tile Officer|Joseph Washington|Red|Commanding Ofc.}}
|{{Tile|Juanita|Sanchez|Gold|Chief Engineer|Juanita.jpg|4|8|1.3}}
|{{Tile Officer|Rune Jolara|Red|Intelligence Ofc.}}
|{{Tile|Jess|Webber|Gold|Operations Officer|Jess Webber.jpg|25|10|1.2}}
|{{Tile Officer|Ryan King|Red|Helmsman}}
|{{Tile|Pouge|Romey|Teal|Chief Medical Ofc.|PRomey.jpg|19|0}}
|{{Tile Officer|Pandora|Gold|Operations Ofc.}}
|{{Tile|Jackson|Hendricks|Blue|Science Officer|Jackson Hendricks.jpg}}
|{{Tile Officer|Luna Walker|Gold|Chief Engineer}}
|{{Tile Officer|Raj Blueheart|Teal|Chief Medical Ofc.}}
|{{Tile Officer|Rosalee|Teal|Medical Officer}}
|{{Tile Officer|Umi Kaj|Teal|Medical Officer}}
|{{Logotile|USS Invicta}}
|-
|-
|{{Tile|Gabriel|Evanston|Red|Executive Officer|Gabriel Evanston.jpg}}
|{{Tile Officer|Tristam Core|Red|First Officer}}
|{{Tile|Ba'roq||Gold|Engineering Officer|Baroq.jpg}}
|{{Tile Officer|Ceilidh Riverview|Red|Diplomatic Ofc.}}
|{{Tile|Nick|Falls|Gold|Tactical Officer|Nick Falls.jpg|28}}
|{{Tile Officer|Hanar Tuk|Gold|Chief of Security}}
|{{Tile|Akyra|Venroe|Teal|Counselor|AVenroe.jpg|5}}
|{{Tile Officer|Kelrod|Gold|SAR Team Leader}}
|{{Shiptile|USS Mercury|Roster-oracle.jpg}}
|{{Tile Officer|Iris Macoy|Gold|Engineer}}
{{Crewfooter|CREWNAV=Mercury}}
|{{Tile Officer|Raissa Moonsong|Teal|Counselor}}
|{{Tile Officer|Alora DeVeau|Teal|Chief of Science}}
|{{Tile Officer|T'Lea|Teal|H&A Specialist}}
|{{Tile Officer|Stiftany Harik|Teal|Science Officer}}
{{Crewfooter|CREWNAV=InvictaCrew}}
</pre>
</pre>


{{Crew
{{Crew
|SHIP = USS Mercury
|SHIP = USS Invicta
|ROSTER PAGE = Mercury Master Crew List
|ROSTER PAGE = Invicta Master Crew List
|NPC PAGE = Mercury NPCs
|NPC PAGE = Invicta NPCs
|HISTORY PAGE = Mercury Crew History}}
|HISTORY PAGE = Invicta Crew History}}
|{{Tile|Tara|Mirza|Red|Commanding Officer|Mirza.jpg|8|8|1.3}}
|{{Tile Officer|Joseph Washington|Red|Commanding Ofc.}}
|{{Tile|Juanita|Sanchez|Gold|Chief Engineer|Juanita.jpg|4|8|1.3}}
|{{Tile Officer|Rune Jolara|Red|Intelligence Ofc.}}
|{{Tile|Jess|Webber|Gold|Operations Officer|Jess Webber.jpg|25|10|1.2}}
|{{Tile Officer|Ryan King|Red|Helmsman}}
|{{Tile|Pouge|Romey|Teal|Chief Medical Ofc.|PRomey.jpg|19|0}}
|{{Tile Officer|Pandora|Gold|Operations Ofc.}}
|{{Tile|Jackson|Hendricks|Blue|Science Officer|Jackson Hendricks.jpg}}
|{{Tile Officer|Luna Walker|Gold|Chief Engineer}}
|{{Tile Officer|Raj Blueheart|Teal|Chief Medical Ofc.}}
|{{Tile Officer|Rosalee|Teal|Medical Officer}}
|{{Tile Officer|Umi Kaj|Teal|Medical Officer}}
|{{Logotile|USS Invicta}}
|-
|-
|{{Tile|Gabriel|Evanston|Red|Executive Officer|Gabriel Evanston.jpg}}
|{{Tile Officer|Tristam Core|Red|First Officer}}
|{{Tile|Ba'roq||Gold|Engineering Officer|Baroq.jpg}}
|{{Tile Officer|Ceilidh Riverview|Red|Diplomatic Ofc.}}
|{{Tile|Nick|Falls|Gold|Tactical Officer|Nick Falls.jpg|28}}
|{{Tile Officer|Hanar Tuk|Gold|Chief of Security}}
|{{Tile|Akyra|Venroe|Teal|Counselor|AVenroe.jpg|5}}
|{{Tile Officer|Kelrod|Gold|SAR Team Leader}}
|{{Shiptile|USS Mercury|Roster-oracle.jpg}}
|{{Tile Officer|Iris Macoy|Gold|Engineer}}
{{Crewfooter|CREWNAV=Mercury}}__NOTOC__
|{{Tile Officer|Raissa Moonsong|Teal|Counselor}}
|{{Tile Officer|Alora DeVeau|Teal|Chief of Science}}
|{{Tile Officer|T'Lea|Teal|H&A Specialist}}
|{{Tile Officer|Stiftany Harik|Teal|Science Officer}}
{{Crewfooter|CREWNAV=InvictaCrew}}
 
[[Category:Templates]]
[[Category:Templates]]
[[Category:Navigation templates]]
[[Category:Navigation templates]]
</noinclude>
</noinclude>

Revision as of 21:39, 23 August 2016

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

Examples 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 }}

Full Example

{{Crew
|SHIP = USS Syracuse
|ROSTER PAGE = Syracuse Master Crew List
|NPC PAGE = Syracuse NPCs
|HISTORY PAGE = Invicta Crew History}}
|{{Tile Officer|Roshanara Rahman|Red|Commanding Ofc.}}
|{{Tile Officer|Pandora|Gold|Operations Ofc.}}
|{{Tile Officer|Nikki Ryan|Gold|Chief Engineer}}
|{{Tile Officer|Raj Blueheart|Teal|Chief Medical Ofc.}}
|{{Logotile|USS Syracuse}}
|-
|{{Tile Officer|Niccolò del Vedova|Red|First Officer}}
|{{Tile Officer|Hanar Tuk|Gold|Chief of Security}}
|{{Tile Officer|Raissa Moonsong|Teal|Counselor}}
|{{Tile Officer|Alora DeVeau|Teal|Chief of Science}}
|{{Tile Officer|T'Lea|Teal|H&A Specialist}}
{{Crewfooter|CREWNAV=SyracuseCrew}}


NPC Listing   ·   USS Syracuse Crew Manifest   ·   Crew History
Rahman-Official-Portrait-2397.png
Commanding Ofc.
Roshanara Rahman
Pandora.jpg
Operations Ofc.
Pandora
NikkiRyan2.jpg
Chief Engineer
Nikki Ryan
Capt Raj Blueheart1.png
Chief Medical Ofc.
Raj Blueheart
Syracuselogo.png
Delvedova.jpg
First Officer
Niccolò del Vedova
Tuk.jpg
Chief of Security
Hanar Tuk
MoonsongLCDR01.jpg
Counselor
Raissa Moonsong
Alora deveau2.png
Chief of Science
Alora DeVeau
TLeaFO.png
H&A Specialist
T'Lea
Edit This Nav

Detailed Instructions=

Adding Officers

  • OFFICER NAMES are written in the following format:
{{Tile Officer|CHARACTER NAME|UNIFORM COLOR|CURRENT POST}}

Important: Make sure the officer you are listing has a character ID subpage set up for them such as Msafiri Bakari/ID.

Example:

{{Tile Officer|Msafiri Bakari|Red|First Officer}}


Bakari.jpg
First Officer
Msafiri Bakari


Adding a character who doesn't have an ID subpage

If you're building a crew nav template for an NPC ship and you wish to add NPC characters that do NOT have ID subpages, click for instructions.


Support for Nicknames/Abbreviations

If an officer's name is too long for the tile, add NICKNAME=

{{Tile Officer|Cassandra Egan Manno|Red|Mission Cmdr.|NICKNAME=C. Egan Manno}}


Roster-eganmanno.jpg
Mission Cmdr.
C. Egan Manno


Color Names

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

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

Logo placeholder image

You can also choose instead to put your ship's logo.

{{Logotile|SHIPNAME}}

Example:

{{Logotile|USS Mercury}}
Mercurylogo.png

If your ship does not have a logo, a generic UFOP symbol will be displayed.

UFOPgrayseal-square.png

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.

Complete Example

{{Crew
|SHIP = USS Invicta
|ROSTER PAGE = Invicta Master Crew List
|NPC PAGE = Invicta NPCs
|HISTORY PAGE = Invicta Crew History}}
|{{Tile Officer|Joseph Washington|Red|Commanding Ofc.}}
|{{Tile Officer|Rune Jolara|Red|Intelligence Ofc.}}
|{{Tile Officer|Ryan King|Red|Helmsman}}
|{{Tile Officer|Pandora|Gold|Operations Ofc.}}
|{{Tile Officer|Luna Walker|Gold|Chief Engineer}}
|{{Tile Officer|Raj Blueheart|Teal|Chief Medical Ofc.}}
|{{Tile Officer|Rosalee|Teal|Medical Officer}}
|{{Tile Officer|Umi Kaj|Teal|Medical Officer}}
|{{Logotile|USS Invicta}}
|-
|{{Tile Officer|Tristam Core|Red|First Officer}}
|{{Tile Officer|Ceilidh Riverview|Red|Diplomatic Ofc.}}
|{{Tile Officer|Hanar Tuk|Gold|Chief of Security}}
|{{Tile Officer|Kelrod|Gold|SAR Team Leader}}
|{{Tile Officer|Iris Macoy|Gold|Engineer}}
|{{Tile Officer|Raissa Moonsong|Teal|Counselor}}
|{{Tile Officer|Alora DeVeau|Teal|Chief of Science}}
|{{Tile Officer|T'Lea|Teal|H&A Specialist}}
|{{Tile Officer|Stiftany Harik|Teal|Science Officer}}
{{Crewfooter|CREWNAV=InvictaCrew}}


NPC Listing   ·   USS Invicta Crew Manifest   ·   Crew History
Josephwashington.jpg
Commanding Ofc.
Joseph Washington
RuneUniform.png
Intelligence Ofc.
Rune Jolara
RyanKing.png
Helmsman
Ryan King
Pandora.jpg
Operations Ofc.
Pandora
LunaWalker1.png
Chief Engineer
Luna Walker
Capt Raj Blueheart1.png
Chief Medical Ofc.
Raj Blueheart
Rosalee-2.png
Medical Officer
Rosalee
Umi Kaj.png
Medical Officer
Umi Kaj
InvictaLogo.png
TristamCore2.jpg
First Officer
Tristam Core
Ceilidh1.jpg
Diplomatic Ofc.
Ceilidh Riverview
Tuk.jpg
Chief of Security
Hanar Tuk
Marcus Dickens.jpg
SAR Team Leader
Kelrod
IrisMacoy.png
Engineer
Iris Macoy
MoonsongLCDR01.jpg
Counselor
Raissa Moonsong
Alora deveau2.png
Chief of Science
Alora DeVeau
TLeaFO.png
H&A Specialist
T'Lea
FrankieHarik.jpg
Science Officer
Stiftany Harik
Edit This Nav