Template:Craft: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(17 intermediate revisions by 2 users not shown)
Line 2: Line 2:
   
 
<includeonly>{{Infobox/begin}}
 
<includeonly>{{Infobox/begin}}
{{Infobox/Header|title={{{name}}}|subtitle={{{full_name}}}}}
+
{{Infobox/Header|title={{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}|subtitle={{#if:{{{full_name|}}}|{{{full_name|}}}|}}}}
{{Infobox/Illustration|file=[[File:{{{image}}}]]|caption={{{imagedesc}}}}}
+
{{Infobox/SectionHeader|section={{{type|}}}}}
{{Infobox/Item|key=Role|value={{{type}}}}}
+
{{Infobox/Illustration|file={{#if:{{{image|}}}|[[File:{{{image}}}]]|}}|caption={{{imagedesc|}}}}}
  +
{{Infobox/Item|key=Role|value={{{role|}}}}}
 
{{Infobox/Item|key=National Origin|value={{{origin}}}}}
 
{{Infobox/Item|key=National Origin|value={{{origin}}}}}
 
{{Infobox/SectionHeader|section=Production History}}
 
{{Infobox/SectionHeader|section=Production History}}
{{Infobox/Vertical Item|key=Designed|value={{{design_start}}} - {{{design_end}}}}}
+
{{Infobox/Vertical Item|key=Designed|value={{#if:{{{design_start|}}}|{{#if:{{{design_end|}}}|{{{design_start}}} - {{{design_end}}}}}}}}}
{{Infobox/Vertical Item|key=Produced|value={{{prod_start}}} - {{{prod_end}}}}}
+
{{Infobox/Vertical Item|key=Assembly|value={{#if:{{{assembly_start|}}}|{{#if:{{{assembly_end|}}}|{{{assembly_start}}} - {{{assembly_end}}}}}}}}}
{{Infobox/Item|key=Manufacturer|value={{{manufacturer}}}}}
+
{{Infobox/Vertical Item|key=Produced|value={{#if:{{{prod_start|}}}|{{#if:{{{prod_end|}}}|{{{prod_start}}} - {{{prod_end}}}}}}}}}
{{Infobox/Item|key=Unit Cost|value={{{cost}}}(√)}}
+
{{Infobox/Item|key=Designer|value={{{designer|}}}}}
{{Infobox/Item|key=Number Built|value={{{built}}}}}
+
{{Infobox/Item|key=Unit Cost|value={{#if:{{{cost|}}}|{{{cost}}}(√)|}}}}
  +
{{Infobox/Item|key=Number Built|value={{{built|}}}}}
 
{{Infobox/SectionHeader|section=Service History}}
 
{{Infobox/SectionHeader|section=Service History}}
{{Infobox/Vertical Item|key=In Service|value={{{serv_start}}} - {{{serv_end}}}}}
+
{{Infobox/Vertical Item|key=In Service|value={{#if:{{{serv_start|}}}|{{#if:{{{serv_end|}}}|{{{serv_start}}} - {{{serv_end}}}}}}}}}
 
{{Infobox/Item|key=Used By|value={{{operators}}}}}
 
{{Infobox/Item|key=Used By|value={{{operators}}}}}
 
{{Infobox/end}}</includeonly>
 
{{Infobox/end}}</includeonly>
   
<noinclude>{{Craft
+
<noinclude>
  +
{{Craft}}
|name = {{PAGENAME}}
 
  +
  +
{{Craft
  +
|name = [name]
 
|full_name = [longform/serial name]
 
|full_name = [longform/serial name]
 
|image = KP_dark.png|imagedesc = [description]
 
|image = KP_dark.png|imagedesc = [description]
|type=[craft purpose]
+
|type=[craft type]
  +
|role=[craft purpose]
 
|origin=[original nation]
 
|origin=[original nation]
 
|design_start=[date]|design_end=[date]
 
|design_start=[date]|design_end=[date]
 
|prod_start=[date]|prod_end=[date]
 
|prod_start=[date]|prod_end=[date]
|manufacturer=[manufacturing company]
+
|designer=[design company]
 
|cost=[funds cost]
 
|cost=[funds cost]
 
|built=[number produced]
 
|built=[number produced]
Line 44: Line 50:
 
|vehicles=[vehicle types carried]|quantity=[vehicle quantities]
 
|vehicles=[vehicle types carried]|quantity=[vehicle quantities]
 
|facilities=[runways or landing deck parameters]
 
|facilities=[runways or landing deck parameters]
  +
}}
  +
{{Craft/Aircraft
  +
|mass=[mass]
  +
|length=[length]
  +
|width= [width]
  +
|height=[height w/gear retracted]
  +
|propulsion=[engine types and quantity]
  +
|speed=[speed]
  +
|range=[range in km]
  +
|crew=[crew complement]
  +
|sensors=[sensor types]
  +
|armament=[ship based arms]
  +
|variants=[aircraft variant names]
  +
}}
  +
{{Craft/Spacecraft
  +
|wet_mass=[full mass]
  +
|dry_mass=[empty mass]
  +
|length=[length]
  +
|width= [deck width]
  +
|height=[height]
  +
|propulsion=[engine types and quantity]
  +
|thrust=[in]
  +
|impulse=[engine ISP]|delta=[range in ]
  +
|crew=[crew complement]
  +
|regime=[operational areas of the spacecraft]
  +
|armament=[ship based arms]
  +
|vehicles=[vehicle types carried]|quantity=[vehicle quantities]
  +
}}
  +
{{Craft/Land Vehicle
  +
|mass=[mass]
  +
|length=[length]
  +
|width= [width]
  +
|height=[height]
  +
|speed=[speed in]|metres=[speed in]
  +
|range=[range in km]
  +
|crew=[crew]
  +
|armament=[arms]
  +
|backup_armament=[arms]
  +
|armor=[Armor type]
 
}}
 
}}
 
}}
 
}}
 
   
 
[[Category:Infoboxes]]
 
[[Category:Infoboxes]]
Line 52: Line 96:
   
   
  +
<templatedata>
  +
{
  +
"params": {
  +
"name": {},
  +
"full_name": {},
  +
"image": {},
  +
"imagedesc": {},
  +
"type": {},
  +
"origin": {},
  +
"design_start": {},
  +
"design_end": {},
  +
"prod_start": {},
  +
"prod_end": {},
  +
"designer": {},
  +
"cost": {},
  +
"built": {},
  +
"serv_start": {},
  +
"serv_end": {},
  +
"operators": {}
  +
}
  +
}
  +
</templatedata>
 
</noinclude>
 
</noinclude>

Latest revision as of 13:35, 31 October 2022



Craft

National Origin {{{origin}}}
Production History
Service History
Used By {{{operators}}}


[name]
[longform/serial name]
[craft type]
KP dark.png
[description]
Role [craft purpose]
National Origin [original nation]
Production History
Designed
[date] - [date]
Produced
[date] - [date]
Designer [design company]
Unit Cost [funds cost](√)
Number Built [number produced]
Service History
In Service
[date] - [date]
Used By [operating nations]
Vessel Characteristics
Displacement [mass]
Length [length] m
Beam [deck width] m
Height [height] m
Draft [depth underwater] m

Propulsion [engine types and quantity]
Max Speed [speed in] kn ([speed in] m/s)
Operational Range [range in km] km

Complement [crew complement]
Sensors and Processing Systems [sensor types]
Armament [ship based arms]
[vehicle types carried] Carried [vehicle quantities]
Aviation Facilities [runways or landing deck parameters]
Aircraft Characteristics
Dry Mass [mass]
Length [length] m
Width [width] m
Height [height w/gear retracted] m

Propulsion [engine types and quantity]
Maximum Velocity [speed]
Operational Range [range in km] km

Crew [crew complement]
Sensor Systems [sensor types]
Armament [ship based arms]
Variants [aircraft variant names]
Spacecraft Characteristics
Launch Mass [full mass] kg
Dry Mass [empty mass] kg
Length [length] m
Width [deck width] m
Height [height] m

Propulsion [engine types and quantity]
Maximum Thrust [in] kN
Specific Impulse [engine ISP] seconds ([range in ] m/s)

Complement [crew complement]
Regime [operational areas of the spacecraft]
Armament [ship based arms]
[vehicle types carried] Carried [vehicle quantities]
Characteristics
Weight [mass]
Length [length] m
Width [width] m
Height [height] m
Crew [crew]

Max Speed [speed in] km/h ([speed in] m/s)
Operational Range [range in km] km

Main Armament [arms]
Backup Armament [arms]
Armor [Armor type]


No description.

Template parameters

ParameterDescriptionTypeStatus
namename

no description

Unknownoptional
full_namefull_name

no description

Unknownoptional
imageimage

no description

Unknownoptional
imagedescimagedesc

no description

Unknownoptional
typetype

no description

Unknownoptional
originorigin

no description

Unknownoptional
design_startdesign_start

no description

Unknownoptional
design_enddesign_end

no description

Unknownoptional
prod_startprod_start

no description

Unknownoptional
prod_endprod_end

no description

Unknownoptional
designerdesigner

no description

Unknownoptional
costcost

no description

Unknownoptional
builtbuilt

no description

Unknownoptional
serv_startserv_start

no description

Unknownoptional
serv_endserv_end

no description

Unknownoptional
operatorsoperators

no description

Unknownoptional