24,070
edits
(Regarding the template) |
(→New Garuda Template: new section) |
||
Line 123: | Line 123: | ||
I tried fiddling with the code a bit, but what appears to be the problem is that the pictures are in the left column, so the center tag is working, just only for one side. I can try looking at it again tomorrow, but I would suggest trying to make the column your pictures are in to act as a single column? [[User:Lance|Lance]] 02:40, 3 September 2009 (EDT) | I tried fiddling with the code a bit, but what appears to be the problem is that the pictures are in the left column, so the center tag is working, just only for one side. I can try looking at it again tomorrow, but I would suggest trying to make the column your pictures are in to act as a single column? [[User:Lance|Lance]] 02:40, 3 September 2009 (EDT) | ||
== New Garuda Template == | |||
I've converted our crew nav to a new "Easy Template" version. Full instructions are available here: '''[[Template:Crew]]'''. | |||
===Among the 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> | |||
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>=== | |||
If an officer only has a single name, be sure to still put an extra "pipe" character '''|''' after their name. | |||
<pre>|{{Tile|Mei'konda||Gold|Chief of Operations|Roster-meikonda.jpg}}</pre> | |||
{{Tile|Mei'konda||Gold|Chief of Operations|Roster-meikonda.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> | |||
{{Tile|Cassandra|Egan Manno|NICKNAME=C. Egan Manno|Red|Commanding Officer|Roster-eganmanno.jpg}} | |||
===Simplified color names=== | |||
'''<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=== | |||
Can be easily specified if there is an odd number of officers. | |||
<pre>{{Shiptile|USS Apollo|Achilles.jpg}}</pre> | |||
{{Shiptile|USS Apollo|Achilles.jpg}} | |||
{{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}} | |||
For reference, this is the code generating the current version of the nav above: | |||
<pre> | |||
{{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}} | |||
</pre> | |||
If you have any questions, let me know! –[[User:Rich|Rich]]<sup>[[User talk:Rich|(talk page)]]</sup> ''aka Lt.Cmdr. Rahman'' 14:00, 29 January 2014 (CST) |