Template:ShipSum: Difference between revisions

spacing
(making even more adjustable)
(spacing)
Line 1: Line 1:
<includeonly>{|align={{#if: {{{Align|}}}|{{{Align}}}|left}}
<includeonly>{|align={{#if: {{{Align|}}}|{{{Align}}}|left}}
|width={{#if: {{{Width|}}}|{{{Width}}}|350}}px max-width:1000px; style="background:#{{FCBGColor|{{#if: {{{ShipColor|}}}|{{{ShipColor}}}|White}}}}; border:thin #000000 solid; 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={{#if: {{{Width|}}}|{{{Width}}}|350}}px max-width:1000px; style="background:#{{FCBGColor|{{#if: {{{ShipColor|}}}|{{{ShipColor}}}|White}}}}; border:thin #000000 solid; 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; cellpadding:0; cellspacing:0;"|
{| align=center
{|align=center
|width={{#if: {{{Width1|}}}|{{{Width1}}}|275}}px 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]]}}
|width={{#if: {{{Width1|}}}|{{{Width1}}}|275}}px 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|}}}|{{!}}width={{#if: {{{Width2|}}}|{{{Width2}}}|275}}px 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|}}}|{{!}}width={{#if: {{{Width2|}}}|{{{Width2}}}|275}}px 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|{{#if: {{{ShipReg|}}}|'''{{{ShipReg}}}'''<br>|}}{{#if: {{{ShipClass|}}}|[[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>]]<br>|}}{{#if: {{{ShipType|}}}|{{{ShipType}}}|}}
|{{#if: {{{ShipReg|}}}|'''{{{ShipReg}}}'''<br>|}}{{#if: {{{ShipClass|}}}|[[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>]]<br>|}}{{#if: {{{ShipType|}}}|{{{ShipType}}}|}}
{{#if: {{{Ship1|}}}|{{!}}align=center{{!}}'''{{{Ship1Reg}}}'''{{#if: {{{Ship1Class|}}}|<br>[[ma:{{{Ship1Class}}} class|''{{{Ship1Class}}}'' class]]}}|}}{{#if: {{{Ship1Type|}}}|<br>{{{Ship1Type}}}|}}
{{#if: {{{Ship1|}}}|{{!}}align=center{{!}}'''{{{Ship1Reg}}}'''{{#if: {{{Ship1Class|}}}|<br>[[ma:{{{Ship1Class}}} class|''{{{Ship1Class}}}'' class]]}}|}}{{#if: {{{Ship1Type|}}}|<br>{{{Ship1Type}}}|}}
|}
|}
8,273

edits