- 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:EquipmentListKai/doc"
com>Ckwng m (typo) |
com>Ckwng |
||
Line 55: | Line 55: | ||
The list of equipment to be included in the table should be passed in as unnamed parameters, like in the example. | The list of equipment to be included in the table should be passed in as unnamed parameters, like in the example. | ||
Pass a hash (#) to insert a header row. | Pass a hash (#) to insert a header row. | ||
+ | Pass an exclamation mark (!) followed by a string key to specify a [[#Custom Rows|custom row]]. | ||
===Notes=== | ===Notes=== | ||
You can specify custom notes in the notes column for each ship by passing the parameter ''equipmentname''_notes. | You can specify custom notes in the notes column for each ship by passing the parameter ''equipmentname''_notes. | ||
+ | |||
+ | ===Custom Rows=== | ||
+ | |||
+ | You can specify custom rows by passing in an exclamation mark followed by a string key as described in [[#Equipment]]. | ||
+ | |||
+ | You can then set the properties of that custom row using the following parameters: | ||
+ | |||
+ | ====custom_row_''key''_content==== | ||
+ | |||
+ | Pass this parameter to set the content of the custom row. You can use wikitext. Be careful with = and |, for they may interfere with template parsing. | ||
+ | |||
+ | ====custom_row_''key''_text_align==== | ||
+ | |||
+ | Pass this parameter to set the text_align of the custom row. Defaults to "start". | ||
+ | |||
+ | ====custom_row_''key''_bg_color==== | ||
+ | |||
+ | Pass this parameter to set the background-color of the custom row. Defaults to "transparent". |
Revision as of 23:00, 25 March 2015
This template uses equipment data modules to construct a list of equipment.
Example
{{EquipmentListKai |12.7cm Twin Gun Mount |20.3cm Twin Gun Mount |41cm Twin Gun Mount |15.5cm Triple Secondary Gun Mount |61cm Quadruple (Oxygen) Torpedo Mount |Ryuusei |Reppuu |Type 0 Reconnaissance Seaplane |No. 13 Air Radar |No. 21 Air Radar |Type 3 Depth Charge Projector |# |Type 3 Active Sonar |25mm Triple Autocannon Mount |Searchlight |Star Shell |Fleet Command Facility }}
becomes
No. | Rarity | Name | Equipment Type | Stats | Refittable Types | Notes | ||
---|---|---|---|---|---|---|---|---|
2 | ☆
|
12.7cm Twin Gun Mount 12.7cm連装砲 |
Small Caliber Main Gun | +2 +2 Short |
DE, DD, CL, CLT, BB (Only: Nagato Kai Ni), AV (Except: Mikuma Kai Ni Toku), LHA (Except: Kumano Maru, No.101 Transport Ship, No.101 Transport Ship Kai), AR, AS, CT, AO (Only: Hayasui, Hayasui Kai, Kamoi, Kamoi Kai Bo) | ✔️ | ✔️ | |
6 | ☆
☆ |
20.3cm Twin Gun Mount 20.3cm連装砲 |
Medium Caliber Main Gun | +8 +3 Medium |
CL, CLT, CA, CAV, FBB (Only: Yamato Kai Ni), BB (Except: Conte di Cavour), BBV, AV (Only: Commandant Teste, Commandant Teste Kai, Mikuma Kai Ni Toku, Nisshin, Nisshin A, Nisshin Kai), AS (Except: Heian Maru, Heian Maru Kai, Taigei), CT, AO (Only: Kamoi Kai Bo) | ✔️ | ✔️ | |
8 | ☆
☆ |
41cm Twin Gun Mount 41cm連装砲 |
Large Caliber Main Gun | +20 +4 Long |
FBB, BB, BBV | ✔️ | ✔️ | |
12 | ☆
☆ |
15.5cm Triple Secondary Gun Mount 15.5cm三連装副砲 |
Secondary Gun | +7 +3 +2 Medium |
CL (Except: Tatsuta Kai Ni, Tenryuu Kai Ni, Yuubari Kai Ni, Yuubari Kai Ni D, Yuubari Kai Ni Toku), CLT, CA, CAV, CVL, FBB, BB, BBV, CV, AV, LHA (Except: No.101 Transport Ship, No.101 Transport Ship Kai), CVB, AR, AS, CT, AO (Only: Kamoi Kai Bo, Yamashio Maru Kai) | ✔️ | ✔️ | |
15 | ☆
☆ |
61cm Quadruple (Oxygen) Torpedo Mount 61cm四連装(酸素)魚雷 |
Torpedo | +10 Short |
DD, CL (Except: Kuma Kai Ni D), CLT, CA, CAV, FBB (Only: Bismarck Drei, Conte di Cavour Nuovo, Haruna Kai Ni B, Haruna Kai Ni C, Hiei Kai Ni C, Kirishima Kai Ni C, Kongou Kai Ni C), BB (Only: Conte di Cavour), SS, SSV, AV (Only: Mikuma Kai Ni Toku), CT | ✔️ | ✔️ | |
18 | ☆
☆ ☆ |
Ryuusei 流星 |
Carrier-based Torpedo Bomber | +10 +1 +4 +1 |
CVL (Except: Houshou Kai Ni Sen, Kasuga Maru), CV, CVB, AO (Only: Hayasui Kai); LBAS | ✔️ | ✔️ | |
?? | ?? | Reppuu File:Equipment Icon Reppuu.png ?? |
?? | ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? |
?? | ❌ | ||
25 | ☆
|
Type 0 Reconnaissance Seaplane 零式水上偵察機 |
Reconnaissance Seaplane | +1 +1 +2 +1 +5 |
CL (Except: Kuma Kai Ni D, Tatsuta Kai Ni, Tenryuu Kai Ni, Yuubari Kai Ni, Yuubari Kai Ni D, Yuubari Kai Ni Toku), CA, CAV, FBB, BB, BBV, SSV, AV, LHA (Only: Shinshuu Maru, Shinshuu Maru Kai), AS, CT, AO (Only: Hayasui, Hayasui Kai, Kamoi, Kamoi Kai Bo); LBAS | ✔️ | ✔️ | |
?? | ?? | No. 13 Air Radar File:Equipment Icon No. 13 Air Radar.png ?? |
?? | ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? |
?? | ❌ | ||
?? | ?? | No. 21 Air Radar File:Equipment Icon No. 21 Air Radar.png ?? |
?? | ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? |
?? | ❌ | ||
45 | ☆
☆ ☆ |
Type 3 Depth Charge Projector 三式爆雷投射機 |
Depth Charge | +8 | DE, DD, CL, CLT, CVL (Only: Shinyou, Shinyou Kai, Shinyou Kai Ni, Taiyou Kai, Taiyou Kai Ni, Unyou Kai, Unyou Kai Ni), BBV (Only: Fusou Kai Ni, Yamashiro Kai Ni), AV (Except: Commandant Teste, Commandant Teste Kai, Mikuma Kai Ni Toku, Nisshin, Nisshin A, Nisshin Kai), LHA, CT, AO (Only: Kamoi Kai Bo, Souya (AGS), Yamashio Maru, Yamashio Maru Kai) | ✔️ | ✔️ | |
No. | Rarity | Name | Equipment Type | Stats | Refittable Types | Notes | ||
47 | ☆
☆ ☆ |
Type 3 Active Sonar 三式水中探信儀 |
Small Sonar | +10 +2 |
DE, DD, CL, CLT, CVL (Only: Gambier Bay Mk.II, Houshou Kai Ni, Houshou Kai Ni Sen, Shinyou, Shinyou Kai, Shinyou Kai Ni, Taiyou Kai, Taiyou Kai Ni, Unyou Kai, Unyou Kai Ni), FBB (Only: Conte di Cavour Nuovo, Haruna Kai Ni B, Haruna Kai Ni C, Hiei Kai Ni C, Kirishima Kai Ni C, Kongou Kai Ni C, Richelieu Deux, Yamato Kai Ni), BB (Only: Musashi Kai Ni), BBV (Only: Hyuuga Kai Ni, Yamato Kai Ni Juu), SS, SSV, AV (Only: Akitsushima Kai, Commandant Teste, Commandant Teste Kai, Mikuma Kai Ni Toku, Nisshin A, Nisshin Kai), LHA (Only: Kumano Maru, Kumano Maru Kai, Shinshuu Maru Kai), CVB (Only: Victorious, Victorious Kai), CT, AO (Except: Hayasui, Kamoi) | ✔️ | ✔️ | |
40 | ☆
☆ |
25mm Triple Autocannon Mount 25mm三連装機銃 |
Anti-Aircraft Gun | +6 +1 |
DE, DD, CL, CLT, CA, CAV, CVL, FBB, BB, BBV, CV, SS (Only: I-503, I-504, UIT-24, UIT-25), AV, LHA, CVB, AR, AS, CT, AO (Except: Souya (AGB), Souya (AGL)) | ✔️ | ✔️ | |
74 | ☆
|
Searchlight 探照灯 |
Small Searchlight | +2 | DE (Only: Inagi Kai Ni), DD, CL, CA, CAV, FBB, BB, BBV, AV, LHA (Only: Kumano Maru Kai, No.101 Transport Ship Kai, Shinshuu Maru Kai), AS (Only: Chougei Kai, Jingei Kai), CT (Only: Kashima Kai, Katori Kai), AO (Only: Kamoi Kai Bo, Souya (AGB), Souya (AGL), Souya (AGS)) | ✔️ | ✔️ | |
101 | ☆
|
Star Shell 照明弾 |
Star Shell | DE (Only: Inagi Kai Ni), DD, CL, CLT, CA, CAV, FBB, BB, BBV, AV, LHA (Only: No.101 Transport Ship Kai), AR, AS, AO (Only: Kamoi Kai Bo, Souya (AGS)) | ❌ | ❌ | ||
107 | ☆ ☆ ☆ ☆
☆ |
Fleet Command Facility 艦隊司令部施設 |
Command Facility | +1 +1 +1 +1 |
DD (Only: Akizuki, Akizuki Kai, Dan Yang, Fletcher Kai Mod.2, Fletcher Mk.II, Fuyutsuki, Fuyutsuki Kai, Harusame Kai Ni, Hatsushimo Kai Ni, Hatsuzuki, Hatsuzuki Kai, Hayashio Kai, Hayashio Kai Ni, Kasumi Kai Ni, Murasame Kai Ni, Naganami Kai Ni, Shigure Kai San, Shiranui Kai Ni, Shiratsuyu Kai Ni, Suzutsuki, Suzutsuki Kai, Takanami Kai Ni, Teruzuki, Teruzuki Kai, Umikaze Kai Ni, Yamakaze Kai Ni D, Yukikaze Kai Ni, Yuugumo Kai Ni), CL, CLT, CA, CAV, CVL (Except: Kasuga Maru, Yawata Maru), FBB, BB (Except: Conte di Cavour), BBV, CV, AV, LHA (Only: Akitsu Maru, Akitsu Maru Kai, Shinshuu Maru, Shinshuu Maru Kai), CVB, AS, CT, AO (Only: Kamoi Kai Bo, Souya (AGB), Souya (AGL), Souya (AGS)) | ❌ | ❌ | |
No. | Rarity | Name | Equipment Type | Stats | Refittable Types | Notes |
Parameters
The following sections describe the parameters that can be passed to this template.
Equipment
The list of equipment to be included in the table should be passed in as unnamed parameters, like in the example. Pass a hash (#) to insert a header row. Pass an exclamation mark (!) followed by a string key to specify a custom row.
Notes
You can specify custom notes in the notes column for each ship by passing the parameter equipmentname_notes.
Custom Rows
You can specify custom rows by passing in an exclamation mark followed by a string key as described in #Equipment.
You can then set the properties of that custom row using the following parameters:
custom_row_key_content
Pass this parameter to set the content of the custom row. You can use wikitext. Be careful with = and |, for they may interfere with template parsing.
custom_row_key_text_align
Pass this parameter to set the text_align of the custom row. Defaults to "start".
custom_row_key_bg_color
Pass this parameter to set the background-color of the custom row. Defaults to "transparent".