Template:CHLine

From Federation Space - Official Wiki
Jump to navigation Jump to search

This template provides each history line of the “Career History” table of all STAR FLEET PERSONNEL COMMAND files; that is, biographies.

(You might be looking for Template:CHHead; that is, the template that provides the table header of the “Career History” section of biographies.)

To make use of this history line template, Template:CHLine, the biography must include the following line within its |CHist= section; that is, it must include the entire set of codes, as illustrated, below, which represents one line of history in the “Career History” table of the biography:

{{CHLine
|Assignment=Science Officer
|Assignment2=
|Location={{USS|Yeager|FSC|28018}}
|Stardate=21509.01
|StardateEnd=
|Event=Ensign
|Text=
|Department=Science
}}

For notes about each item, above, see under the “Details—Item By Item” heading, below. See also under the “Advanced Table Format” heading, below, for advanced table layout options.

First Line

Note that the first line, and only the first line, should immediately follow the |CHist= item and {{CHHead|Character Name|UFP}} table header line, as illustrated, below:

|CHist=
{{CHHead|Character Name|UFP}}
{{CHLine
|Assignment=Science Officer
|Assignment2=
|Location={{USS|Yeager|FSC|28018}}
|Stardate=21509.01
|StardateEnd=
|Event=Ensign
|Text=
|Department=Science
}}

Additional Lines

To avoid display errors because of too much space, include sequential lines so that they follow each other immediately without additional space between them, as illustrated, below:

{{CHLine
|Assignment=Science Officer
|Assignment2=
|Location={{USS|Yeager|FSC|28018}}
|Stardate=21509.01
|StardateEnd=
|Event=Ensign
|Text=
|Department=Science
}}
{{CHLine
|Assignment=Science Officer
|Assignment2=
|Location={{USS|Yeager|FSC|28018}}
|Stardate=21509.18
|StardateEnd=
|Event=Role Player of the Month
|Text=
|Department=Science
}}

Details—Item By Item

See below for notes about each history line item:

Assignment (Position)

|Assignment=Chief Science Officer This item is required.
|Assignment2=Second Officer Only use this item if it is applicable.
  • Note that the character’s actual position must replace “Chief Science Officer.” Examples of positions include Cadet, Tactical Officer, and Acting Commanding Officer, etc. To avoid display errors because of double square brackets, do not include double square brackets along with the position. To avoid display errors because of a broken wiki link, try one of three things: (1) Check the position for correct spelling. (2) Search the wiki for the same position but with a different name to discover the appropriate name to use. (3) Create a wiki page with the same name as the position. However, see the next point.
  • However, “Acting” positions must display as “Acting...” but must link to the root position. Use {{!}} to produce both the appropriate “Acting...” text and the root position link. For example: Chief Engineer{{!}}Acting Chief Engineer, First Officer{{!}}Acting First Officer, etc.
  • For |Assignment2=, note that the character’s actual in context second position must replace “Second Officer.” However, examples of out of context positions include Content Manager, Creative Director, and Game Moderator, etc.

Location (Assignment)

|Location={{USS|Yeager|FSC|28018}} This item is required.
  • For starship assignments, replace “Yeager” with the character starship’s actual name, replace “FSC” with the character starship’s actual prefix, and replace “28018” with the character starship’s actual suffix. Examples of other starship assignments include {{IKV|Dreamslayer}} and {{RIS|Shadowhawk}}.
  • For other assignments for which a wiki page exists, replace “{{USS|Yeager|FSC|28018}}” with the page name inside double square brackets to provide a wiki link to the appropriate page. Examples of such assignments include [[Area 42]], [[Star Base Alpha]], and [[Star Fleet Academy]]. To avoid display errors because of a broken wiki link, try one of three things: (1) Check the assignment for correct spelling. (2) Search the wiki for the same assignment but with a different name to discover the appropriate name to use. (3) Create a wiki page with the same name as the assignment.
  • For other assignments for which a wiki page does not and will not exist, replace “{{USS|Yeager|FSC|28018}}” with the name of the assignment, but without double square brackets, to prevent a broken wiki link.

Stardate(s)

|Stardate=21509.01 This item is required.
|StardateEnd= This item is optional.
  • Simply replace “21509.01” with or include the actual Stardate or range of Stardates, in Federation Space format, according to the best recollection of events.

Event

|Event=Ensign This item is required.
  • Note that the character’s actual event, whether a rank, medal, or other event, must replace “Ensign.” To avoid display errors because of double square brackets, do not include double square brackets along with the event. To avoid display errors because of missing images, use the actual wiki rank or medal name—not necessarily the rank or medal’s proper name, and do not include additional text along with “Event.” For example, |Event=Ensign is correct; |Event=Promoted to Ensign is incorrect. However, compare the “Text” heading, below.
