Jump to content

Template:Fitting grid

From Citadel Wiki

Draws a ship's fitting grid the way the game's ship tooltip does, with the count of each kind of slot under it. Pointing at a slot or a line of the legend, or clicking or tapping it, explains what it holds.

Write the grid as rows from the top, separated by /, one letter a cell:

LetterSlotWhat it holds
BBATTERY HARDPOINTHolds turrets, missile launchers and other battery modules. A core module fits here too.
SSUBSYSTEM HARDPOINTHolds repairers, shields, TACTICAL and other subsystem modules. A core module fits here too.
PPROPULSION HARDPOINTHolds propulsion modules. A core module fits here too.
CCORE SLOTHolds core modules, which also fit on any free hardpoint.
HHARPOON HARDPOINTHolds the harpoon.

Use . for a position with no slot. Rows shorter than the longest are filled out with empty positions.

Add cargo to draw the ship's hold beside the grid in smaller squares. Give its size as width x height, such as cargo=8x3 (8*3 works too), or as a count of cells, such as cargo=24, which lies eight to a row as the game lays a hold out. Add safety for its safety cargo cells, which sit in the hold's top-left corner: a size such as safety=2x2, or a count from 0 to 4, which fills the corner's 2x2 square in reading order as the game does.

Example

The SERAPH's grid:

{{Fitting grid|.BSB./.CCC./.CCC./CCCCC/BCSCB/CPCPC/P.C.P|cargo=8x3|safety=2x2}}
FIT
4 BATTERY2 SUBSYSTEM4 PROPULSION17 CORE
CARGO
20 CARGO4 SAFETY

Module:Fitting grid reads and draws the grid, and Template:Fitting grid/styles.css styles it.