Difference between revisions of "Template:Shipinfo/sandbox"

(Created page with "<table style="border: 1px solid lightblue; {{border-radius|15px}} width: 345px;"> <tr> <td colspan="4" style="text-align: center; {{border-radius|15px}} background-color...")
 
m (Adjustment for Abyssal auto category)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table style="border: 1px solid lightblue; {{border-radius|15px}} width: 345px;">
+
<table style="border: 1px solid {{#switch: {{{templatetype}}} | #default =lightblue| Abyssal =darkgray}}; {{border-radius|15px}} width: 345px;">
 
   <tr>
 
   <tr>
 
     <td colspan="4" style="text-align: center; {{border-radius|15px}} background-color: {{{color|transparent}}};"><p style="font-size: 20px">'''{{{name|Name?}}}'''</p>
 
     <td colspan="4" style="text-align: center; {{border-radius|15px}} background-color: {{{color|transparent}}};"><p style="font-size: 20px">'''{{{name|Name?}}}'''</p>
Line 46: Line 46:
 
     <td style="width: 86px;">[[File:icon Luck.png|Luck]] Luck</td>
 
     <td style="width: 86px;">[[File:icon Luck.png|Luck]] Luck</td>
 
     <td>'''{{{luck|no data}}}'''</td>
 
     <td>'''{{{luck|no data}}}'''</td>
   </tr>
+
   </tr>{{#switch: {{{templatetype}}} | Abyssal =| #default =
 
   <tr>
 
   <tr>
 
     <td colspan="4" style="text-align: center; {{border-radius|15px}} background-color: LightSkyBlue;">'''Consumption'''</td>
 
     <td colspan="4" style="text-align: center; {{border-radius|15px}} background-color: LightSkyBlue;">'''Consumption'''</td>
Line 63: Line 63:
 
     <td colspan="3" style="text-align: center;">{{{time|Unbuildable}}}</td>
 
     <td colspan="3" style="text-align: center;">{{{time|Unbuildable}}}</td>
 
     <td style="text-align: center;">{{{slot|no data}}}</td>
 
     <td style="text-align: center;">{{{slot|no data}}}</td>
   </tr>
+
   </tr>}}
 
   <tr>
 
   <tr>
     <td colspan="{{#if: {{{space1|}}} |3|4}}" style="text-align: center; {{border-radius|15px}} background-color: LightSkyBlue;">'''Stock Equipment'''</td>
+
     <td colspan="{{#if: {{{space1|}}} |3|4}}" style="text-align: center; {{border-radius|15px}} background-color: LightSkyBlue;">'''{{#switch: {{{templatetype}}} | #default =Stock Equipment| Abyssal =Equipment}}'''</td>
 
     {{#if: {{{space1|}}} |<td style="text-align: center; {{border-radius|15px}} background-color: LightSkyBlue;">'''[[File:icon Aircraft.png|Space]]Space'''</td>}}
 
     {{#if: {{{space1|}}} |<td style="text-align: center; {{border-radius|15px}} background-color: LightSkyBlue;">'''[[File:icon Aircraft.png|Space]]Space'''</td>}}
 
   </tr>
 
   </tr>
Line 85: Line 85:
 
   </tr>
 
   </tr>
 
</table><includeonly>
 
</table><includeonly>
{{#if: {{NAMESPACE}} | |{{#if:{{{type|}}} |{{#switch:{{{type}}} |#Default =[[Category:{{{type}}}s]]| Aircraft Carrier =[[Category:Standard Carriers]]| Armored Aircraft Carrier =[[Category:Armored Carriers]]}}}}
+
{{#switch: {{{templatetype}}}
 +
| #default ={{#if: {{NAMESPACE}} | |{{#if:{{{type|}}} |{{#switch:{{{type}}} |#Default =[[Category:{{{type}}}s]]| Aircraft Carrier =[[Category:Standard Carriers]]| Armored Aircraft Carrier =[[Category:Armored Carriers]]}}}}
 
{{#if: {{{class|}}} |[[Category:{{{class}}} Class]]}}}}
 
{{#if: {{{class|}}} |[[Category:{{{class}}} Class]]}}}}
 +
| Abyssal  =[[Category:Enemy Vessel]][[Category:{{{class}}} {{{type}}}s]]
 +
}}

Latest revision as of 18:03, 8 July 2016

Name?

Statistics
HP HP no data Firepower Firepower no data
Armor Armor no data Torpedo Torpedo no data
Evasion Evasion no data AA AA no data
Aircraft Aircraft no data ASW ASW no data
Speed Speed no data LOS LOS no data
Range Range no data Luck Luck no data
Consumption
Fuel.pngFuel no data Ammunition.pngAmmo no data
Build Time Slots
Unbuildable no data
Stock Equipment
no data
no data
no data
no data