- 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
(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]] | ||
+ | }} |