Brought to you by PCGamingWiki

Template:Shipbox

From FTL Wiki
Revision as of 20:49, 23 December 2013 by Soeb (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Shipbox
Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is used to create an item infobox for a ship.
Syntax
Type {{Shipbox|<...>}} somewhere, with the arguments as shown below.
Arguments
  • defaultname (optional, defaults to pagename)
  • smallimage (optional, provides the hull view)
  • image (optional, provides the hangar view)
  • shiptype (optional, use type of ship from XML)
  • layout (optional, should be in numbers)
  • crew (optional, do not use on unaffected drones)
  • weapons (optional)
  • drones (optional)
  • missiles (optional)
  • droneparts (optional)
  • powerbars (optional, name in blueprint)
  • augumentations (optional)
  • achievements (optional)
  • system_piloting
  • system_doors
  • system_sensors
  • system_oxygen
  • system_shields
  • system_engines
  • system_weapon_control
  • system_drone_control
  • system_medbay
  • system_crew_teleporter
  • system_cloaking
  • system_artillery_beam
Sample output
{{Shipbox
|defaultname   = The Kestrel
|smallimage    = Cruiser Hull Kestrel A The Kestrel.png
|image         = Cruiser Kestrel A The Kestrel.png
|shiptype      = Kestrel Cruiser
|layout        = A
|crew          = {{Crew|Human|3}}
|weapons       = [[Artemis]], [[Burst Laser II]]
|drones        = [[Defense Drone Mark I]]
|missiles      = 8
|droneparts    = 0
|powerbars     = 8
|augmentations = None
|achievements  = [[The United Federation]], [[Full Arsenal]], [[Tough Little Ship]]

|system_piloting=1
|system_doors=1
|system_sensors=1
|system_oxygen=1
|system_shields=2
|system_engines=2
|system_weapon_control=4
|system_drone_control=1
|system_medbay=1
|system_crew_teleporter=1
|system_cloaking=1
|system_artillery_beam=1
}}

Results in...

The Kestrel
Cruiser Hull Kestrel A The Kestrel.png
Cruiser Kestrel A The Kestrel.png
Ship type Kestrel Cruiser
Layout Layout A
Weapons Artemis, Burst Laser II
Drones Defense Drone Mark I
Missiles 8 Missiles
Drone parts 0
Power 8
Augmentations None
Achievements The United Federation, Full Arsenal, Tough Little Ship
Piloting
Power
Door System
Power
Sensors
Power
Oxygen
Power
Shields
Power
Engines
Power
Weapon Control
Power
Drone Control
Power
Medbay
Power
Crew Teleporter
Power
Cloaking
Power
Artillery Beam
Power

Visit Template:Shipbox/doc to edit this text! (How does this work?)