Template:ShipCharSum: Difference between revisions
Jump to navigation
Jump to search
(removed {{!}}s and put |s outside ifs) |
(coloring outer frame) |
||
Line 1: | Line 1: | ||
<includeonly>{| class="toc" | <includeonly>{| class="toc" | ||
|style="max-width: | |style="max-width:600px; background:lightgrey; border-radius:10px 10px 10px 10px;" align=left| | ||
{| align=center | {| align=center | ||
|width=275 align=center|<font size=5>'''''[[{{{Ship}}}{{#if: {{{ShipNick|}}}|{{!}}{{{ShipNick}}}|}}]]'''''</font><br>[[File:{{{ShipClass}}}-scale.png|link={{{Ship}}}]] | |width=275 align=center|<font size=5>'''''[[{{{Ship}}}{{#if: {{{ShipNick|}}}|{{!}}{{{ShipNick}}}|}}]]'''''</font><br>[[File:{{{ShipClass}}}-scale.png|link={{{Ship}}}]] | ||
Line 7: | Line 7: | ||
|} | |} | ||
<font size=3><center>'''Commanding {{#if: {{{CO2-First|}}}|Officers|Officer}}''': {{n|{{{CO1-First}}}|{{#if: {{{CO1-Last|}}}|{{{CO1-Last}}}|}}}}{{#if: {{{CO2-First|}}}|{{#if: {{{CO3-First|}}}|, {{n|{{{CO2-First}}}|{{#if: {{{CO2-Last|}}}|{{{CO2-Last}}}|}}}}, & {{n|{{{CO3-First}}}|{{#if: {{{CO3-Last|}}}|{{{CO3-Last}}}|}}}}|<font> & {{n|{{{CO2-First}}}|{{#if: {{{CO2-Last|}}}|{{{CO2-Last}}}|}}}}</font>}}|}}</center></font> | <font size=3><center>'''Commanding {{#if: {{{CO2-First|}}}|Officers|Officer}}''': {{n|{{{CO1-First}}}|{{#if: {{{CO1-Last|}}}|{{{CO1-Last}}}|}}}}{{#if: {{{CO2-First|}}}|{{#if: {{{CO3-First|}}}|, {{n|{{{CO2-First}}}|{{#if: {{{CO2-Last|}}}|{{{CO2-Last}}}|}}}}, & {{n|{{{CO3-First}}}|{{#if: {{{CO3-Last|}}}|{{{CO3-Last}}}|}}}}|<font> & {{n|{{{CO2-First}}}|{{#if: {{{CO2-Last|}}}|{{{CO2-Last}}}|}}}}</font>}}|}}</center></font> | ||
{|width= | {|width=600 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}} | ||
Line 16: | Line 16: | ||
{{{Summary}}} | {{{Summary}}} | ||
|width=5| | |width=5| | ||
|}{{#if: {{{FirstName1|}}}|{{(!}}width= | |}{{#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}} | ||
Line 25: | Line 25: | ||
{{{Summary1}}} | {{{Summary1}}} | ||
{{!}}width=5{{!}} | {{!}}width=5{{!}} | ||
{{!)}}|}}{{#if: {{{FirstName2|}}}|{{(!}}width= | {{!)}}|}}{{#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}} |
Revision as of 18:40, 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
|