See Template:EventImage for a list of actual wiki rank, department, and medal names.
  • Examples of non-rank and non-medal events include Promoted or Reassigned, for a change in assignment (position) or department; Transferred, for a change in location (assignment); and Retired, for retired characters or for the characters of inactive players.

Text

|Text= This item is optional.
  • Use this item to provide a more descriptive event. Consider the following example:
|Event=Ensign
|Text=Promoted to Ensign
  • In the example, above, “Promoted to Ensign,” as provided by |Text=Promoted to Ensign, replaces “Ensign,” as provided by |Event=Ensign, in the “Event” column of the “Career History” section of the biography. WARNING: “Text” only replaces text and does not replace the other important functions of “Event.” To avoid display errors because of missing images, do not remove |Event=Event and do not leave it blank. See the “Event” heading, above.
  • While full descriptive text may be included, rank and medal event shortcuts are available, as illustrated, below:
|Event=Midshipman
|Text=Promoted Note: not “Promoted to.”
  • In the example, above, “Promoted to Midshipman” replaces “Midshipman.”
|Event=Star Fleet Academy Graduation Ribbon
|Text=Awarded
  • In the example, above, “Awarded Star Fleet Academy Graduate Ribbon” replaces “Star Fleet Academy Graduate Ribbon.”

Department

|Department=Science This item is required for rank images; it retrieves rank images from the appropriate department.
  • Note that the character’s actual department must replace “Science.” Examples of departments include Marine, Medical, and Support. To avoid display errors because of missing or incorrect rank images, enter the correct wiki rank in |Event=Rank and the correct wiki department in |Department=Department.
See Template:EventImage for a list of actual wiki rank, department, and medal names.

Advanced Table Layout

See below for notes about advanced table layout options:

Merging Cells—Rowspan

|rscol1=number This advanced item is optional and merges cells in the first column—Assignment (Position)—of the Career History table.
|rscol2=number This advanced item is optional and merges cells in the second column—Location (Assignment)—of the Career History table.
|rscol3=number This advanced item is optional and merges cells in the third column—Date(s)—of the Career History table.
Standard Layout
Position Assignment Date(s) Event
Cadet Star Fleet Academy 21501.01 Received Star Fleet Academy Graduate Ribbon Star Fleet Academy Graduate Ribbon
Tactical Officer USS Yeager, FSC-28018 21501.01 Promoted to Ensign
Reassigned to Tactical Officer
Assigned to USS Yeager, FSC-28018
Ensign
Tactical Officer USS Yeager, FSC-28018 21503.01 Promoted to Lieutenant Junior Grade Lieutenant Junior Grade
Tactical Officer USS Yeager, FSC-28018 21505.01 Awarded Role Player of the Month Role Player of the Month
Tactical Officer USS Yeager, FSC-28018 21505.01 Promoted to Lieutenant Lieutenant
Chief Tactical Officer USS Yorimoto, DD-4019 21505.15 Reassigned to Chief Tactical Officer
Transferred to USS Yorimoto, DD-4019
Advanced Layout
Position Assignment Date(s) Event
Cadet Star Fleet Academy 21501.01 Received Star Fleet Academy Graduate Ribbon Star Fleet Academy Graduate Ribbon
Tactical Officer USS Yeager, FSC-28018 Promoted to Ensign
Reassigned to Tactical Officer
Assigned to USS Yeager, FSC-28018
Ensign
21503.01 Promoted to Lieutenant Junior Grade Lieutenant Junior Grade
21505.01 Awarded Role Player of the Month Role Player of the Month
Promoted to Lieutenant Lieutenant
Chief Tactical Officer USS Yorimoto, DD-4019 21505.15 Reassigned to Chief Tactical Officer
Transferred to USS Yorimoto, DD-4019
  • Note that the three “rscol” items (|rscol1=number rowspan of first column; |rscol2=number rowspan of second column; |rscol3=number rowspan of third column) insert “rowspan” wiki markups into the Career History table, and the actual number of cells to merge must replace “number” following the equals sign in each of the examples, above. To avoid display errors because of misaligned cells, the corresponding number of lines below the line that includes the “rscol” item must leave blank their corresponding items, as illustrated in the examples of wiki code, below, which represent the table, above:
