1,476
edits
Stuffinator (talk | contribs) (Replacing page with '{{s-start}}') |
Stuffinator (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{succession}} | ||
{| style="width: 33%; margin: 0 0 0 10%; border-collapse: collapse; background: #FBFBFB; border: 1px solid #aaa; border-top: 10px solid {{{COLOR1}}}; border-bottom: 0;" | |||
|- | |||
| 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="width: 80%; margin: 0 0 0 10%; border-collapse: collapse; background: #FBFBFB; border: 1px solid #aaa; border-top: 10px solid {{{COLOR2}}};" | |||
|- | |||
| style="width: 52px; text-align: center;" | | |||
| style="text-align: center;" | '''Preceded by:''' <br/> {{{PREV}}} <br/> | |||
|} | |||
{| style="width: 80%; margin: 0 0 0 10%; border-collapse: collapse; background: #FBFBFB; border: 1px solid #aaa; border-top: 10px solid #bba;" | |||
|- | |||
| style="width: 52px; text-align: center;" | | |||
| style="text-align: center;" | '''{{{NAME}}}''' <br/> '''{{{STARTD}}}''' - '''{{{ENDD}}}''' <br/> | |||
|} | |||
{| style="width: 80%; margin: 0 0 0 10%; border-collapse: collapse; background: #FBFBFB; border: 1px solid #aaa; border-top: 10px solid #bba;" | |||
|- | |||
| style="width: 52px; text-align: center;" | | |||
| style="text-align: center;" | '''Succeeded by:''' <br/> {{{NEXT}}} <br/> | |||
|} | |||
<noinclude> | |||
This is my first template with parameters, so bear with [[Federico Colnago|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|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}}<br /> | |||
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)<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 /> | |||
#ffe062 = Support/Security Division (light mustard)<br /> | |||
#555555 = Flight Operation Division (grey)<br /> | |||
#000000 = Non officer/Maquis/Other (black)<br /> | |||
Enjoy! | |||
</noinclude> |
edits