Difference between revisions of "Template:CHHeadTest"

From Federation Space - Official Wiki
Jump to navigation Jump to search
 
(18 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|}}}
{{-!}}{{!--}} Location {{!!-}} Assignment {{!!-}} Date(s) {{!!-}} Event {{!!-}} Image|!Location !! 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 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.
  
:''(You might 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 history line of the “Career History” section of biographies.)''
  
To make use of this [[Template:{{PAGENAME}}]] header template, the biography must include the following line within its <code>|CHist=</code> section:
+
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>{{CHHeadTest|Character Name|UFP}}</nowiki></code>
 
:<code><nowiki>{{CHHeadTest|Character Name|UFP}}</nowiki></code>
Line 16: Line 16:
  
 
== First Header ==
 
== First Header ==
Note that the first header should immediately follow the <code>|CHist=</code> line, without additional space between them, as illustrated, below:
+
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>|CHist=</code><br />
Line 44: Line 44:
 
:<code><nowiki>}}</nowiki></code><br />
 
:<code><nowiki>}}</nowiki></code><br />
  
== A Note About Previous Characters ==
+
Compare also under the “[[Template:Biography Test#Previous and Next Characters|Previous and Next Characters]]” heading on the [[Template:Biography Test]] page.
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.
 
  
  
  
 
[[Category:Bio Templates]]
 
[[Category:Bio Templates]]
[[Category:Templates|{{{PAGENAME}}}]]</noinclude>
+
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 20:00, 23 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:CHLineTest; 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:CHHeadTest, 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= item, 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
}}

Compare also under the “Previous and Next Characters” heading on the Template:Biography Test page.