Difference between revisions of "Template:CHHeadTest"

From Federation Space - Official Wiki
Jump to navigation Jump to search
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|}}}
{{-!}}{{!--}} Location {{!!-}} Assignment {{!!-}} Date(s) {{!!-}} Event {{!!-}} Image|!Location !! Assignment !! Date(s) !! Event !! Image}}</includeonly><noinclude>
+
{{-!}}{{!--}} Location {{!!-}} Assignment {{!!-}} Date(s) {{!!-}} Event {{!!-}} Image|!Location !! Assignment !! Date(s) !! Event !! Image}}</includeonly><noinclude>__NOEDITSECTION____NOTOC__
 
This template provides the header of the “Career History” section of all STAR FLEET PERSONNEL COMMAND files; that is, biographies.
 
This template provides the header of the “Career History” section of all STAR FLEET PERSONNEL COMMAND files; that is, biographies.
  
:''You may be looking for ''[[Template:CHLineTest]]''; that is, the template that provides each line of the “Career History” section of biographies.''
+
:''(You might be looking for ''[[Template:CHLineTest]]''; that is, the template that provides each line of the “Career History” section of biographies.)''
  
To make use of this header template, the biography must include the following line within its <code>|CHist=</code> section:
+
To make use of this [[Template:{{PAGENAME}}]] header template, the biography must include the following line within its <code>|CHist=</code> section:
  
<code><nowiki>{{CHHeadTest|Character Name|UFP}}</nowiki></code>
+
:<code><nowiki>{{CHHeadTest|Character Name|UFP}}</nowiki></code>
  
Note that the first header should immediately follow the <code>|CHist=</code> line as follows:
+
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>{{CHHeadTest|Character Name|}}</nowiki></code>, for a neutral color.<br />
  
<code>|CHist=</code><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:
<code><nowiki>{{CHHeadTest|Character Name|UFP}}</nowiki></code>
 
  
Note that “Character Name” must be replaced with the character’s actual name.<br />
+
:See [[Template:CHHead Color]].
  
Note that “UFP” here simply determines the header color and should reflect the character’s affiliation, not the character’s species, and should be replaced with the appropriate one of the following:
+
== First Header ==
 +
Note that the first header should immediately follow the <code>|CHist=</code> line, without additional space between them, as illustrated, below:
  
:''See ''[[Template:CHHead Color]]''.''
+
:<code>|CHist=</code><br />
 +
:<code><nowiki>{{CHHeadTest|Character Name|UFP}}</nowiki></code>
  
Additional headers may be inserted into the “Career History” section of biographies, each with its own “Character Name” and appropriate color code. Usually, however, there should be several lines of “Career History” following the chronological order of events for each named character in between each header.
+
== Additional Headers ==
 +
Additional headers, if necessary, should be between “Career History” lines, without additional space between them, as illustrated, below:
 +
 
 +
:<code><nowiki>{{CHLineTest</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>{{CHHeadTest|Character's New Name|UFP}}</nowiki></code>
 +
:<code><nowiki>{{CHLineTest</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 />
 +
 
 +
== A Note About Previous Characters ==
 +
It may be preferable to avoid the use of additional headers and to copy and paste the career history of one character into the biography of another character’s career history. Rather, make use of the “Previous Character” line, within the <code><nowiki>{{Biography}}</nowiki></code> section of the biography:
 +
 
 +
:<code>|PreChar=Name</code><br />
 +
 
 +
Note that the previous character’s actual wiki name, for example:<code>Schwicker, Johan</code>, should replace “Name.” To avoid display errors because of double square brackets, do not include double square brackets along with the previous character’s name. For multiple previous characters, include the “Previous Character” line in each biography until the first biography, which will have no “Previous Character” line.
  
  

Revision as of 21:59, 15 September 2015

This template provides the header of the “Career History” section of all STAR FLEET PERSONNEL COMMAND files; that is, biographies.

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

To make use of this Template:CHHeadTest header template, the biography must include the following line within its |CHist= section:

{{CHHeadTest|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: {{CHHeadTest|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= line, without additional space between them, as illustrated, below:

|CHist=
{{CHHeadTest|Character Name|UFP}}

Additional Headers

Additional headers, if necessary, should be between “Career History” lines, without additional space between them, as illustrated, below:

{{CHLineTest
|Location={{USS|Yeager|FSC|28018}}
|Assignment=Science Officer
|Stardate=21509.01
|StardateEnd=
|Event=Ensign
|Text=
|Department=Science
}}
{{CHHeadTest|Character's New Name|UFP}}
{{CHLineTest
|Location={{USS|Yeager|FSC|28018}}
|Assignment=Science Officer
|Stardate=21509.18
|StardateEnd=
|Event=Role Player of the Month
|Text=
|Department=Science
}}

A Note About Previous Characters

It may be preferable to avoid the use of additional headers and to copy and paste the career history of one character into the biography of another character’s career history. Rather, make use of the “Previous Character” line, within the {{Biography}} section of the biography:

|PreChar=Name

Note that the previous character’s actual wiki name, for example:Schwicker, Johan, should replace “Name.” To avoid display errors because of double square brackets, do not include double square brackets along with the previous character’s name. For multiple previous characters, include the “Previous Character” line in each biography until the first biography, which will have no “Previous Character” line.