8,273
edits
(final width adjustment) |
(adding ShipType switches for non-Starfleet craft) |
||
Line 5: | Line 5: | ||
{{#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}}}'''<br>[[ma:{{{ShipClass}}} class|<font color={{#switch: {{{ShipColor|}}}|Red=white|Green=white|Teal=white|Blue=white|Violet=white|Black=white|Silver=white|{{{ShipColor}}}=navy}}>''{{{ShipClass}}}'' class</font>]] | |align=center|'''{{{ShipReg}}}'''{{#if: {{{ShipType|}}}|<br>{{{ShipType}}}|<br>[[ma:{{{ShipClass}}} class|<font color={{#switch: {{{ShipColor|}}}|Red=white|Green=white|Teal=white|Blue=white|Violet=white|Black=white|Silver=white|{{{ShipColor}}}=navy}}>''{{{ShipClass}}}'' class</font>]]}} | ||
{{#if: {{{Ship1|}}}|{{!}}align=center{{!}}'''{{{Ship1Reg}}}'''<br>[[ma:{{{Ship1Class}}} class|''{{{Ship1Class}}}'' class]]|}} | {{#if: {{{Ship1|}}}|{{!}}align=center{{!}}'''{{{Ship1Reg}}}'''{{#if: {{{Ship1Type|}}}|<br>{{{Ship1Type}}}|<br>[[ma:{{{Ship1Class}}} class|''{{{Ship1Class}}}'' class]]}}|}} | ||
|} | |} | ||
{{#if: {{{CO1-First|}}}|<font size=3><center>'''Commanding {{#if: {{{CO2-First|}}}|Officers|Officer}}: {{{{#switch: {{{ShipColor|}}}|Red=nwhite|Green=nwhite|Teal=nwhite|Blue=nwhite|Violet=nwhite|Black=nwhite|Silver=nwhite|{{{ShipColor}}}=n|n}}|{{{CO1-First}}}|{{#if: {{{CO1-Last|}}}|{{{CO1-Last}}}|}}}}{{#if: {{{CO2-First|}}}|{{#if: {{{CO3-First|}}}|, {{{{#switch: {{{ShipColor|}}}|Red=nwhite|Green=nwhite|Teal=nwhite|Blue=nwhite|Violet=nwhite|Black=nwhite|Silver=nwhite|{{{ShipColor}}}=n|n}}|{{{CO2-First}}}|{{#if: {{{CO2-Last|}}}|{{{CO2-Last}}}|}}}}, & {{{{#switch: {{{ShipColor|}}}|Red=nwhite|Green=nwhite|Teal=nwhite|Blue=nwhite|Violet=nwhite|Black=nwhite|Silver=nwhite|{{{ShipColor}}}=n|n}}|{{{CO3-First}}}|{{#if: {{{CO3-Last|}}}|{{{CO3-Last}}}|}}}}|<font> & {{{{#switch: {{{ShipColor|}}}|Red=nwhite|Green=nwhite|Teal=nwhite|Blue=nwhite|Violet=nwhite|Black=nwhite|Silver=nwhite|{{{ShipColor}}}=n|n}}|{{{CO2-First}}}|{{#if: {{{CO2-Last|}}}|{{{CO2-Last}}}|}}}}</font>}}|}}'''</center></font>|}} | {{#if: {{{CO1-First|}}}|<font size=3><center>'''Commanding {{#if: {{{CO2-First|}}}|Officers|Officer}}: {{{{#switch: {{{ShipColor|}}}|Red=nwhite|Green=nwhite|Teal=nwhite|Blue=nwhite|Violet=nwhite|Black=nwhite|Silver=nwhite|{{{ShipColor}}}=n|n}}|{{{CO1-First}}}|{{#if: {{{CO1-Last|}}}|{{{CO1-Last}}}|}}}}{{#if: {{{CO2-First|}}}|{{#if: {{{CO3-First|}}}|, {{{{#switch: {{{ShipColor|}}}|Red=nwhite|Green=nwhite|Teal=nwhite|Blue=nwhite|Violet=nwhite|Black=nwhite|Silver=nwhite|{{{ShipColor}}}=n|n}}|{{{CO2-First}}}|{{#if: {{{CO2-Last|}}}|{{{CO2-Last}}}|}}}}, & {{{{#switch: {{{ShipColor|}}}|Red=nwhite|Green=nwhite|Teal=nwhite|Blue=nwhite|Violet=nwhite|Black=nwhite|Silver=nwhite|{{{ShipColor}}}=n|n}}|{{{CO3-First}}}|{{#if: {{{CO3-Last|}}}|{{{CO3-Last}}}|}}}}|<font> & {{{{#switch: {{{ShipColor|}}}|Red=nwhite|Green=nwhite|Teal=nwhite|Blue=nwhite|Violet=nwhite|Black=nwhite|Silver=nwhite|{{{ShipColor}}}=n|n}}|{{{CO2-First}}}|{{#if: {{{CO2-Last|}}}|{{{CO2-Last}}}|}}}}</font>}}|}}'''</center></font>|}} |
edits