Template:ShipInfobox
This template adds rows to the table "Ships", which is declared by the template Ships/CargoDeclare. View table.
Description of ship when viewed in-game. | ||
–In-game description |
Description of ship when viewed via the in-game Codex. | ||
–Additional Codex description |
Usage
{{ShipInfobox | Name = | Designation = | Image = | HullSize = | DesignType = | BaseValue = | CRPerDeployment = | RecoveryRate = | RecoveryCost = | DeploymentPoints = | PeakPerformance = | OrdnancePoints = | Maintenance = | CargoCapacity = | MaximumCrew = | SkeletonCrew = | FuelCapacity = | MaximumBurn = | FuelPerLY = | HullIntegrity = | ArmorRating = | FluxCapacity = | FluxDissipation = | TopSpeed = | Defense = | ShieldArc = | ShieldUpkeep = | ShieldFluxPerDamage= | CloakActivationCost= | CloakUpkeep = | System = | FighterBays = | Mounts = | Weapons = | Hullmods = | FleetPoints = | Acceleration = | Deceleration = | TurnRate = | TurnAcceleration = | Mass = | ID = | Hints = | Tags = | Rarity = | Description = | AddDescription = }}
These parameters can be used to add modifiers from built-in hullmods.
| RecoveryCostMod = | DeploymentPointsMod= | PeakPerformanceMod = | OrdnancePointsMod = | MaintenanceMod = | CargoCapacityMod = | MaximumCrewMod = | SkeletonCrewMod = | FuelCapacityMod = | MaximumBurnMod = | HullIntegrityMod = | ArmorRatingMod = | FluxCapacityMod = | FluxDissipationMod = | TopSpeedMod =
The following parameters are used for Cargo:
| NoCargo = 0 | IsHidden = 0
NoCargo should be set to 1 if the infobox shouldn't be added to ship database. IsHidden should be set to 1 if the ship should be shown in the collapsed sections (such as Remnant ships).
Use the starsector-core/data/hulls/ship_data.csv file in the Starsector install directory to fill in the parameters for the Advanced data and Game data sections.
Since ship infoboxes are also used to populate the ship database, parameters should be free of any formatting (e.g. do not use templates in the DesignType parameter). The only current exception is the Mounts parameter, in which case Template:ShipMounts may be used (as a comma-separated list of ShipMounts).