Difference between revisions of "Template:Infobox/Part"
m (→Roles: +Partbox/Antenna;) |
m (→Roles: +new fuel tank templates;) |
||
Line 64: | Line 64: | ||
* [[Parts#Jet_Engines|Jet engines]]: {{Tl|Partbox/JetEngine}} | * [[Parts#Jet_Engines|Jet engines]]: {{Tl|Partbox/JetEngine}} | ||
* [[Parts#Solid_Fuel_Boosters|Solid Fuel Boosters]]: {{Tl|Partbox/SolidFuelBoosters}} | * [[Parts#Solid_Fuel_Boosters|Solid Fuel Boosters]]: {{Tl|Partbox/SolidFuelBoosters}} | ||
− | * [[Parts#Liquid_Fuel_Tanks|Liquid Fuel | + | * [[Parts#Liquid_Fuel_Tanks|Liquid Fuel Tank]]: {{Tl|Partbox/FuelTank/Liquid}} |
+ | * [[Parts#Fuselages (Jet Fuel Tanks)|Jet Fuel Tank]]: {{Tl|Partbox/FuelTank/Jet}} | ||
+ | * [[Parts#Xenon|Xenon Tank]]: {{Tl|Partbox/FuelTank/Xenon}} | ||
* [[Parts#RCS_Fuel_Tanks|RCS Fuel Tanks]]: {{Tl|Partbox/RCSFuelTank}} | * [[Parts#RCS_Fuel_Tanks|RCS Fuel Tanks]]: {{Tl|Partbox/RCSFuelTank}} | ||
* [[Parts#S.A.S.|SAS]]: {{Tl|Partbox/SAS}} | * [[Parts#S.A.S.|SAS]]: {{Tl|Partbox/SAS}} |
Revision as of 11:47, 3 May 2013
Contents
Usage
Parameters
For compatibility it supports the {{{cfg}}} parameter but should be replaced by the {{{part}}} parameter. This template also supports uppercase parameter (Mass instead of mass) but because they should be removed, new usages should use the lower case parameter. If an article/template uses the uppercase parameter it will be added to Category:Partbox usage with uppercase.
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/SolidFuelBoosters}}
- Liquid Fuel Tank: {{Partbox/FuelTank/Liquid}}
- Jet Fuel Tank: {{Partbox/FuelTank/Jet}}
- Xenon Tank: {{Partbox/FuelTank/Xenon}}
- RCS Fuel Tanks: {{Partbox/RCSFuelTank}}
- SAS: {{Partbox/SAS}}
- RCS thrusters: {{Partbox/RCSModule}}
- Decouplers: {{Partbox/Decoupler}}
- Rover wheels: {{Partbox/RoverWheels}}
- Sensors: {{Partbox/Sensors}}
- 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}}
- More are following…
Those templates don't support the {{{cfg}}} parameter! Also they don't support uppercase parameters. The subtemplates are categorised in Category:Partbox Templates.
Template
{{Partbox |name= |role= |class= |file= |size= |size2= |costs= |mass= |drag= |temp= |tolerance= |manufacturer= |more= |since= |part= }}
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