Difference between revisions of "Template:CHHead"

From Federation Space - Official Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{#if: {{{1|}}}|{{-!}}{{!--}} colspan="5" {{#if: {{{2|}}}|style="background-color:#{{CHHead Color|type={{{2|}}}}};"|style="background-color:#94a4b4;color:black;"}}{{!}}{{{1|}}}
 
<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__
+
{{-!}}{{!--}} Position {{!!-}} Assignment {{!!-}} Date(s) {{!!-}} colspan="2"{{!}}Event|{{-!}}!Position !! Assignment !! Date(s) !! colspan="2"{{!}}Event}}</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.
 
This template provides the table header of the “Career History” section of all STAR FLEET PERSONNEL COMMAND files; that is, biographies.
  
Line 25: Line 25:
  
 
:<code><nowiki>{{CHLine</nowiki></code><br />
 
:<code><nowiki>{{CHLine</nowiki></code><br />
 +
:<code>|Assignment=Science Officer</code><br />
 
:<code><nowiki>|Location={{USS|Yeager|FSC|28018}}</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>|Stardate=21509.01</code><br />
 
:<code>|StardateEnd=</code><br />
 
:<code>|StardateEnd=</code><br />
Line 33: Line 33:
 
:<code>|Department=Science</code><br />
 
:<code>|Department=Science</code><br />
 
:<code><nowiki>}}</nowiki></code><br />
 
:<code><nowiki>}}</nowiki></code><br />
:<code><nowiki>{{CHHead|Character's New Name|UFP}}</nowiki></code>
+
:<span style="background-color: yellow"><code><nowiki>{{CHHead|Character's New Name|UFP}}</nowiki></code> This header item is between “Career History” lines.</span><br>
 
:<code><nowiki>{{CHLine</nowiki></code><br />
 
:<code><nowiki>{{CHLine</nowiki></code><br />
 +
:<code>|Assignment=Science Officer</code><br />
 
:<code><nowiki>|Location={{USS|Yeager|FSC|28018}}</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>|Stardate=21509.18</code><br />
 
:<code>|StardateEnd=</code><br />
 
:<code>|StardateEnd=</code><br />
Line 49: Line 49:
  
 
[[Category:Bio Templates]]
 
[[Category:Bio Templates]]
[[Category:Templates|{{{PAGENAME}}}]]</noinclude>
+
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 19:31, 25 December 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:

See Template:CHHead Color.

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
|Assignment=Science Officer
|Location={{USS|Yeager|FSC|28018}}
|Stardate=21509.01
|StardateEnd=
|Event=Ensign
|Text=
|Department=Science
}}
{{CHHead|Character's New Name|UFP}} This header item is between “Career History” lines.
{{CHLine
|Assignment=Science Officer
|Location={{USS|Yeager|FSC|28018}}
|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.