Difference between revisions of "Template:Infobox/Part"
m (XZise moved page Template:Partbox to Template:Infobox/Part: new name structure) |
m (→Roles: *new names;) |
||
Line 70: | Line 70: | ||
== Roles == | == Roles == | ||
For different roles with special additional parameters one of the following templates should be used: | For different roles with special additional parameters one of the following templates should be used: | ||
− | * [[Parts#Pods|Command pods]]: {{Tl| | + | * [[Parts#Pods|Command pods]]: {{Tl|Infobox/Part/CommandPod}} |
− | * [[Parts#Liquid_Fuel_Engines|Liquid fuel engines]]: {{Tl| | + | * [[Parts#Liquid_Fuel_Engines|Liquid fuel engines]]: {{Tl|Infobox/Part/LiquidFuelEngine}} |
− | * [[Parts#Jet_Engines|Jet engines]]: {{Tl| | + | * [[Parts#Jet_Engines|Jet engines]]: {{Tl|Infobox/Part/JetEngine}} |
− | * [[Parts#Solid_Fuel_Boosters|Solid Fuel Boosters]]: {{Tl| | + | * [[Parts#Solid_Fuel_Boosters|Solid Fuel Boosters]]: {{Tl|Infobox/Part/SolidFuelBooster}} |
− | * [[Parts#Liquid_Fuel_Tanks|Liquid Fuel Tank]]: {{Tl| | + | * [[Parts#Liquid_Fuel_Tanks|Liquid Fuel Tank]]: {{Tl|Infobox/Part/FuelTank/Liquid}} |
− | * [[Parts#Fuselages (Jet Fuel Tanks)|Jet Fuel Tank]]: {{Tl| | + | * [[Parts#Fuselages (Jet Fuel Tanks)|Jet Fuel Tank]]: {{Tl|Infobox/Part/FuelTank/Jet}} |
− | * [[Parts#Xenon|Xenon Tank]]: {{Tl| | + | * [[Parts#Xenon|Xenon Tank]]: {{Tl|Infobox/Part/FuelTank/Xenon}} |
− | * [[Parts#RCS_Fuel_Tanks|RCS Fuel Tanks]]: {{Tl| | + | * [[Parts#RCS_Fuel_Tanks|RCS Fuel Tanks]]: {{Tl|Infobox/Part/FuelTank/RCS}} |
− | * [[Parts#S.A.S.|SAS]]: {{Tl| | + | * [[Parts#S.A.S.|SAS]]: {{Tl|Infobox/Part/SAS}} |
− | * [[Parts#RCS|RCS thrusters]]: {{Tl| | + | * [[Parts#RCS|RCS thrusters]]: {{Tl|Infobox/Part/RCSModule}} |
− | * [[Parts#Decouplers_and_Separators|Decouplers]]: {{Tl| | + | * [[Parts#Decouplers_and_Separators|Decouplers]]: {{Tl|Infobox/Part/Decoupler}} |
− | * [[Parts#Rover_Wheels|Rover wheels]]: {{Tl| | + | * [[Parts#Rover_Wheels|Rover wheels]]: {{Tl|Infobox/Part/RoverWheel}} |
− | * [[Parts#Sensors|Sensors]]: {{Tl| | + | * [[Parts#Sensors|Sensors]]: {{Tl|Infobox/Part/Sensor}} |
− | * [[Parts#Electricity|Solar panel]]: {{Tl| | + | * [[Parts#Electricity|Solar panel]]: {{Tl|Infobox/Part/SolarPanel}} |
− | * [[Parts#Electricity|Battery]]: {{Tl| | + | * [[Parts#Electricity|Battery]]: {{Tl|Infobox/Part/Battery}} |
− | * [[Parts#Wings_and_Wing_Parts|Wing]]: {{Tl| | + | * [[Parts#Wings_and_Wing_Parts|Wing]]: {{Tl|Infobox/Part/Wing}} |
− | * [[Parts#Docking|Docking Port]]: {{Tl| | + | * [[Parts#Docking|Docking Port]]: {{Tl|Infobox/Part/DockingPort}} |
− | * [[Parts#Parachutes|Parachute]]: {{Tl| | + | * [[Parts#Parachutes|Parachute]]: {{Tl|Infobox/Part/Parachute}} |
− | * [[Parts#Controlled_wings_and_surfaces|Control surface]]: {{Tl| | + | * [[Parts#Controlled_wings_and_surfaces|Control surface]]: {{Tl|Infobox/Part/ControlSurface}} |
− | * [[Parts#Ladders|Ladder]]: {{Tl| | + | * [[Parts#Ladders|Ladder]]: {{Tl|Infobox/Part/Ladder}} |
− | * [[Parts#Landing_Gear|Landing Gear]]: {{Tl| | + | * [[Parts#Landing_Gear|Landing Gear]]: {{Tl|Infobox/Part/LandingStrut}} |
− | * [[Parts#Antennae|Antenna]]: {{Tl| | + | * [[Parts#Antennae|Antenna]]: {{Tl|Infobox/Part/Antenna}} |
− | * [[Parts#Parts#Adapters.2C_Couplers_.26_Struts|Struts]]: {{Tl| | + | * [[Parts#Parts#Adapters.2C_Couplers_.26_Struts|Struts]]: {{Tl|Infobox/Part/Strut}} |
* More are following… | * More are following… | ||
Revision as of 22:46, 24 June 2013
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: {{Infobox/Part/CommandPod}}
- Liquid fuel engines: {{Infobox/Part/LiquidFuelEngine}}
- Jet engines: {{Infobox/Part/JetEngine}}
- Solid Fuel Boosters: {{Infobox/Part/SolidFuelBooster}}
- Liquid Fuel Tank: {{Infobox/Part/FuelTank/Liquid}}
- Jet Fuel Tank: {{Infobox/Part/FuelTank/Jet}}
- Xenon Tank: {{Infobox/Part/FuelTank/Xenon}}
- RCS Fuel Tanks: {{Infobox/Part/FuelTank/RCS}}
- SAS: {{Infobox/Part/SAS}}
- RCS thrusters: {{Infobox/Part/RCSModule}}
- Decouplers: {{Infobox/Part/Decoupler}}
- Rover wheels: {{Infobox/Part/RoverWheel}}
- Sensors: {{Infobox/Part/Sensor}}
- Solar panel: {{Infobox/Part/SolarPanel}}
- Battery: {{Infobox/Part/Battery}}
- Wing: {{Infobox/Part/Wing}}
- Docking Port: {{Infobox/Part/DockingPort}}
- Parachute: {{Infobox/Part/Parachute}}
- Control surface: {{Infobox/Part/ControlSurface}}
- Ladder: {{Infobox/Part/Ladder}}
- Landing Gear: {{Infobox/Part/LandingStrut}}
- Antenna: {{Infobox/Part/Antenna}}
- Struts: {{Infobox/Part/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