• 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:KanmusuInfo"

From Kancolle Wiki
Jump to navigation Jump to search
(Created page with "<includeonly><div style="display: inline-block; vertical-align: top;><table style="{{border-radius|10px 10px 10px 10px}} border: 1px solid #aaaaaa; min-width: 480px"> <tr>...")
 
m (Fix)
Line 105: Line 105:
 
         | shinkai  =}}
 
         | shinkai  =}}
 
             {{#switch: {{#invoke:ShipData|getData|{{{ID|001}}}|Aircraft1}} | #default =<th style="white-space: nowrap; {{border-radius|12px 4px 4px 12px}} background-color: #efe6d7; color: #a3965c;">Aircraft</th>|=}}
 
             {{#switch: {{#invoke:ShipData|getData|{{{ID|001}}}|Aircraft1}} | #default =<th style="white-space: nowrap; {{border-radius|12px 4px 4px 12px}} background-color: #efe6d7; color: #a3965c;">Aircraft</th>|=}}
             <th {{#switch: {{{type}}} | shinkai ={{#if: {{{Aircraft1|}}}|colspan="3"|colspan="4"}}}} style="white-space: nowrap; {{border-radius|
+
             <th {{#switch: {{{type}}} | shinkai ={{#if: {{{Aircraft1|}}}|colspan="3"|colspan="4"}}}} style="white-space: nowrap; {{border-radius|{{#switch: {{#invoke:ShipData|getData|{{{ID|001}}}|Aircraft1}} | #default =4px 12px 12px 4px|=12px 12px 12px 12px}}}} background-color: #efe6d7; color: #a3965c; vertical-align: baseline;">Equipment</th>
            {{#switch: {{#invoke:ShipData|getData|{{{ID|001}}}|Aircraft1}} | #default =4px 12px 12px 4px|=12px 12px 12px 12px}} background-color: #efe6d7; color: #a3965c; vertical-align: baseline;">Equipent</th>
 
 
           </tr>
 
           </tr>
 
           <tr>
 
           <tr>
 
             {{#switch: {{#invoke:ShipData|getData|{{{ID|001}}}|Aircraft1}} | #default =<td style="white-space: nowrap; text-align: center">{{#invoke:ShipData|getData|{{{ID|001}}}|Aircraft1}}</td>|=}}
 
             {{#switch: {{#invoke:ShipData|getData|{{{ID|001}}}|Aircraft1}} | #default =<td style="white-space: nowrap; text-align: center">{{#invoke:ShipData|getData|{{{ID|001}}}|Aircraft1}}</td>|=}}
             <td {{#switch: {{{type}}} | shinkai ={{#if: {{{Aircraft1|}}}|colspan="3"|colspan="4"}}}} style="white-space: nowrap; vertical-align: baseline; {{#switch: {{{type}}} | shinkai =text-align: center;}}">{{#switch: {{#invoke:ShipData|getData|{{{ID|001}}}|Equip1}} | #default ={{#ifeq: {{#invoke:ShipData|getData|{{{ID|001}}}|Equip1}} |Unequipped|Unequipped|{{#switch: {{{type}}} | #default =[[{{#invoke:ShipData|getData|{{{ID|001}}}|Equip1}}]]| shinkai | user ={{{Equip1}}}}}}} |=''Locked''}}</td>
+
             <td {{#switch: {{{type}}} | shinkai ={{#if: {{{Aircraft1|}}}|colspan="3"|colspan="4"}}}} style="white-space: nowrap; vertical-align: baseline; {{#switch: {{{type}}} | shinkai =text-align: center;}}">{{#switch: {{#invoke:ShipData|getData|{{{ID|001}}}|Equip1}} | #default ={{#ifeq: {{#invoke:ShipData|getData|{{{ID|001}}}|Equip1}} |No Equipment|No Equipment|{{#switch: {{{type}}} | #default =[[{{#invoke:ShipData|getData|{{{ID|001}}}|Equip1}}]]| shinkai | user ={{{Equip1}}}}}}} |=''Locked''}}</td>
 
           </tr>
 
           </tr>
 
           <tr>
 
           <tr>
 
             {{#switch: {{#invoke:ShipData|getData|{{{ID|001}}}|Aircraft1}} | #default =<td style="white-space: nowrap; text-align: center">{{#invoke:ShipData|getData|{{{ID|001}}}|Aircraft2}}</td>|=}}
 
             {{#switch: {{#invoke:ShipData|getData|{{{ID|001}}}|Aircraft1}} | #default =<td style="white-space: nowrap; text-align: center">{{#invoke:ShipData|getData|{{{ID|001}}}|Aircraft2}}</td>|=}}
             <td {{#switch: {{{type}}} | shinkai ={{#if: {{{Aircraft1|}}}|colspan="3"|colspan="4"}}}} style="white-space: nowrap; vertical-align: baseline; {{#switch: {{{type}}} | shinkai =text-align: center;}}">{{#switch: {{#invoke:ShipData|getData|{{{ID|001}}}|Equip2}} | #default ={{#ifeq: {{#invoke:ShipData|getData|{{{ID|001}}}|Equip2}} |Unequipped|Unequipped|{{#switch: {{{type}}} | #default =[[{{#invoke:ShipData|getData|{{{ID|001}}}|Equip2}}]]| shinkai | user ={{{Equip2}}}}}}} |=''Locked''}}</td>
+
             <td {{#switch: {{{type}}} | shinkai ={{#if: {{{Aircraft1|}}}|colspan="3"|colspan="4"}}}} style="white-space: nowrap; vertical-align: baseline; {{#switch: {{{type}}} | shinkai =text-align: center;}}">{{#switch: {{#invoke:ShipData|getData|{{{ID|001}}}|Equip2}} | #default ={{#ifeq: {{#invoke:ShipData|getData|{{{ID|001}}}|Equip2}} |No Equipment|No Equipment|{{#switch: {{{type}}} | #default =[[{{#invoke:ShipData|getData|{{{ID|001}}}|Equip2}}]]| shinkai | user ={{{Equip2}}}}}}} |=''Locked''}}</td>
 
           </tr>
 
           </tr>
 
           <tr>
 
           <tr>
 
             {{#switch: {{#invoke:ShipData|getData|{{{ID|001}}}|Aircraft1}} | #default =<td style="white-space: nowrap; text-align: center">{{#invoke:ShipData|getData|{{{ID|001}}}|Aircraft3}}</td>|=}}
 
             {{#switch: {{#invoke:ShipData|getData|{{{ID|001}}}|Aircraft1}} | #default =<td style="white-space: nowrap; text-align: center">{{#invoke:ShipData|getData|{{{ID|001}}}|Aircraft3}}</td>|=}}
             <td {{#switch: {{{type}}} | shinkai ={{#if: {{{Aircraft1|}}}|colspan="3"|colspan="4"}}}} style="white-space: nowrap; vertical-align: baseline; {{#switch: {{{type}}} | shinkai =text-align: center;}}">{{#switch: {{#invoke:ShipData|getData|{{{ID|001}}}|Equip3}} | #default ={{#ifeq: {{#invoke:ShipData|getData|{{{ID|001}}}|Equip3}} |Unequipped|Unequipped|{{#switch: {{{type}}} | #default =[[{{#invoke:ShipData|getData|{{{ID|001}}}|Equip3}}]]| shinkai | user ={{{Equip3}}}}}}} |=''Locked''}}</td>
+
             <td {{#switch: {{{type}}} | shinkai ={{#if: {{{Aircraft1|}}}|colspan="3"|colspan="4"}}}} style="white-space: nowrap; vertical-align: baseline; {{#switch: {{{type}}} | shinkai =text-align: center;}}">{{#switch: {{#invoke:ShipData|getData|{{{ID|001}}}|Equip3}} | #default ={{#ifeq: {{#invoke:ShipData|getData|{{{ID|001}}}|Equip3}} |No Equipment|No Equipment|{{#switch: {{{type}}} | #default =[[{{#invoke:ShipData|getData|{{{ID|001}}}|Equip3}}]]| shinkai | user ={{{Equip3}}}}}}} |=''Locked''}}</td>
 
           </tr>
 
           </tr>
 
           <tr>
 
           <tr>
 
             {{#switch: {{#invoke:ShipData|getData|{{{ID|001}}}|Aircraft1}} | #default =<td style="white-space: nowrap; text-align: center">{{#invoke:ShipData|getData|{{{ID|001}}}|Aircraft4}}</td>|=}}
 
             {{#switch: {{#invoke:ShipData|getData|{{{ID|001}}}|Aircraft1}} | #default =<td style="white-space: nowrap; text-align: center">{{#invoke:ShipData|getData|{{{ID|001}}}|Aircraft4}}</td>|=}}
             <td {{#switch: {{{type}}} | shinkai ={{#if: {{{Aircraft1|}}}|colspan="3"|colspan="4"}}}} style="white-space: nowrap; vertical-align: baseline; {{#switch: {{{type}}} | shinkai =text-align: center;}}">{{#switch: {{#invoke:ShipData|getData|{{{ID|001}}}|Equip4}} | #default ={{#ifeq: {{#invoke:ShipData|getData|{{{ID|001}}}|Equip4}} |Unequipped|Unequipped|{{#switch: {{{type}}} | #default =[[{{#invoke:ShipData|getData|{{{ID|001}}}|Equip4}}]]| shinkai | user ={{{Equip4}}}}}}} |=''Locked''}}</td>
+
             <td {{#switch: {{{type}}} | shinkai ={{#if: {{{Aircraft1|}}}|colspan="3"|colspan="4"}}}} style="white-space: nowrap; vertical-align: baseline; {{#switch: {{{type}}} | shinkai =text-align: center;}}">{{#switch: {{#invoke:ShipData|getData|{{{ID|001}}}|Equip4}} | #default ={{#ifeq: {{#invoke:ShipData|getData|{{{ID|001}}}|Equip4}} |No Equipment|No Equipment|{{#switch: {{{type}}} | #default =[[{{#invoke:ShipData|getData|{{{ID|001}}}|Equip4}}]]| shinkai | user ={{{Equip4}}}}}}} |=''Locked''}}</td>
 
         {{#switch: {{{type}}}
 
         {{#switch: {{{type}}}
 
         | #default =  </tr>
 
         | #default =  </tr>
Line 130: Line 129:
 
       <tr>
 
       <tr>
 
         {{#switch: {{{type}}}
 
         {{#switch: {{{type}}}
         | #default =<td><table><tr>
+
         | #default =<td colspan="4"><table><tr>
 
         | shinkai  =}}
 
         | shinkai  =}}
 
         <th style="{{border-radius|8px 8px 8px 8px}} background-color: #3baef5; color: #ffffff; padding-left: 5px; padding-right: 5px; text-align: right;">Artist</th>
 
         <th style="{{border-radius|8px 8px 8px 8px}} background-color: #3baef5; color: #ffffff; padding-left: 5px; padding-right: 5px; text-align: right;">Artist</th>

Revision as of 15:07, 1 September 2016

Template-info.png Template documentation [view] [edit] [history] [purge]

This template is used to display Kanmusu's basic and max stat along with other details in Kanmusu page

Usage

Either insert {{KanmusuInfo|<ship ID>}} or {{KanmusuInfo|ID=<ship ID>}} into respective Kanmusu page.

See also