Changes

modified to include elements of Template:Shipinfo2 (see also Template:Shipinfo/sandbox)
Line 52: Line 52:  
| align=center |{{{slot|no data}}}
 
| align=center |{{{slot|no data}}}
 
|-
 
|-
| colspan="4" style="text-align: center; {{border-radius|15px}}; background-color: LightSkyBlue;"|'''Stock Equipment'''
+
| colspan="{{#if: {{{space1|}}} |3|4}}" style="text-align: center; {{border-radius|15px}} background-color: LightSkyBlue;"|'''Stock Equipment''' {{#if: {{{space1|}}} |{{!}}{{!}}style="text-align: center; {{border-radius|15px}} background-color: LightSkyBlue;"{{!}}'''[[File:icon Aircraft.png|Space]]Space'''}}
 
|-
 
|-
|align=center colspan="4" |{{{slot1|no data}}}
+
|align=center colspan="{{#if: {{{space1|}}} |3|4}}" |{{{slot1|no data}}} {{#if: {{{space1|}}} |{{!}}{{!}}style="text-align: center;"{{!}}{{{space1|-}}} }}
 
|-
 
|-
|align=center colspan="4" |{{{slot2|no data}}}
+
|align=center colspan="{{#if: {{{space1|}}} |3|4}}" |{{{slot2|no data}}} {{#if: {{{space1|}}} |{{!}}{{!}}style="text-align: center;"{{!}}{{{space2|-}}} }}
 
|-
 
|-
|align=center colspan="4" |{{{slot3|no data}}}
+
|align=center colspan="{{#if: {{{space1|}}} |3|4}}" |{{{slot3|no data}}} {{#if: {{{space1|}}} |{{!}}{{!}}style="text-align: center;"{{!}}{{{space3|-}}} }}
 
|-
 
|-
|align=center colspan="4" |{{{slot4|no data}}}
+
|align=center colspan="{{#if: {{{space1|}}} |3|4}}" |{{{slot4|no data}}} {{#if: {{{space1|}}} |{{!}}{{!}}style="text-align: center;"{{!}}{{{space4|-}}} }}
 
|}
 
|}
 
<includeonly>
 
<includeonly>
{{#ifeq: {{NAMESPACE}} | |
+
{{#if: {{NAMESPACE}} | | {{#if:{{{type|}}} | {{#switch:{{{type}}} | Aircraft Carrier = [[Category:Standard Carriers]] | Armored Aircraft Carrier = [[Category:Armored Carriers]] | [[Category:{{{type}}}s]]}} }}
{{#if:{{{type|}}}|[[Category:{{{type}}}s]]}}
+
{{#if:{{{class|}}}|[[Category:{{{class}}} Class]]}} }}
{{#if:{{{class|}}}|[[Category:{{{class}}} Class]]}}
  −
| }}
   
</includeonly>
 
</includeonly>
 
<noinclude><!--PLEASE DO NOT ADD DOCUMENTATION/CATEGORIES/INTERWIKIS HERE-->
 
<noinclude><!--PLEASE DO NOT ADD DOCUMENTATION/CATEGORIES/INTERWIKIS HERE-->
 
{{Documentation}}
 
{{Documentation}}
 
<!--MAKE ADDITIONS TO THE /doc SUBPAGE INSTEAD, THANKS--></noinclude>
 
<!--MAKE ADDITIONS TO THE /doc SUBPAGE INSTEAD, THANKS--></noinclude>
5,421

edits