• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Template:EliteShipsKaiSortable

From Kancolle Wiki
Revision as of 12:29, 14 October 2021 by Botkaze (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
No. Name Class Remodel Level Firepower Torpedo AA ASW LoS Luck Luck+ HP Armor Evasion Speed Aircraft Max Fuel Consumption Max Ammo Consumption Notes
No. Name Class Remodel Level Firepower Torpedo AA ASW LoS Luck Luck+ HP Armor Evasion Speed Aircraft Max Fuel Consumption Max Ammo Consumption Notes

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

This template uses ship data modules to construct a ship comparison chart. It automatically highlights cells and emphasizes values based on customizable thresholds.

Example

{{EliteShipsKai
 |Sendai/Kai
 |Jintsuu/Kai
 |Naka/Kai
 |Sendai/Kai Ni
 |Jintsuu/Kai Ni
 |Naka/Kai Ni
 |Ooi/Kai Ni
 |Kitakami/Kai Ni
 |Kiso/Kai Ni
 |firepower_good = 65
 |firepower_outstanding = 69
 |torpedo_good = 86
 |torpedo_outstanding = 90
 |reference_type = 3
 }}

becomes

No. Name Class Remodel Level Firepower Torpedo AA ASW LoS Luck Luck+ HP Armor Evasion Speed Aircraft Max Fuel Consumption Max Ammo Consumption Notes
46
Sendai 20 59 79 69 79 49 12 59 44 69 79 Fast 3
(1,1,1)
25 30
47
Sendai 20 59 79 59 79 49 12 59 44 59 79 Fast 3
(1,1,1)
25 30
48
Sendai 20 59 79 59 79 49 12 59 44 59 79 Fast 3
(1,1,1)
25 30
158
Sendai 60 69 89 71 74 55 14 80 49 69 84 Fast 3
(1,1,1)
25 35
159
Sendai 60 74 99 68 80 54 13 81 51 69 80 Fast 3
(1,1,1)
25 35
160
Sendai 48 69 84 76 85 54 13 84 48 68 82 Fast 3
(1,1,1)
25 35
114
Kuma
(CLT)
50 63 139 49 79 43 13 49 43 63 83 Fast 0 25 75
115
Kuma
(CLT)
50 63 139 49 79 43 30 79 43 63 83 Fast 0 25 75
146
Kuma
(CLT)
65 65 111 72 82 49 13 69 44 65 85 Fast 0 25 50
No. Name Class Remodel Level Firepower Torpedo AA ASW LoS Luck Luck+ HP Armor Evasion Speed Aircraft Max Fuel Consumption Max Ammo Consumption Notes

Parameters

The following sections describe the parameters that can be passed to this template.

Ships

The list of ships to be included in that table should be passed in as unnamed parameters, like in the example.

Ship Name Format

Ships should be passed in as ship_name[/suffix].

For example, the basic form of Ooyodo would be specified as Ooyodo, whereas her Kai form would be specified as Ooyodo/Kai.

Cell highlighting

Thresholds can be set to control automatic highlighting of many of the columns. The following columns can be highlighted:

  • remodel_level
  • firepower
  • torpedo
  • aa
  • asw
  • los
  • luck
  • hp
  • armor
  • evasion
  • speed
  • aircraft
  • fuel
  • ammo

To set the threshold for the yellow highlight, pass the parameter column_name_good.

To set the threshold for the green highlight, pass the parameter column_name_outstanding.

By default, if the value of the cell > the threshold value, then the highlight is applied.

You can change the operator used by passing the parameter column_name_operator. The operators >, < are available.

Cell value emphasis

In addition, thresholds can be set to control automatic emphasis of the sub values of some columns. The following values can be highlighted:

  • luck_max
  • aircraft_slot

Only the *_good and *_operator parameters are supported for emphasis. The *_outstanding parameter is not supported for emphasis.

Notes

You can specify custom notes in the notes column for each ship by passing the parameter shipname_notes.

You can also highlight the notes by passing outstanding or good as the parameter shipname_notes_highlight.

reference_type

You can set the reference ship type of the table by passing reference_type.

If the reference type is set, ships that are not of that ship type will have their ship type shown in the class column.

If the reference type is not set, ships will show their ship type in the class column if their ship type does not match their ship class's base ship type. For example, the Ooi and Kitakami CLT models will show CLT in the class column because the Kuma class's base ship type is CL.