Template:CrewHistory: Difference between revisions

Jump to navigation Jump to search
Updating instructions for current use with ID subpages; removing notices about new (now old) features
No edit summary
(Updating instructions for current use with ID subpages; removing notices about new (now old) features)
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
!style="background:maroon" colspan="100%"|<font color=#ffffff>Command Division</font>
!style="background:maroon" colspan="100%"|<font color=#ffffff>Command Division</font>
|-
|-
!style="background:#C0C0C0;width:110px"|Insignia
!style="background:#C0C0C0;width:110px"|<small>Insignia</small>
!style="background:#C0C0C0;width:140px"|Rank
!style="background:#C0C0C0;width:140px"|<small>Rank</small>
!style="background:#C0C0C0;width:75px"|Portrait
!style="background:#C0C0C0;width:75px"|<small>Portrait</small>
!style="background:#C0C0C0;width:175px"|Name
!style="background:#C0C0C0;width:175px"|<small>Name</small>
!style="background:#C0C0C0;"|Dates
!style="background:#C0C0C0;"|<small>Dates</small>
!style="background:#C0C0C0;width:175px"|Notes</includeonly><noinclude>==Crew History Listing==
!style="background:#C0C0C0;width:175px"|<small>Notes</small></includeonly><noinclude>
===Follows similar rules as [[Template:Roster]].===
<font size=4>'''Crew History Listing'''</font>


====Ships Using This Template====
Follows similar rules as [[Template:Roster]].
*{{USS|Gemini}}: '''[[Gemini Crew History]]'''


{| cellspacing="3" width="80%"
'''Ships Using This Template'''
|- valign="top"
*{{USS|Gorkon}}: '''[[Gorkon Crew History]]'''
|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:CrewHistory. Instead of having to specify the image information on the crew history page itself, you can place all this information on an ID subpage of that character.


Template:CrewHistory will then take the information from that subpage to display the character on the ship's crew history page.
==How to Use==
 
This allows the crew history page code to be relatively clean and makes it easy when adding new characters from other ships whose characters have such ID subpages.
 
Existing options such as NOTES are supported.
 
[[:Category:ID subpages|'''Click here for more information and instructions.''']]
|}
 
