Template:Char info: Difference between revisions

From StarFleet Bureau of Information
No edit summary
mNo edit summary
 
(13 intermediate revisions by 2 users not shown)
Line 2: Line 2:
|-  
|-  
| style="width: 52px; padding: 0px 0px 0px 0.5em; text-align: center;" |  
| style="width: 52px; padding: 0px 0px 0px 0.5em; text-align: center;" |  
| style="padding: 0.00em 0.00em; text-align: center;" | '''{{{BILLET}}}''' of the '''''[[{{{SHIP}}}]]'''''
| style="padding: 0.00em 0.00em; text-align: center;" | '''{{{BILLET}}}''' of the '''''{{{SHIP}}}'''''
|}
|}


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;" | '''{{{NAME}}}''' <br/> '''{{{STARTD}}}''' - '''{{{ENDD}}}''' <br/>  
|}
|}


Line 31: Line 31:


&#123;&#123;Char_info| PARAMETER1 = value  | PARAMETER2 = value  | ... | PARAMETERn = value&#125;&#125;<br />
&#123;&#123;Char_info| PARAMETER1 = value  | PARAMETER2 = value  | ... | PARAMETERn = value&#125;&#125;<br />
''(the blank spaces are important!)''


Available parameters as follow:
Available parameters as follow:
* '''COLOR1''' = see note below,
* '''COLOR1''' = see note below,
* '''COLOR2''' = see note below,
* '''COLOR2''' = see note below,
* '''SHIP''' = in the form USS XXXX (ie: USS Amberjack),
* '''SHIP''' = ship's name. '''MUST BE FORMATTED AS A LINK''',
* '''BILLET'''  
* '''BILLET'''  
* '''PREV''' = rank+name of the previous officer. If non existant, write: ''Office non existent''
* '''PREV''' = rank+name of the previous officer. If non existant, write: ''Office nonexistent''
* '''BIOLINK''' = link to biofile if available. Link to the main ship page if not available,
* '''NAME''' = rank+name of the current officer. '''MUST BE FORMATTED AS LINK''',
* '''NAME''' = rank+name of the current officer,
* '''NEXT''' = rank+name of succeding officer. If non existant, write: ''Office Pending'',
* '''NEXT''' = rank+name of succeding officer. If non existant, write: ''Office Pending'',
* '''STARTD''' = start year for current billet,
* '''STARTD''' = start year for current billet,
Line 47: Line 45:
For the upper most bars (the bar above the "title" and the bar below it) use the following codes for division:  
For the upper most bars (the bar above the "title" and the bar below it) use the following codes for division:  


&#35;8B0000 = Command Division (red)<br />  
&#35;8b0000 = Command Division (red)<br />  
&#35;B8860B = Operations Division / Engineering Division (mustard)<br />
&#35;b8860b = Operations Division / Engineering Division (mustard)<br />
&#35;0000CD = Science Division (blue) <br />
&#35;0000cd = Science Division (blue) <br />
&#35;008B8B = Medical Division (sky blue/teal) <br />
&#35;008b8b = Medical Division (sky blue/teal) <br />
&#35;006400 = Marine Division (green)<br />
&#35;006400 = Marine Division (green)<br />
&#35;ffe062 = Support/Security Division (light mustard)<br />
&#35;ffe062 = Support/Security Division (light mustard)<br />
&#35;555555 = Flight Operation Division (grey)<br />
&#35;000000 = Non officer/Maquis/Other (black)<br />


Enjoy!
Enjoy!


</noinclude>
</noinclude>

Latest revision as of 15:38, 14 May 2009

{{{BILLET}}} of the {{{SHIP}}}
Preceded by:
{{{PREV}}}
{{{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}}

Available parameters as follow:

  • COLOR1 = see note below,
  • COLOR2 = see note below,
  • SHIP = ship's name. MUST BE FORMATTED AS A LINK,
  • BILLET
  • PREV = rank+name of the previous officer. If non existant, write: Office nonexistent
  • NAME = rank+name of the current officer. MUST BE FORMATTED AS LINK,
  • 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)
#555555 = Flight Operation Division (grey)
#000000 = Non officer/Maquis/Other (black)

Enjoy!