Template:Char info: Difference between revisions

From StarFleet Bureau of Information
No edit summary
No edit summary
Line 14: Line 14:
|-
|-
| style="width: 52px; text-align: center;" |  
| style="width: 52px; text-align: center;" |  
| style="text-align: center;" | {{{BIOLINK}}} '''{{{NAME}}}''' <br/> ''{{{STARTD}}} - {{{ENDD}}}'' <br/>  
| style="text-align: center;" | {{{BIOLINK}}} '''{{{NAME}}}''' <br/> '''{{{STARTD}}}''' - '''{{{ENDD}}}''' <br/>  
|}
|}



Revision as of 18:22, 10 May 2009

{{{BILLET}}} of the [[{{{SHIP}}}]]
Preceded by:
{{{PREV}}}
{{{BIOLINK}}} {{{NAME}}}
{{{STARTD}}} - {{{ENDD}}}
Succeeded by:
{{{NEXT}}}


This is my first template with parameters, so bear with me if something doesn't work properly.

The idea is to use this template at the bottom of characters biofile. The original design for this template is by Andrew Smith, but it has been coded as a parameters template by me. Suggestions and corrections are more than welcome.

The syntax is this:

{{Char_info| PARAMETER1 = value | PARAMETER2 = value | ... | PARAMETERn = value}}
(the blank spaces are important!)

Available parameters as follow:

  • COLOR1 = see note below,
  • COLOR2 = see note below,
  • SHIP = in the form USS XXXX (ie: USS Amberjack),
  • BILLET
  • PREV = rank+name of the previous officer. If non existant, write: Office non existent
  • BIOLINK = link to biofile if available. Link to the main ship page if not available,
  • NAME = rank+name of the current officer,
  • NEXT = rank+name of succeding officer. If non existant, write: Office Pending,
  • STARTD = start year for current billet,
  • ENDD = end year for current billet. Write Present if still pending.

For the upper most bars (the bar above the "title" and the bar below it) use the following codes for division:

#8B0000 = Command Division (red)
#B8860B = Operations Division / Engineering Division (mustard)
#0000CD = Science Division (blue)
#008B8B = Medical Division (sky blue/teal)
#006400 = Marine Division (green)
#ffe062 = Support/Security Division (light mustard)

Enjoy!