Template:ShipInfoKai/doc

Description
This template is used to display ship data in an infobox.

Syntax
Add  where you want the infobox.

You can fill in the values of the infobox using the parameters documented below:

rarity
The rarity of the ship. A number from 0-8, or a CSS color.

The possible values are as per the api_backs value of the ship:
 * 1) blue
 * 2) light blue
 * 3) turquoise
 * 4) silver
 * 5) gold
 * 6) holo
 * 7) sparkly holo
 * 8) sakura holo

A custom color can be specified by passing a CSS color in as the rarity, which is used as the background color of the name box. The S holo and Sakura holo effects cannot be used with a custom color.

Rarity defaults to a light grey, which can be explicitly set by passing 0.

name
The name of the ship. Defaults to ?.

id
The id of the ship as it appears in the Ship List (図鑑). Defaults to ???. For enemy ships, this should be the ship's api_id.

true_id
The api_sortno of the ship. Defaults to ???. Display can be suppressed by passing False, and should be for ships where the api_sort_no matches the Ship List id.

japanesename
The name of the ship in Japanese. Defaults to ？？？.

class
The class of the ship. Do not include the trailing "Class". Defaults to "Unknown".

type
The type of ship. The possible values are:


 * 0 = Ship
 * 1 = Coastal Defense Ship
 * 2, DD = Destroyer
 * 3, CL = Light Cruiser
 * 4, CLT = Torpedo Cruiser
 * 5, CA = Heavy Cruiser
 * 6, CAV = Aviation Cruiser
 * 7, CVL = Light Carrier
 * 8, BC, FBB, FastBB = Fast Battleship
 * 9, BB, SBB, SlowBB = Battleship
 * 10, BBV = Aviation Battleship
 * 11, CV = Standard Carrier
 * 12 = Super Dreadnought
 * 13, SS = Submarine
 * 14, SSV = Aircraft Carrying Submarine
 * 15, AOR = Replenishment Oiler
 * 16, AV = Seaplane Tender
 * 17, LC = Amphibious Assault Ship
 * 18, CVB = Armored Carrier
 * 19, AR = Repair Ship
 * 20, AS = Submarine Tender

You can also specify a custom value for the ship type.

Specifying the ship type by letter code may be removed for template performance, so using the numeric method is recommended.

Defaults to 0.

===