Standard Layout
{{CHHead|Standard Layout|UFP}}
{{CHLine
|Assignment=Cadet
|Assignment2=
|Location=[[Star Fleet Academy]]
|Stardate=21501.01
|StardateEnd=
|Event=Star Fleet Academy Graduation Ribbon
|Text=Received Star Fleet Academy Graduate Ribbon
|Department=
}}
{{CHLine
|Assignment=Tactical Officer
|Assignment2=
|Location={{USS|Yeager|FSC|28018}}
|Stardate=21501.01
|StardateEnd=
|Event=Ensign
|Text=Promoted to Ensign<br>Reassigned to Tactical Officer<br>Assigned to {{USS|Yeager|FSC|28018}}
|Department=Tactical
}}
{{CHLine
|Assignment=Tactical Officer
|Assignment2=
|Location={{USS|Yeager|FSC|28018}}
|Stardate=21503.01
|StardateEnd=
|Event=Lieutenant Junior Grade
|Text=Promoted
|Department=Tactical
}}
{{CHLine
|Assignment=Tactical Officer
|Assignment2=
|Location={{USS|Yeager|FSC|28018}}
|Stardate=21505.01
|StardateEnd=
|Event=Role Player of the Month
|Text=Awarded
|Department=
}}
{{CHLine
|Assignment=Tactical Officer
|Assignment2=
|Location={{USS|Yeager|FSC|28018}}
|Stardate=21505.01
|StardateEnd=
|Event=Lieutenant
|Text=Promoted
|Department=Tactical
}}
{{CHLine
|Assignment=Chief Tactical Officer
|Assignment2=
|Location={{USS|Yorimoto|DD|4019}}
|Stardate=21505.15
|StardateEnd=
|Event=
|Text=Reassigned to Chief Tactical Officer<br>Transferred to {{USS|Yorimoto|DD|4019}}
|Department=
}}
Advanced Layout
{{CHHead|Advanced Layout|UFP}}
{{CHLine
|Assignment=Cadet
|Assignment2=
|Location=[[Star Fleet Academy]]
|Stardate=21501.01
|rscol3=2 Combines Stardates of this line and the next one for a total of two. The next one must be left blank.
|StardateEnd=
|Event=Star Fleet Academy Graduation Ribbon
|Text=Received Star Fleet Academy Graduate Ribbon
|Department=
}}
{{CHLine
|Assignment=Tactical Officer
|Assignment2=
|rscol1=4 Combines Assignments (Positions) of this line and the next three for a total of four. The next three must be left blank.
|Location={{USS|Yeager|FSC|28018}}
|rscol2=4 Combines Locations (Assignments) of this line and the next three for a total of four. The next three must be left blank.
|Stardate= This line must be left blank.
|StardateEnd=
|Event=Ensign
|Text=Promoted to Ensign<br>Reassigned to Tactical Officer<br>Assigned to {{USS|Yeager|FSC|28018}}
|Department=Tactical
}}
{{CHLine
|Assignment= This line and the next two must be left blank.
|Assignment2=
|Location= This line and the next two must be left blank.
|Stardate=21503.01
|StardateEnd=
|Event=Lieutenant Junior Grade
|Text=Promoted
|Department=Tactical
}}
{{CHLine
|Assignment= This line and the next one must be left blank.
|Assignment2=
|Location= This line and the next one must be left blank.
|Stardate=21505.01
|rscol3=2 Combines Stardates of this line and the next one for a total of two. The next one must be left blank.
|StardateEnd=
|Event=Role Player of the Month
|Text=Awarded
|Department=
}}
{{CHLine
|Assignment= This line must be left blank.
|Assignment2=
|Location= This line must be left blank.
|Stardate= This line must be left blank.
|StardateEnd=
|Event=Lieutenant
|Text=Promoted
|Department=Tactical
}}
{{CHLine
|Assignment=Chief Tactical Officer
|Assignment2=
|Location={{USS|Yorimoto|DD|4019}}
|Stardate=21505.15
|StardateEnd=
|Event=
|Text=Reassigned to Chief Tactical Officer<br>Transferred to {{USS|Yorimoto|DD|4019}}
|Department=
}}

Splitting the Table

In unusual circumstances, it may be necessary to split the Career History table into two or more tables. To split the table, insert the following wiki code between full Career History lines. In addition to the wiki code, below, remember to insert a new header for the new table. To avoid display errors because of misaligned cells, ensure to complete any rowspan items before the split and begin new ones only after it.

{{!}}} This closes the table.
Text here will display outside of any table.
{{{!}} class="wikitable" This opens a new table.

Note, however, rather than split the table, it might be better to simply add a new header and additional content. Compare Template:CHHead; that is, the template that provides the table header of the “Career History” section of biographies.