===How to Use===
<pre style="white-space:pre-wrap">
<pre style="white-space:pre-wrap">
{{CrewHistory|SHIP = Ship or Station's Name}}
{{CrewHistory|SHIP = Ship or Station's Name}}
{{Post|Red|Commanding Officer}}
{{Post|Red|Commanding Officer}}
{{New|Current PC in the position}}
{{New Officer|Current PC in the position}}
{{Old|Previous PC in the position}}
{{Old Officer|Previous PC in the position}}
{{Old|Previous PC in the position}}, etc.
{{Old Officer|Previous PC in the position}}, etc.
{{Post|Red|First Officer}}
{{Post|Red|First Officer}}
{{New|Current PC in the position}}
{{New Officer|Current PC in the position}}
{{Old|Previous PC in the position}}, etc.
{{Old Officer|Previous PC in the position}}, etc.
{{Label|Next Division/Department Name}}
{{Label|NEXT DIVISION/DEPARTMENT NAME}}
{{Post|Color|Position Name}}
{{Post|COLOR|POSITION NAME}}
{{New|Current PC in the position}}
{{New Officer|Current PC in the position}}
{{Old|Previous PC in the position}}, etc.
{{Old Officer|Previous PC in the position}}, etc.
{{CrewHistory End}}</pre>
{{CrewHistory End}}</pre>


==Full Example==
<pre>
{{CrewHistory|SHIP = USS Gorkon}}
{{Post|Red|Commanding Officer}}
{{New Officer|Captain|Quinn Reynolds|Red|239207.14 - Present}}
{{Post|Red|First Officer}}
{{New Officer|Commander|Alucard Vess|Red|239308.03 - Present}}
{{Old Officer|Commander|Alex Blair|Red|239302.17 - 239308.03|NOTES=Transferred from the {{USS|Apollo|A}}.}}
{{Label|Operations}}
{{Post|Gold|Chief Engineer}}
{{New Officer|Lieutenant|Cory Stoyer|Gold|239207.14 - Present}}
{{Post|Gold|Engineering Officer}}
{{New Officer|Ensign|Amira Paulsen|Gold|239308.10 - Present}}
{{Label|Sciences & Medical}}
{{Post|Teal|Medical Officer}}
{{New Officer|Ensign|Marcus Drake|Teal|239307.11 - Present}}
{{Old Officer|Ensign|Alexa Dana|Teal|239303.07 - 239307.28|NOTES=New primary of [[Dar Elandra]]. LOA 239307.28}}
{{Post|Teal|Counsellor}}
{{New Officer|Lieutenant JG|Jansen Orrey|Teal|239306.27 - Present}}
{{Old Officer|Ensign|Kasema Dowupa|Teal|239305.18 - 239306.18}}
{{CrewHistory End}}
</pre>
{{CrewHistory|SHIP = USS Gorkon}}
{{Post|Red|Commanding Officer}}
{{New Officer|Captain|Quinn Reynolds|Red|239207.14 - Present}}
{{Post|Red|First Officer}}
{{New Officer|Commander|Alucard Vess|Red|239308.03 - Present}}
{{Old Officer|Commander|Alex Blair|Red|239302.17 - 239308.03|NOTES=Transferred from the {{USS|Apollo|A}}.}}
{{Label|Operations}}
{{Post|Gold|Chief Engineer}}
{{New Officer|Lieutenant|Cory Stoyer|Gold|239207.14 - Present}}
{{Post|Gold|Engineering Officer}}
{{New Officer|Ensign|Amira Paulsen|Gold|239308.10 - Present}}
{{Label|Sciences & Medical}}
{{Post|Teal|Medical Officer}}
{{New Officer|Ensign|Marcus Drake|Teal|239307.11 - Present}}
{{Old Officer|Ensign|Alexa Dana|Teal|239303.07 - 239307.28|NOTES=New primary of [[Dar Elandra]]. LOA 239307.28}}
{{Post|Teal|Counsellor}}
{{New Officer|Lieutenant JG|Jansen Orrey|Teal|239306.27 - Present}}
{{Old Officer|Ensign|Kasema Dowupa|Teal|239305.18 - 239306.18}}
{{CrewHistory End}}
==Detailed Instructions==
Use "New Officer" and "Old Officer" to make entries on the crew history page in the following format:
===Current Officers===
===Current Officers===
Use <nowiki>{{New|Officer Information}}</nowiki>
<pre>
{{New Officer|HIGHEST RANK HELD DURING POSTING|CHARACTER NAME|COLOR|DATES}}
</pre>


===Previous Officers===
===Previous Officers===
Use <nowiki>{{Old|Officer Information}}</nowiki>
<pre>
{{Old Officer|HIGHEST RANK HELD DURING POSTING|CHARACTER NAME|COLOR|DATES}}
</pre>


====Adding Notes====
<pre>
Use NOTES= to add notes. Example:
{{Post|Gold|Chief Engineer}}
NOTES=Transferred from {{USS|Apollo}}
{{New Officer|Lt. Commander|Tristam Core|Gold|239109.24 - Present}}
{{Old Officer|Lt. Commander|Roshanara Rahman|Gold|239012.25 - 239107.23}}
</pre>


===Turn Off Links===
{{CrewHistory-singlerowexample}}
You can turn off links to the current or previous officer by putting "No Link New" or "No Link Old" respectively.
{{Post|Gold|Chief Engineer}}
{{New Officer|Lt. Commander|Tristam Core|Gold|239109.24 - Present}}
{{Old Officer|Lt. Commander|Roshanara Rahman|Gold|239012.25 - 239107.23}}
{{CrewHistory End}}


<pre style="white-space:pre-wrap">
===Notes and Pip Style===
{{CrewHistory|SHIP = USS Fantasy
You can add notes to a character by including NOTES= in your entry and change pip style with STYLE=.
{{Post|Red|Commanding Officer}}
 
{{No Link New|Commander|Dre'lith|Chaun|Red|239012.26 - Present|Roster-chaun.jpg}}
<pre style="white-space:pre-wrap;">
{{No Link Old|Commander|Maravosh||Red|238701.01 - 239012.25|Maravosh.jpg|NOTES=Transferred from {{USS|Drake}}}}
{{New Officer|Lt. Commander|Tristam Core|Gold|239109.24 - Present|STYLE=DS9}}
{{CrewHistory End}}</pre>
{{Old Officer|Lt. Commander|Roshanara Rahman|Gold|239012.25 - 239107.23|NOTES=Relieved of duty pending investigation.|STYLE=DS9}}
</pre>
 
{{CrewHistory-singlerowexample}}
{{Post|Gold|Chief Engineer}}
{{New Officer|Lt. Commander|Tristam Core|Gold|239109.24 - Present|STYLE=DS9}}
{{Old Officer|Lt. Commander|Roshanara Rahman|Gold|239012.25 - 239107.23|NOTES=Relieved of duty pending investigation.|STYLE=DS9}}
{{CrewHistory End}}
 
===Adding a character with no ID subpage===
<font color=red>'''All player characters should have an [[:category:ID subpages|ID subpage]] so that they can be properly added to the [[Member Directory]].'''</font>
 
If you are adding a particularly old character whose player has since retired, however, you can still add them to your ship's history using the following, including a roster image if you have one (otherwise, the template will return a generic blank portrait):
 
<pre>
{{CrewHistory-singlerowexample}}
{{Post|Teal|Nurse}}
{{No ID New Officer|Lieutenant JG|Faryul Nishal|Teal|238811.16 - Present}}
{{No ID Old Officer|Lieutenant JG|Ayelet Kadosh|Teal|238712.07 - 238811.16|Ayelet_kadosh.jpg}}
{{CrewHistory End}}
</pre>


{{CrewHistory|SHIP = USS Fantasy}}
{{CrewHistory-singlerowexample}}
{{Post|Red|Commanding Officer}}
{{Post|Teal|Nurse}}
{{No Link New|Commander|Dre'lith|Chaun|Red|239012.26 - Present|Roster-chaun.jpg}}
{{No ID New Officer|Lieutenant JG|Faryul Nishal|Teal|238811.16 - Present}}
{{No Link Old|Commander|Maravosh||Red|238701.01 - 239012.25|Maravosh.jpg|NOTES=Transferred from {{USS|Drake}}}}
{{No ID Old Officer|Lieutenant JG|Ayelet Kadosh|Teal|238712.07 - 238811.16|Ayelet_kadosh.jpg}}
{{CrewHistory End}}
{{CrewHistory End}}


===Full example===
====Turning off the link====
Furthermore, if the character is so old as to not even have a wiki page, you can turn off the link with the following:


<pre style="white-space:pre-wrap">{{CrewHistory|SHIP = USS Fantasy}}
<pre>
{{Post|Red|Commanding Officer}}
{{CrewHistory-singlerowexample}}
{{New|Commander|Dre'lith|Chaun|Red|239012.26 - Present|Roster-chaun.jpg}}
{{Old|Commander|Maravosh||Red|238701.01 - 239012.25|Maravosh.jpg|NOTES=Transferred from {{USS|Drake}}}}
{{Old|Lt. Commander|Msafiri|Bakari|Red|238504.13 - 238701.01|Roster-bakari.jpg|NOTES=Promoted to CO, {{USS|Pioneer}}}}
{{Post|Red|First Officer}}
{{Post|Red|First Officer}}
{{New|Lt. Commander|Sedrin|Belasi|Red|239012.26 - Present|Roster-belasi.jpg}}
{{No Link New Officer|Commander|Zhou Tai-Sheng|Red|239109.24 - Present}}
{{Old|Lieutenant|Lidia|Ivanova|Red|238701.01 - 239012.25|Roster-ivanova.jpg}}
{{No Link Old Officer|Lt. Commander|Msafiri Bakari|Red|239012.25 - 239107.23}}
{{Label|Medical}}
{{CrewHistory End}}
{{Post|Teal|Chief Medical Officer}}
</pre>
{{New|Lt. Commander|Saveron||Teal|239012.26 - Present|Roster-saveron.jpg|NOTES=Promoted from ACMO}}
{{Old|Lieutenant|Tenzin|Zhou|Teal|238701.01 - 239012.25}}
{{CrewHistory End}}</pre>


{{CrewHistory|SHIP = USS Fantasy}}
{{CrewHistory-singlerowexample}}
{{Post|Red|Commanding Officer}}
{{New|Commander|Dre'lith|Chaun|Red|239012.26 - Present|Roster-chaun.jpg}}
{{Old|Commander|Maravosh||Red|238701.01 - 239012.25|Maravosh.jpg|NOTES=Transferred from {{USS|Drake}}}}
{{Old|Lt. Commander|Msafiri|Bakari|Red|238504.13 - 238701.01|Roster-bakari.jpg|NOTES=Promoted to CO, {{USS|Pioneer}}}}
{{Post|Red|First Officer}}
{{Post|Red|First Officer}}
{{New|Lt. Commander|Sedrin|Belasi|Red|239012.26 - Present|Roster-belasi.jpg}}
{{No Link New Officer|Commander|Zhou Tai-Sheng|Red|239109.24 - Present}}
{{Old|Lieutenant|Lidia|Ivanova|Red|238701.01 - 239012.25|Roster-ivanova.jpg}}
{{No Link Old Officer|Lt. Commander|Msafiri Bakari|Red|239012.25 - 239107.23}}
{{Label|Medical}}
{{Post|Teal|Chief Medical Officer}}
{{New|Lt. Commander|Saveron||Teal|239012.26 - Present|Roster-saveron.jpg|NOTES=Promoted from ACMO}}
{{Old|Lieutenant|Tenzin|Zhou|Teal|238701.01 - 239012.25}}
{{CrewHistory End}}
{{CrewHistory End}}


===Questions/Comments?===
==Questions/Comments?==
Let me know any questions or issues or leave a message on the wiki forum. &#9835; [[User:Rich|'''Rich''']]<sup>[[User talk:Rich|(talk page)]]</sup><small> ''aka Lt.Cmdr. Rahman/Bakari, [[118Wiki:Operations|Chief of Wiki Operations]]</small>
Let me know any questions or issues or leave a message on the wiki forum. [[User:Rich|'''Rich''' <small>(Cmdr. Roshanara Rahman)</small>]] [[User_talk:Rich|<small>'''REPLY'''</small>]] • [[118Wiki:Operations|<small>Wiki Ops Team</small>]] • [[Department of Veterans Affairs|<small>Veterans Affairs</small>]]
__NOTOC__
 
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Navigation menu