- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
Difference between revisions of "Template:Shipinfo/sandbox"
Jump to navigation
Jump to search
(Combined with EnemyShipInfo) |
m (Adjustment for Abyssal auto category) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <table style="border: 1px solid {{#switch: {{{ | + | <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>{{#switch: {{{ | + | </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 65: | Line 65: | ||
</tr>}} | </tr>}} | ||
<tr> | <tr> | ||
− | <td colspan="{{#if: {{{space1|}}} |3|4}}" style="text-align: center; {{border-radius|15px}} background-color: LightSkyBlue;">'''{{#switch: {{{ | + | <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]] | ||
+ | }} |