Template:ImprovementTableKai/doc

< Template:ImprovementTableKai
Revision as of 14:04, 8 September 2022 by Chocolatecravinghobo (talk | contribs) (Manual import form wikia. Was only a single edit by Ckwng in 2015.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template uses equipment data modules to construct an improvement table for a piece of equipment, or a list of improvements for multiple equipment.

Example

{{ImprovementTableKai|Type 94 Anti-Aircraft Fire Director}}
 {{ImprovementTableKai
 |Type 93 Passive Sonar
 |Type 3 Active Sonar
 |Type 4 Passive Sonar
 }}

becomes

Aafd c.pngType 94 Anti-Aircraft Fire Director[Edit]
Improvement Cost: Steel 80 Bauxite 70 Development Material Improvement Material S M T W T F S Helper Ship
- 0 4/5 2/3 A
F
H
S
T
A
 
 
S
T
A
 
 
 
T
A
 
 
 
T
A
F
 
 
T
A
F
H
S
T
A
F
H
S
T
Akizuki (Kai)
Fubuki Kai Ni
Hatsuzuki (Kai)
Suzutsuki (Kai)
Teruzuki (Kai)
Consumes: 1x Dual Purpose Gun Icon Simple.png10cm Twin High-angle Gun Mount 6 3/5 3/5
Consumes: 2x Dual Purpose Gun Icon Simple.png10cm Twin High-angle Gun Mount
Produces: 1x Dual Purpose Gun Icon Simple.png10cm Twin High-angle Gun Mount + Anti-Aircraft Fire Director
10 8/10 5/10
- 0 4/5 2/3 M M M M Maya Kai Ni
Consumes: 1x Dual Purpose Gun Icon Simple.png12.7cm Twin High-angle Gun Mount 6 3/5 3/5
Consumes: 2x Dual Purpose Gun Icon Simple.png12.7cm Twin High-angle Gun Mount
Produces: 1x Dual Purpose Gun Icon Simple.png12.7cm High-angle Gun + Anti-Aircraft Fire Director
10 7/9 5/9
- 0 4/5 2/3 I
 
I
Y
I
Y
Isuzu Kai Ni
Yuubari (Kai/Kai Ni/Kai Ni Toku/Kai Ni D)
Consumes: 1x Sonar Icon Simple.pngType 3 Active Sonar 6 5/7 3/5
Consumes: 2x Sonar Icon Simple.pngType 93 Passive Sonar 0 5/7 3/5 A
 
 
 
 
 
 
K
 
Y
 
 
K
 
 
 
 
 
T
 
 
I
 
 
Y
 
I
 
 
 
 
I
 
 
 
Akizuki (Kai)
Isuzu Kai Ni
Katori Kai
Teruzuki (Kai)
Yuubari Kai Ni (Kai Ni Toku/Kai Ni D)
Consumes: 1x Sonar Icon Simple.pngType 4 Passive Sonar 6 6/10 4/6
Development Material Improvement Material S M T W T F S Helper Ship

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. If only one equipment is passed the template will form a standalone table rather than a one item list table. 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".