Template:ShipCharSum: Difference between revisions

making edges rounder
(→‎Directions: adding link to ShipSum template)
(making edges rounder)
Line 1: Line 1:
<includeonly>{|align=left
<includeonly>{|align=left
|style="max-width:600px; background:lightgrey; border-radius:10px 10px 10px 10px;"|
|style="max-width:600px; background:lightgrey; border-radius:20px 20px 20px 20px;"|
{| 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 9: Line 9:
|}
|}
<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=600 align=center style="background:#{{DefBGColor|{{{Color}}}}}; color:{{#switch: {{{Color|}}}| Orange=navy|Gold=navy|White=navy|{{{Color}}}=lightgray}}; border-radius:{{#if: {{{FirstName1|}}}|10px 10px 0px 0px|10px 10px 10px 10px}};"
{|width=600 align=center style="background:#{{DefBGColor|{{{Color}}}}}; color:{{#switch: {{{Color|}}}| Orange=navy|Gold=navy|White=navy|{{{Color}}}=lightgray}}; border-radius:{{#if: {{{FirstName1|}}}|20px 20px 0px 0px|20px 20px 20px 20px}};"
|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 23: Line 23:
|
|
|align=right|[[Template:ShipCharSum|{{#switch: {{{Color|}}}|Orange=<font size{{=}}0>|Gold=<font size{{=}}0>|White=<font size{{=}}0>|{{{Color}}}=<font size{{=}}0 color{{=}}white>}}View Template</font>]]
|align=right|[[Template:ShipCharSum|{{#switch: {{{Color|}}}|Orange=<font size{{=}}0>|Gold=<font size{{=}}0>|White=<font size{{=}}0>|{{{Color}}}=<font size{{=}}0 color{{=}}white>}}View Template</font>]]
|}{{#if: {{{FirstName1|}}}|{{(!}}width=600 align=center style="background:#{{DefBGColor|{{{Color1}}}}}; color:{{#switch: {{{Color1|}}}|Orange=navy|Gold=navy|White=navy|{{{Color1}}}=lightgray}}; border-radius:{{#if: {{{FirstName2|}}}|0px 0px 0px 0px|0px 0px 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:{{#if: {{{FirstName2|}}}|0px 0px 0px 0px|0px 0px 20px 20px}};"
{{!}}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 32: Line 32:
{{{Summary1}}}
{{{Summary1}}}
{{!}}width=5{{!}}
{{!}}width=5{{!}}
{{!)}}|}}{{#if: {{{FirstName2|}}}|{{(!}}width=600 align=center style="background:#{{DefBGColor|{{{Color2}}}}}; color:{{#switch: {{{Color2|}}}|Orange=navy|Gold=navy|White=navy|{{{Color2}}}=lightgray}}; border-radius:0px 0px 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:0px 0px 20px 20px;"
{{!}}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}}
8,273

edits