Template:Char info: Difference between revisions
Stuffinator (talk | contribs) No edit summary |
mNo edit summary |
||
(15 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 ''''' | | 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;" | | | style="text-align: center;" | '''{{{NAME}}}''' <br/> '''{{{STARTD}}}''' - '''{{{ENDD}}}''' <br/> | ||
|} | |} | ||
Line 31: | Line 31: | ||
{{Char_info| PARAMETER1 = value | PARAMETER2 = value | ... | PARAMETERn = value}}<br /> | {{Char_info| PARAMETER1 = value | PARAMETER2 = value | ... | PARAMETERn = value}}<br /> | ||
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''' = | * '''SHIP''' = ship's name. '''MUST BE FORMATTED AS A LINK''', | ||
* '''BILLET''' | * '''BILLET''' | ||
* '''PREV''' = rank+name of the previous officer. If non existant, write: ''Office | * '''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''', | |||
* '''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: | ||
# | #8b0000 = Command Division (red)<br /> | ||
# | #b8860b = Operations Division / Engineering Division (mustard)<br /> | ||
# | #0000cd = Science Division (blue) <br /> | ||
# | #008b8b = Medical Division (sky blue/teal) <br /> | ||
#006400 = Marine Division (green)<br /> | #006400 = Marine Division (green)<br /> | ||
#ffe062 = Support/Security Division (light mustard)<br /> | #ffe062 = Support/Security Division (light mustard)<br /> | ||
#555555 = Flight Operation Division (grey)<br /> | |||
#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!