Template:Char info: Difference between revisions
mNo edit summary |
Stuffinator (talk | contribs) No edit summary |
||
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}}}''' | | style="padding: 0.00em 0.00em; text-align: center;" | '''{{{BILLET}}}''' of the '''''[[{{{SHIP}}}]]''''' | ||
|} | |} | ||
Revision as of 17:02, 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!