Template:ShipSum: Difference between revisions

adding station option
(switching to FC colors for diversity)
(adding station option)
Line 2: Line 2:
|width=350px max-width:1000px; style="background:#{{FCBGColor|{{#if: {{{ShipColor|}}}|{{{ShipColor}}}|White}}}}; color:{{#switch: {{{ShipColor|}}}|Red=lightgrey|Green=lightgrey|Teal=lightgrey|Blue=lightgrey|Lavender=lightgrey|Violet=lightgrey|Black=lightgrey|Silver=lightgrey|{{{ShipColor}}}=black}}; border-radius:20px 20px 20px 20px;"|
|width=350px max-width:1000px; style="background:#{{FCBGColor|{{#if: {{{ShipColor|}}}|{{{ShipColor}}}|White}}}}; color:{{#switch: {{{ShipColor|}}}|Red=lightgrey|Green=lightgrey|Teal=lightgrey|Blue=lightgrey|Lavender=lightgrey|Violet=lightgrey|Black=lightgrey|Silver=lightgrey|{{{ShipColor}}}=black}}; border-radius:20px 20px 20px 20px;"|
{| align=center
{| align=center
|width=275 align=center|<font size=5>'''''[[{{{Ship}}}|<font color={{#switch: {{{ShipColor|}}}|Red=white|Green=white|Teal=white|Blue=white|Lavender=white|Violet=white|Black=white|Silver=white|{{{ShipColor}}}=navy}}>{{#if: {{{ShipNick|}}}|{{{ShipNick}}}|{{{Ship}}}}}</font>]]'''''</font>{{#if: {{{NoPic|}}}||<br>[[File:{{{ShipClass}}}-scale.png|link=Template:ShipSum]]}}
|width=275 align=center|<font size=5>'''{{#if: {{{Station|}}}|[[{{{Station}}}|<font color={{#switch: {{{ShipColor|}}}|Red=white|Green=white|Teal=white|Blue=white|Lavender=white|Violet=white|Black=white|Silver=white|{{{ShipColor}}}=navy}}>{{{Station}}}]]|''[[{{{Ship}}}|<font color={{#switch: {{{ShipColor|}}}|Red=white|Green=white|Teal=white|Blue=white|Lavender=white|Violet=white|Black=white|Silver=white|{{{ShipColor}}}=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}}}|<font color={{#switch: {{{ShipColor|}}}|Red=white|Green=white|Teal=white|Blue=white|Violet=white|Black=white|Silver=white|{{{ShipColor}}}=navy}}>{{#if: {{{Ship1Nick|}}}|{{{Ship1Nick}}}|{{{Ship1}}}}}</font>]]'''''</font>{{#if: {{{NoPic1|}}}||<br>[[File:{{{Ship1Class}}}-scale.png|link=Template:ShipSum]]}}|}}
{{#if: {{{Ship1|}}}|{{!}}align=center{{!}}<font size=5>'''''[[{{{Ship1}}}|<font color={{#switch: {{{ShipColor|}}}|Red=white|Green=white|Teal=white|Blue=white|Violet=white|Black=white|Silver=white|{{{ShipColor}}}=navy}}>{{#if: {{{Ship1Nick|}}}|{{{Ship1Nick}}}|{{{Ship1}}}}}</font>]]'''''</font>{{#if: {{{NoPic1|}}}||<br>[[File:{{{Ship1Class}}}-scale.png|link=Template:ShipSum]]}}|}}
|-
|-
|align=center|'''{{{ShipReg}}}'''{{#if: {{{ShipType|}}}|<br>{{{ShipType}}}|<br>[[ma:{{{ShipClass}}} class|<font color={{#switch: {{{ShipColor|}}}|Red=white|Green=white|Teal=white|Blue=white|Lavender=white|Violet=white|Black=white|Silver=white|{{{ShipColor}}}=navy}}>''{{{ShipClass}}}'' class</font>]]}}
|align=center|{{#if: {{{ShipReg|}}}|'''{{{ShipReg}}}'''|}}{{#if: {{{ShipType|}}}|<br>{{{ShipType}}}|<br>[[ma:{{{ShipClass}}} class|<font color={{#switch: {{{ShipColor|}}}|Red=white|Green=white|Teal=white|Blue=white|Lavender=white|Violet=white|Black=white|Silver=white|{{{ShipColor}}}=navy}}>''{{{ShipClass}}}'' class</font>]]}}
{{#if: {{{Ship1|}}}|{{!}}align=center{{!}}'''{{{Ship1Reg}}}'''{{#if: {{{Ship1Type|}}}|<br>{{{Ship1Type}}}|<br>[[ma:{{{Ship1Class}}} class|''{{{Ship1Class}}}'' class]]}}|}}
{{#if: {{{Ship1|}}}|{{!}}align=center{{!}}'''{{{Ship1Reg}}}'''{{#if: {{{Ship1Type|}}}|<br>{{{Ship1Type}}}|<br>[[ma:{{{Ship1Class}}} class|''{{{Ship1Class}}}'' class]]}}|}}
|}
|}
8,273

edits