Template:ShipCharSum: Difference between revisions
Jump to navigation
Jump to search
m (typo) |
(adding font color switch) |
||
Line 5: | Line 5: | ||
|} | |} | ||
<font size=3><center>'''Commanding {{#if: {{{CO2-First|}}}|Officers|Officer}}''': {{n|{{{CO1-First}}}|{{{CO1-Last}}}}}{{#if: {{{CO2-First|}}}|{{#if: {{{CO3-First|}}}|, {{n|{{{CO2-First}}}|{{{CO2-Last}}}}}, & {{n|{{{CO3-First}}}|{{{CO3-Last}}}}}|<font> & {{n|{{{CO2-First}}}|{{{CO2-Last}}}}}</font>}}|}}</center></font> | <font size=3><center>'''Commanding {{#if: {{{CO2-First|}}}|Officers|Officer}}''': {{n|{{{CO1-First}}}|{{{CO1-Last}}}}}{{#if: {{{CO2-First|}}}|{{#if: {{{CO3-First|}}}|, {{n|{{{CO2-First}}}|{{{CO2-Last}}}}}, & {{n|{{{CO3-First}}}|{{{CO3-Last}}}}}|<font> & {{n|{{{CO2-First}}}|{{{CO2-Last}}}}}</font>}}|}}</center></font> | ||
{|width=650 align=center style="background:#{{DefBGColor|{{{Color}}}}}; color:lightgray; border-radius: 10px 10px 10px 10px;" | {|width=650 align=center style="background:#{{DefBGColor|{{{Color}}}}}; color:{{#switch: {{{Color|}}}| Orange=navy|Gold=navy|White=navy|{{{Color}}}=lightgray}}; border-radius: 10px 10px 10px 10px;" | ||
|width=5| | |width=5| | ||
|{{TileCenter|{{{FirstName}}}|{{#if: {{{LastName|}}}|{{{LastName}}}|}}|{{{Color}}}|{{{CurrentPost}}}|{{#if: {{{Image|}}}|{{{Image}}}|}}|10}} | |{{TileCenter|{{{FirstName}}}|{{#if: {{{LastName|}}}|{{{LastName}}}|}}|{{{Color}}}|{{{CurrentPost}}}|{{#if: {{{Image|}}}|{{{Image}}}|}}|10}} | ||
|width=5| | |width=5| | ||
| | | | ||
* '''{{nwhite|{{{FirstName}}}|{{#if: {{{LastName|}}}|{{{LastName}}}|}}}}''': {{{StartDate}}} to {{#if: {{{EndDate|}}}|{{{EndDate}}}|Present}} | * '''{{{{#switch: {{{Color|}}}|Orange=n|Gold=n|White=n|{{{Color}}}=nwhite}}|{{{FirstName}}}|{{#if: {{{LastName|}}}|{{{LastName}}}|}}}}''': {{{StartDate}}} to {{#if: {{{EndDate|}}}|{{{EndDate}}}|Present}} | ||
**'''{{#if: {{{PrevPost|}}}|{{{PrevPost}}}, |}}{{{CurrentPost}}}''' | **'''{{#if: {{{PrevPost|}}}|{{{PrevPost}}}, |}}{{{CurrentPost}}}''' | ||
{{{Summary}}} | {{{Summary}}} | ||
|width=5| | |width=5| | ||
|}{{#if: {{{FirstName1|}}}|{{(!}}width=650 align=center style="background:#{{DefBGColor|{{{Color1}}}}}; color:lightgray; border-radius: 10px 10px 10px 10px;" | |}{{#if: {{{FirstName1|}}}|{{(!}}width=650 align=center style="background:#{{DefBGColor|{{{Color1}}}}}; color:{{#switch: {{{Color1|}}}|Orange=navy|Gold=navy|White=navy|{{{Color}}}=lightgray}}; border-radius: 10px 10px 10px 10px;" | ||
{{!}}width=5{{!}} | {{!}}width=5{{!}} | ||
{{!}}{{TileCenter|{{{FirstName1}}}|{{#if: {{{LastName1|}}}|{{{LastName1}}}|}}|{{{Color1}}}|{{{CurrentPost1}}}|{{#if: {{{Image1|}}}|{{{Image1}}}|}}|10}} | {{!}}{{TileCenter|{{{FirstName1}}}|{{#if: {{{LastName1|}}}|{{{LastName1}}}|}}|{{{Color1}}}|{{{CurrentPost1}}}|{{#if: {{{Image1|}}}|{{{Image1}}}|}}|10}} | ||
{{!}}width=5{{!}} | {{!}}width=5{{!}} | ||
{{!}} | {{!}} | ||
* '''{{nwhite|{{{FirstName1}}}|{{#if: {{{LastName1|}}}|{{{LastName1}}}|}}}}''': {{{StartDate1}}} to {{#if: {{{EndDate1|}}}|{{{EndDate1}}}|Present}} | * '''{{{{#switch: {{{Color1|}}}|Orange=n|Gold=n|White=n|{{{Color1}}}=nwhite}}|{{{FirstName1}}}|{{#if: {{{LastName1|}}}|{{{LastName1}}}|}}}}''': {{{StartDate1}}} to {{#if: {{{EndDate1|}}}|{{{EndDate1}}}|Present}} | ||
**'''{{#if: {{{PrevPost1|}}}|{{{PrevPost1}}}, |}}{{{CurrentPost1}}}''' | **'''{{#if: {{{PrevPost1|}}}|{{{PrevPost1}}}, |}}{{{CurrentPost1}}}''' | ||
{{{Summary1}}} | {{{Summary1}}} |
Revision as of 14:51, 18 August 2014
Directions
To use as the intro blurb on your character page (or for any other reason), just type the following:
{{CharSum |Ship = |ShipNick = (optional - if you'd like the title to hide the "-C" or whatever letter from your ship's name) |ShipClass = |ShipReg = |CO1-First = |CO1-Last = |CO2-First = (optional, in case you've served under two COs on the same ship) |CO2-Last = (optional, see above) |CO3-First = (optional, in case you've served under three COs on the same ship) |CO3-Last = (optional, see above) |Color = |FirstName = |LastName = |CurrentPost = |Image = (file name of your character pic) |PrevPost = (optional, any or all posts you've previously served on aboard this ship) |StartDate = (Real time date, or Stardate, whichever you prefer) |EndDate = (ditto) |Summary = (the summary description of your character) }}
Example
|