8,273
edits
(resetting default color) |
(adding color switches) |
||
Line 1: | Line 1: | ||
<includeonly>{|align={{#if: {{{Align|}}}|{{{Align}}}|left}} | <includeonly>{|align={{#if: {{{Align|}}}|{{{Align}}}|left}} | ||
|style="max-width:600px; background:#{{DefBGColor|{{#if: {{{ShipColor|}}}|{{{ShipColor}}}|White}}}}; border-radius:20px 20px 20px 20px;"| | |style="max-width:600px; background:#{{DefBGColor|{{#if: {{{ShipColor|}}}|{{{ShipColor}}}|White}}}}; color:{{#switch: {{{Color|}}}|Red=lightgrey|Green=lightgrey|Teal=lightgrey|Blue=lightgrey|Violet=lightgrey|Black=lightgrey|Silver=lightgrey|{{{Color}}}=black}}; border-radius:20px 20px 20px 20px;"| | ||
{| align=center | {| align=center | ||
|width=275 align=center|<font size=5>'''''[[{{{Ship}}}{{#if: {{{ShipNick|}}}|{{ | |width=275 align=center|<font size=5>'''''[[{{{Ship}}}|<font color={{#switch: {{{Color|}}}|Red=white|Green=white|Teal=white|Blue=white|Violet=white|Black=white|Silver=white|{{{Color}}}=navy}}>{{#if: {{{ShipNick|}}}|{{{ShipNick}}}|{{{Ship}}}}}</font>]]'''''</font>{{#if: {{{NoPic|}}}||<br>[[File:{{{ShipClass}}}-scale.png|link=Template:ShipSum]]}} | ||
{{#if: {{{Ship1|}}}|{{!}}align=center{{!}}<font size=5>'''''[[{{{Ship1}}}{{#if: {{{Ship1Nick|}}}|{{ | {{#if: {{{Ship1|}}}|{{!}}align=center{{!}}<font size=5>'''''[[{{{Ship1}}}<font color={{#switch: {{{Color|}}}|Red=white|Green=white|Teal=white|Blue=white|Violet=white|Black=white|Silver=white|{{{Color}}}=navy}}>{{#if: {{{Ship1Nick|}}}|{{{Ship1Nick}}}|{{{Ship}}}}}</font>]]'''''</font>{{#if: {{{NoPic1|}}}||<br>[[File:{{{Ship1Class}}}-scale.png|link=Template:ShipSum]]}}|}} | ||
|- | |- | ||
|align=center|'''{{{ShipReg}}}'''<br>[[ma:{{{ShipClass}}} class|''{{{ShipClass}}}'' class]] | |align=center|'''{{{ShipReg}}}'''<br>[[ma:{{{ShipClass}}} class|<font color={{#switch: {{{Color|}}}|Red=white|Green=white|Teal=white|Blue=white|Violet=white|Black=white|Silver=white|{{{Color}}}=navy}}>''{{{ShipClass}}}'' class</font>]] | ||
{{#if: {{{Ship1|}}}|{{!}}align=center{{!}}'''{{{Ship1Reg}}}'''<br>[[ma:{{{Ship1Class}}} class|''{{{Ship1Class}}}'' class]]|}} | {{#if: {{{Ship1|}}}|{{!}}align=center{{!}}'''{{{Ship1Reg}}}'''<br>[[ma:{{{Ship1Class}}} class|''{{{Ship1Class}}}'' class]]|}} | ||
|} | |} | ||
{{#if: {{{CO1-First|}}}|<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>|}} | {{#if: {{{CO1-First|}}}|<font color={{#switch: {{{Color|}}}|Red=white|Green=white|Teal=white|Blue=white|Violet=white|Black=white|Silver=white|{{{Color}}}=navy}} 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>|}} | ||
|}</includeonly> | |}</includeonly> | ||
<noinclude> | <noinclude> |
edits