Difference between revisions of "Template:CHHead"
Line 1: | Line 1: | ||
− | <includeonly>{{#if: {{{1|}}}|{{-!}}{{!--}} colspan="5" {{#if: {{{2|}}} style=" | + | <includeonly>{{#if: {{{1|}}}|{{-!}}{{!--}} colspan="5" {{#if: {{{2|}}}|style="background-color:#{{CHHead Color|type={{{2|}}}}};"|style="background-color:#94a4b4;color:black;"}}{{!}}{{{1|}}} |
− | {{-!}}{{!--}} | + | {{-!}}{{!--}} Position {{!!-}} Assignment {{!!-}} Date(s) {{!!-}} Event {{!!-}} Image|!Position !! Assignment !! Date(s) !! Event !! Image}}</includeonly><noinclude>__NOEDITSECTION____NOTOC__ |
− | < | + | This template provides the table header of the “Career History” section of all STAR FLEET PERSONNEL COMMAND files; that is, biographies. |
+ | |||
+ | :''(You might be looking for ''[[Template:CHLine]]''; that is, the template that provides each history line of the “Career History” section of biographies.)'' | ||
+ | |||
+ | To make use of this table header template, [[Template:{{PAGENAME}}]], the biography must include the following line within its <code>|CHist=</code> section: | ||
+ | |||
+ | :<code><nowiki>{{CHHead|Character Name|UFP}}</nowiki></code> | ||
+ | |||
+ | Note that the character’s actual name must replace “Character Name.” To avoid display errors because of color, try one of two things: (1) Do not include double square brackets along with the character’s name. (2) Leave “UFP” blank, like this: <code><nowiki>{{CHHead|Character Name|}}</nowiki></code>, for a neutral color.<br /> | ||
+ | |||
+ | Note that “UFP” here simply determines the header’s color, and should reflect the character’s affiliation—not the character’s species—and the appropriate one of the following should replace it: | ||
+ | |||
+ | :See [[Template:CHHead Color]]. | ||
+ | |||
+ | == First Header == | ||
+ | Note that the first header should immediately follow the <code>|CHist=</code> item, without additional space between them, as illustrated, below: | ||
+ | |||
+ | :<code>|CHist=</code><br /> | ||
+ | :<code><nowiki>{{CHHead|Character Name|UFP}}</nowiki></code> | ||
+ | |||
+ | == Additional Headers == | ||
+ | Additional headers, if necessary, should be between “Career History” lines, without additional space between them, as illustrated, below: | ||
+ | |||
+ | :<code><nowiki>{{CHLine</nowiki></code><br /> | ||
+ | :<code><nowiki>|Location={{USS|Yeager|FSC|28018}}</nowiki></code><br /> | ||
+ | :<code>|Assignment=Science Officer</code><br /> | ||
+ | :<code>|Stardate=21509.01</code><br /> | ||
+ | :<code>|StardateEnd=</code><br /> | ||
+ | :<code>|Event=Ensign</code><br /> | ||
+ | :<code>|Text=</code><br /> | ||
+ | :<code>|Department=Science</code><br /> | ||
+ | :<code><nowiki>}}</nowiki></code><br /> | ||
+ | :<code><nowiki>{{CHHead|Character's New Name|UFP}}</nowiki></code> | ||
+ | :<code><nowiki>{{CHLine</nowiki></code><br /> | ||
+ | :<code><nowiki>|Location={{USS|Yeager|FSC|28018}}</nowiki></code><br /> | ||
+ | :<code>|Assignment=Science Officer</code><br /> | ||
+ | :<code>|Stardate=21509.18</code><br /> | ||
+ | :<code>|StardateEnd=</code><br /> | ||
+ | :<code>|Event=Role Player of the Month</code><br /> | ||
+ | :<code>|Text=</code><br /> | ||
+ | :<code>|Department=Science</code><br /> | ||
+ | :<code><nowiki>}}</nowiki></code><br /> | ||
+ | |||
+ | Compare also under the “[[Template:Biography#Previous and Next Characters|Previous and Next Characters]]” heading on the [[Template:Biography]] page. | ||
+ | |||
+ | |||
+ | |||
+ | [[Category:Bio Templates]] | ||
+ | [[Category:Templates|{{{PAGENAME}}}]]</noinclude> |
Revision as of 22:33, 2 November 2015
This template provides the table header of the “Career History” section of all STAR FLEET PERSONNEL COMMAND files; that is, biographies.
- (You might be looking for Template:CHLine; that is, the template that provides each history line of the “Career History” section of biographies.)
To make use of this table header template, Template:CHHead, the biography must include the following line within its |CHist=
section:
{{CHHead|Character Name|UFP}}
Note that the character’s actual name must replace “Character Name.” To avoid display errors because of color, try one of two things: (1) Do not include double square brackets along with the character’s name. (2) Leave “UFP” blank, like this: {{CHHead|Character Name|}}
, for a neutral color.
Note that “UFP” here simply determines the header’s color, and should reflect the character’s affiliation—not the character’s species—and the appropriate one of the following should replace it:
First Header
Note that the first header should immediately follow the |CHist=
item, without additional space between them, as illustrated, below:
|CHist=
{{CHHead|Character Name|UFP}}
Additional Headers
Additional headers, if necessary, should be between “Career History” lines, without additional space between them, as illustrated, below:
{{CHLine
|Location={{USS|Yeager|FSC|28018}}
|Assignment=Science Officer
|Stardate=21509.01
|StardateEnd=
|Event=Ensign
|Text=
|Department=Science
}}
{{CHHead|Character's New Name|UFP}}
{{CHLine
|Location={{USS|Yeager|FSC|28018}}
|Assignment=Science Officer
|Stardate=21509.18
|StardateEnd=
|Event=Role Player of the Month
|Text=
|Department=Science
}}
Compare also under the “Previous and Next Characters” heading on the Template:Biography page.