Template:Infobox/Part
Contents
Usage
Parameters
If a mandatory parameter is missing Category:Partbox with missing parameters will be added.
With the new folder structure since version 0.20 the part.cfg should be placed at Parts/{{{parent}}}/{{{part}}}/part.cfg. If the configuration file wasn't moved yet the Category:Partbox with unmoved part.cfg is added. If both a new and an old part.cfg exist the page is added to Category:Partbox with leftover part.cfg.
More Parameter
To add additional fields the more {{{more}}} parameter should be used with {{Partbox/Line}}.
Manufacturer
The template {{Partbox/Manufacturer}} is a template to quickly add a manufacturer.
Roles
For different roles with special additional parameters one of the following templates should be used:
- Command pods: {{Partbox/CommandPod}}
- Liquid fuel engines: {{Partbox/LiquidFuelEngine}}
- Jet engines: {{Partbox/JetEngine}}
- Solid Fuel Boosters: {{Partbox/SolidFuelBooster}}
- Liquid Fuel Tank: {{Partbox/FuelTank/Liquid}}
- Jet Fuel Tank: {{Partbox/FuelTank/Jet}}
- Xenon Tank: {{Partbox/FuelTank/Xenon}}
- RCS Fuel Tanks: {{Partbox/FuelTank/RCS}}
- SAS: {{Partbox/SAS}}
- RCS thrusters: {{Partbox/RCSModule}}
- Decouplers: {{Partbox/Decoupler}}
- Rover wheels: {{Partbox/RoverWheel}}
- Sensors: {{Partbox/Sensor}}
- Solar panel: {{Partbox/SolarPanel}}
- Battery: {{Partbox/Battery}}
- Wing: {{Partbox/Wing}}
- Docking Port: {{Partbox/DockingPort}}
- Parachute: {{Partbox/Parachute}}
- Control surface: {{Partbox/ControlSurface}}
- Ladder: {{Partbox/Ladder}}
- Landing Gear: {{Partbox/LandingStrut}}
- Antenna: {{Partbox/Antenna}}
- Struts: {{Partbox/Strut}}
- More are following…
These subtemplates are categorised in Category:Partbox Templates.
Template
{{Partbox |name= |role= |class= |file= |size= |size2= |costs= |mass= |drag= |temp= |tolerance= |manufacturer= |more= |since= |part= |parent= }}
Example
Example used on this page:
{{Template:Partbox |name=TVR-1180C Mk1 Stack Tri-Coupler |role=Adapter |class= |file=Tvr-1180C_mk1_stack_tri-coupler.jpg |size=small |costs=680 |mass=0.3 |drag=0.3 |temp=3400 |tolerance=12 |manufacturer=Found lying by the side of the road |since=0.7.3 |part=stackTriCoupler }}
Translation
To translate this template or one of the subtemplates see also this article.
At the moment only English is supported by all templates.
- Deutsch (German): Partbox complete, Subtemplates partially
- Polish (Polski): Partbox mostly, Subtemplates partially
- Русский (Russian): Partbox partially, Subtemplates partially