Template:ShipCharSum: Difference between revisions
Jump to navigation
Jump to search
(adding forgotten but necessary switch redundency) |
(adding missing spaces) |
||
Line 12: | Line 12: | ||
|width=5| | |width=5| | ||
| | | | ||
* '''[[{{nraw|{{{FirstName}}}|{{#if: {{{LastName|}}}|{{{LastName}}}|}}}}|{{#if: {{{Nickname|}}}|{{#switch: {{{Color|}}}|Orange=<font>|Gold=<font>|White=<font>|{{{Color}}}=<font color{{=}}white>}}{{{Nickname}}}|{{#switch: {{{Color|}}}|Orange=<font>|Gold=<font>|White=<font>|{{{Color}}}=<font color{{=}}white>}}{{{FirstName}}}{{#if: {{{LastName|}}}|{{{LastName}}}|}}}}</font>]]''': {{#if: {{{StartDate|}}}|{{{StartDate}}}|Past}} to {{#if: {{{EndDate|}}}|{{{EndDate}}}|Present}} | * '''[[{{nraw|{{{FirstName}}}|{{#if: {{{LastName|}}}|{{{LastName}}}|}}}}|{{#if: {{{Nickname|}}}|{{#switch: {{{Color|}}}|Orange=<font>|Gold=<font>|White=<font>|{{{Color}}}=<font color{{=}}white>}}{{{Nickname}}}|{{#switch: {{{Color|}}}|Orange=<font>|Gold=<font>|White=<font>|{{{Color}}}=<font color{{=}}white>}}{{{FirstName}}} {{#if: {{{LastName|}}}|{{{LastName}}}|}}}}</font>]]''': {{#if: {{{StartDate|}}}|{{{StartDate}}}|Past}} to {{#if: {{{EndDate|}}}|{{{EndDate}}}|Present}} | ||
**'''{{#if: {{{PrevPost|}}}|<font>{{{PrevPost}}}, </font>|}}{{{CurrentPost}}}''' | **'''{{#if: {{{PrevPost|}}}|<font>{{{PrevPost}}}, </font>|}}{{{CurrentPost}}}''' | ||
{{{Summary}}} | {{{Summary}}} | ||
Line 18: | Line 18: | ||
|}{{#if: {{{FirstName1|}}}|{{(!}}width=600 align=center style="background:#{{DefBGColor|{{{Color1}}}}}; color:{{#switch: {{{Color1|}}}|Orange=navy|Gold=navy|White=navy|{{{Color1}}}=lightgray}}; border-radius: 10px 10px 10px 10px;" | |}{{#if: {{{FirstName1|}}}|{{(!}}width=600 align=center style="background:#{{DefBGColor|{{{Color1}}}}}; color:{{#switch: {{{Color1|}}}|Orange=navy|Gold=navy|White=navy|{{{Color1}}}=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{{!}} | ||
{{!}} | {{!}} | ||
* '''[[{{nraw|{{{FirstName1}}}|{{#if: {{{LastName1|}}}|{{{LastName1}}}|}}}}|{{#if: {{{Nickname1|}}}|<font{{#switch: {{{Color1|}}}|Orange=<font>|Gold=<font>|White=<font>|{{{Color1}}}=<font color{{=}}white>}}{{{Nickname1}}}|{{#switch: {{{Color1|}}}|Orange=<font>|Gold=<font>|White=<font>|{{{Color1}}}=<font color{{=}}white>}}{{{FirstName1}}}{{#if: {{{LastName1|}}}|{{{LastName1}}}|}}}}</font>]]''': {{#if: {{{StartDate1|}}}|{{{StartDate1}}}|Past}} to {{#if: {{{EndDate1|}}}|{{{EndDate1}}}|Present}} | * '''[[{{nraw|{{{FirstName1}}}|{{#if: {{{LastName1|}}}|{{{LastName1}}}|}}}}|{{#if: {{{Nickname1|}}}|<font{{#switch: {{{Color1|}}}|Orange=<font>|Gold=<font>|White=<font>|{{{Color1}}}=<font color{{=}}white>}}{{{Nickname1}}}|{{#switch: {{{Color1|}}}|Orange=<font>|Gold=<font>|White=<font>|{{{Color1}}}=<font color{{=}}white>}}{{{FirstName1}}} {{#if: {{{LastName1|}}}|{{{LastName1}}}|}}}}</font>]]''': {{#if: {{{StartDate1|}}}|{{{StartDate1}}}|Past}} to {{#if: {{{EndDate1|}}}|{{{EndDate1}}}|Present}} | ||
**'''{{#if: {{{PrevPost1|}}}|<font>{{{PrevPost1}}}, </font>|}}{{{CurrentPost1}}}''' | **'''{{#if: {{{PrevPost1|}}}|<font>{{{PrevPost1}}}, </font>|}}{{{CurrentPost1}}}''' | ||
{{{Summary1}}} | {{{Summary1}}} | ||
Line 27: | Line 27: | ||
{{!)}}|}}{{#if: {{{FirstName2|}}}|{{(!}}width=600 align=center style="background:#{{DefBGColor|{{{Color2}}}}}; color:{{#switch: {{{Color2|}}}|Orange=navy|Gold=navy|White=navy|{{{Color2}}}=lightgray}}; border-radius: 10px 10px 10px 10px;" | {{!)}}|}}{{#if: {{{FirstName2|}}}|{{(!}}width=600 align=center style="background:#{{DefBGColor|{{{Color2}}}}}; color:{{#switch: {{{Color2|}}}|Orange=navy|Gold=navy|White=navy|{{{Color2}}}=lightgray}}; border-radius: 10px 10px 10px 10px;" | ||
{{!}}width=5{{!}} | {{!}}width=5{{!}} | ||
{{!}}{{TileCenter|{{{FirstName2}}}|{{#if: {{{LastName2|}}}|{{{LastName2}}}|}}|{{{Color2}}}|{{{CurrentPost2}}}|{{#if: {{{Image2|}}}|{{{Image2}}}|}}|10 | {{!}}{{TileCenter|{{{FirstName2}}}|{{#if: {{{LastName2|}}}|{{{LastName2}}}|}}|{{{Color2}}}|{{{CurrentPost2}}}|{{#if: {{{Image2|}}}|{{{Image2}}}|}}|10}} | ||
{{!}}width=5{{!}} | {{!}}width=5{{!}} | ||
{{!}} | {{!}} | ||
* '''[[{{nraw|{{{FirstName2}}}|{{#if: {{{LastName2|}}}|{{{LastName2}}}|}}}}|{{#if: {{{Nickname2|}}}|<font{{#switch: {{{Color2|}}}|Orange=<font>|Gold=<font>|White=<font>|{{{Color2}}}=<font color{{=}}white>}}{{{Nickname2}}}|{{#switch: {{{Color2|}}}|Orange=<font>|Gold=<font>|White=<font>|{{{Color2}}}=<font color{{=}}white>}}{{{FirstName2}}}{{#if: {{{LastName2|}}}|{{{LastName2}}}|}}}}</font>]]''': {{#if: {{{StartDate2|}}}|{{{StartDate2}}}|Past}} to {{#if: {{{EndDate2|}}}|{{{EndDate2}}}|Present}} | * '''[[{{nraw|{{{FirstName2}}}|{{#if: {{{LastName2|}}}|{{{LastName2}}}|}}}}|{{#if: {{{Nickname2|}}}|<font{{#switch: {{{Color2|}}}|Orange=<font>|Gold=<font>|White=<font>|{{{Color2}}}=<font color{{=}}white>}}{{{Nickname2}}}|{{#switch: {{{Color2|}}}|Orange=<font>|Gold=<font>|White=<font>|{{{Color2}}}=<font color{{=}}white>}}{{{FirstName2}}} {{#if: {{{LastName2|}}}|{{{LastName2}}}|}}}}</font>]]''': {{#if: {{{StartDate2|}}}|{{{StartDate2}}}|Past}} to {{#if: {{{EndDate2|}}}|{{{EndDate2}}}|Present}} | ||
**'''{{#if: {{{PrevPost2|}}}|<font>{{{PrevPost2}}}, </font>|}}{{{CurrentPost2}}}''' | **'''{{#if: {{{PrevPost2|}}}|<font>{{{PrevPost2}}}, </font>|}}{{{CurrentPost2}}}''' | ||
{{{Summary2}}} | {{{Summary2}}} |
Revision as of 19:22, 18 August 2014
Directions
To use as the intro blurb on your character page (or for any other reason), just type the following:
{{ShipCharSum |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
|