Jump to content

සැකිල්ල:Infobox rocket/doc

විකිපීඩියා වෙතින්

Usage

Copyable guide
{{Infobox rocket

<!----Image and logos (optional)---->
|logo         =  <!--logo filename (omit "Image:" prefix), required-->
|logo_upright =  <!--logo filesize, e.g. "1" = normal width, "2" = double width, "0.5" = half width, optional-->
|image        =  <!--image filename (omit "Image:" prefix), required-->
|upright      =  <!--reduce width of portrait image to reduce overall infobox length, input "yes" to activate, optional-->
|caption      =  <!--caption, optional-->

<!----Core parameters (required)---->
|name           =  <!--Name(s) of the rocket, optional, defaults to page title-->
|function       =  <!--Purpose of the rocket, required-->
|manufacturer   =  <!--Manufacturer, required-->
|country-origin =  <!--country of origin, optional-->

<!----Costs (optional)---->
|pcost    =  <!--project cost, optional-->
|cpl      =  <!--cost per launch, optional-->
|alt-cpl  =  <!--cost in alternative currency, optional-->
|cpl-year =  <!--year of stated cost per launch-->

<!----Dimensions (required)---->
|height       =  <!--height of the rocket in metres, use {{cvt|HEIGHT|m}}, required-->
|diameter     =  <!--core diameter in metres, use {{cvt|DIAMETER|m}}, required-->
|width        =  <!--width if not axisymmetric, use {{cvt|WIDTH|m}}, optional-->
|mass         =  <!--mass of rocket in kilograms, use {{cvt|MASS|kg}}, required-->
|stages       =  <!--number of stages, not including boosters-->

<!----Payloads (optional)---->
|capacities =  <!--insert one of the following templates for each payload:-->
  {{Infobox rocket/payload
  |location =  <!--Target orbit/trajectory, required. Please use [[Geostationary transfer orbit|GTO]] or [[Low Earth orbit|LEO]] instead of just [[GTO]] or [[LEO]].-->
  |altitude =  <!--Altitude of the target orbit/trajectory in kilometres, use {{cvt|PAYLOAD|km}}, required-->
  |inclination =  <!--Inclination of the target orbit/trajectory in degrees, required-->
  |mass    =  <!--Payload mass in kilograms, use {{cvt|PAYLOAD|kg}}, required-->
  |volume  =  <!--Payload volume in cubic metres, use {{cvt|PAYLOAD|m}}, optional-->
  }}

<!----Associated rockets (optional)---->
|family      =  <!--rocket family, optional-->
|derived_from =  <!--rocket from which this rocket is derived, optional-->
|derivatives =  <!--derived rockets, optional-->
|comparable  =  <!--similar, unrelated rockets, optional-->

<!----Launch history (required)---->
|status   =  <!--current status (e.g. Active, Retired, etc), required-->
|sites    =  <!--launch centres and pads, required-->
|launches =  <!--total launches to date, optional-->
|success  =  <!--total successful launches, optional-->
|fail     =  <!--total failed launches, optional-->
|partial  =  <!--total number of launches resulting in partial failure (e.g. incorrect orbit but still usable), optional-->
|destroyedbefore = <!--total number of rockets destroyed before/in preparation for launch-->
|other_outcome =  <!--number of launches with unknown outcomes (or in progress), optional-->
|landings =  <!--total number of landings, optional-->
|first    =  <!--date of first flight, optional-->
|last     =  <!--date of latest or final flight, optional-->
|only     =  <!--launch date if only one was launched, optional-->
|payloads =  <!--notable payloads, optional-->

<!--Stages/boosters (optional)-->
|stagedata    =  <!--insert one of the following templates for each stage:-->

  {{Infobox rocket/stage
  |type       =  <!--booster or stage (must be in lower case)-->
  |diff       =  <!--variant of rocket this is used on, optional-->
  |stageno    =  <!--position of stage in rocket, spelled out (e.g. First, Second, etc), required if type = stage-->
  |name       =  <!--name of the stage/booster, optional-->
  |number     =  <!--number of boosters, required if type = booster-->
  |length     =  <!--length of a single booster/stage in metres, use {{cvt|LENGTH|m}}, optional-->
  |diameter   =  <!--diameter of a single booster/stage in metres, use {{cvt|DIAMETER|m}}, optional-->
  |width      =  <!--width of a single booster/stage if not axisymmetric, use {{cvt|WIDTH|m}}, optional-->
  |empty      =  <!--empty mass of a single booster/stage in kilograms, use {{cvt|EMPTYMASS|kg}}, optional-->
  |gross      =  <!--gross (fuelled) mass of a single booster/stage, use {{cvt|GROSSMASS|kg}}, optional--> 
  |propmass   =  <!--propellant mass carried by a single booster/stage in kilograms, use {{cvt|PROPMASS|kg}}, optional--> 
  |engines    =  <!--number and type of engines used on each individual booster/stage, required-->
  |solid      =  <!--set to "yes" (lowercase) to change Engines to Motor for solid motors-->
  |thrust     =  <!--thrust provided by a single booster/stage in kN, use {{cvt|THRUST|kN}}, required-->
  |total      =  <!--total thrust for all boosters in kN, use {{cvt|THRUST|kN}}, optional-->
  |SI         =  <!--specific impulse of an individual booster/stage, in seconds, use {{convert|ISP_IN_SECONDS|isp}}, optional-->
  |burntime   =  <!--burn time, required-->
  |fuel       =  <!--propellant (include fuel and oxidizer) used in stage/boosters, required-->
  }}

}}

Obsolete (legacy) parameters

These parameters are supported by the template to allow it to display properly on articles that have not yet been converted to the new format. They should not be introduced into new articles/transclusions.

Tip: use |capacities={{infobox rocket/payload|location=[[low Earth orbit]]|mass={{cvt|XXXXX|kg}}}} for LEO

Copyable template
<!--LEO payload (optional)-->
|LEO-payload =  <!--Payload mass in kilograms to a typical Low Earth orbit, optional-->
|alt-LEO     =  <!--Payload mass in pounds to a typical Low Earth orbit, optional-->
<!--Specific payload 1, obsolete-->
|payload-location  =  <!--Target orbit/trajectory, required-->
|payload           =  <!--Payload mass in kilograms, required-->
|alt-payload       =  <!--Payload mass in pounds, optional-->
<!--Specific payload 2, obsolete-->
|payload2-location =  <!--Target orbit/trajectory, required-->
|payload2          =  <!--Payload mass in kilograms, required-->
|alt-payload2      =  <!--Payload mass in pounds, optional-->
<!--Specific payload 3, obsolete-->
|payload3-location =  <!--Target orbit/trajectory, required-->
|payload3          =  <!--Payload mass in kilograms, required-->
|alt-payload3      =  <!--Payload mass in pounds, optional-->
<!--Specific payload 4, obsolete-->
|payload4-location =  <!--Target orbit/trajectory, required-->
|payload4          =  <!--Payload mass in kilograms, required-->
|alt-payload4      =  <!--Payload mass in pounds, optional-->
<!--Specific payload 5, obsolete-->
|payload5-location =  <!--Target orbit/trajectory, required-->
|payload5          =  <!--Payload mass in kilograms, required-->
|alt-payload5      =  <!--Payload mass in pounds, optional-->


<!--First booster rockets, obsolete (use stagedata above)-->
|diff           =  <!--variant of rocket these are used on, optional-->
|boostername    =  <!--name of booster rockets, optional-->
|boosters       =  <--number of booster rockets present, required-->
|boosterengines =  <!--number and type of engines used on an individual booster, required-->
|boosterthrust  =  <!--thrust provided by a single booster in kN, required-->
|alt-boosterthurst = <!--thrust provided by a single booster in pounds-force, optional-->
|boosterTT      =  <!--total thrust for all boosters in kN, optional-->
|alt-boosterTT  =  <!--total thrust for all boosters in pounds-force, optional-->
|boosterSI      =  <!--specific impulse of an individual booster, in seconds, optional-->
|boostertime    =  <!--burn time, required-->
|boosterfuel    =  <!--propellant used in boosters, required-->
<!--Second booster rockets, obsolete (use stagedata above)-->
|alt-diff            =  <!--variant of rocket these are used on, optional-->
|alt-boostername     =  <!--name of booster rockets, optional-->
|alt-boosters        =  <--number of booster rockets present, required-->
|alt-boosterengines  =  <!--number and type of engines used on an individual booster, required-->
|alt-boosterthrust   =  <!-thrust provided by a single booster in kN, required-->
|alt-alt-boosterthurst =  <!--thrust provided by a single booster in pounds-force, optional-->
|alt-boosterSI       =  <!--specific impulse of an individual booster, in seconds, optional-->
|alt-boostertime     =  <!--burn time, required-->
|alt-boosterfuel     =  <!--propellant used in boosters, required-->
<!--Third booster rockets, obsolete (use stagedata above)-->
|alt2-diff           =  <!--variant of rocket these are used on, optional-->
|alt2-boostername    =  <!--name of booster rockets, optional-->
|alt2-boosters       =  <--number of booster rockets present, required-->
|alt2-boosterengines =  <!--number and type of engines used on an individual booster, required-->
|alt2-boosterthrust  =  <!-thrust provided by a single booster in kN, required-->
|alt2-alt-boosterthurst =  <!--thrust provided by a single booster in pounds-force, optional-->
|alt2-boosterSI      =  <!--specific impulse of an individual booster, in seconds, optional-->
|alt2-boostertime    =  <!--burn time, required-->
|alt2-boosterfuel    =  <!--propellant used in boosters, required-->
<!--First stage, obsolete (use stagedata above)-->
|stage1diff     =  <!--variant of rocket, optional-->
|stage1name     =  <!--name of stage, optional-->
|stage1engines  =  <!--number and type of engines used on stage, required-->
|stage1thrust   =  <!-thrust provided by stage in kN, required-->
|alt-stage1thurst =  <!--thrust provided by stage in pounds-force, optional-->
|stage1SI       =  <!--specific impulse of stage, in seconds, optional-->
|stage1time     =  <!--burn time, required-->
|stage1fuel     =  <!--propellant used in stage, required-->
|stage1fueloxidizermassvolume =  <!--fuel and oxidizer mass and volume of stage, in tons and m³, optional-->
<!--Alternative first stage, obsolete (use stagedata above)-->
|stage1adiff    =  <!--variant of rocket, optional-->
|stage1aname    =  <!--name of stage, optional-->
|stage1aengines =  <!--number and type of engines used on stage, required-->
|stage1athrust  =  <!-thrust provided by stage in kN, required-->
|alt-stage1athurst =  <!--thrust provided by stage in pounds-force, optional-->
|stage1aSI      =  <!--specific impulse of stage, in seconds, optional-->
|stage1atime    =  <!--burn time, required-->
|stage1afuel    =  <!--propellant used in stage, required-->
|stage1afueloxidizermassvolume =  <!--fuel and oxidizer mass and volume of stage, in tons and m³, optional-->
<!--Second stage, obsolete (use stagedata above)-->
|stage2diff     =  <!--variant of rocket, optional-->
|stage2name     =  <!--name of stage, optional-->
|stage2engines  =  <!--number and type of engines used on stage, required-->
|stage2thrust   =  <!-thrust provided by stage in kN, required-->
|alt-stage2thurst =  <!--thrust provided by stage in pounds-force, optional-->
|stage2SI       =  <!--specific impulse of stage, in seconds, optional-->
|stage2time     =  <!--burn time, required-->
|stage2fuel     =  <!--propellant used in stage, required-->
<!--Alternative second stage, obsolete, use stagedata-->
|stage2adiff    =  <!--variant of rocket, optional-->
|stage2aname    =  <!--name of stage, optional-->
|stage2aengines =  <!--number and type of engines used on stage, required-->
|stage2athrust  =  <!-thrust provided by stage in kN, required-->
|alt-stage2athurst =  <!--thrust provided by stage in pounds-force, optional-->
|stage2aSI      =  <!--specific impulse of stage, in seconds, optional-->
|stage2atime    =  <!--burn time, required-->
|stage2afuel    =  <!--propellant used in stage, required-->
<!--Third stage, obsolete, use stagedata-->
|stage3diff     =  <!--variant of rocket, optional-->
|stage3name     =  <!--name of stage, optional-->
|stage3engines  =  <!--number and type of engines used on stage, required-->
|stage3thrust   =  <!-thrust provided by stage in kN, required-->
|alt-stage3thurst =  <!--thrust provided by stage in pounds-force, optional-->
|stage3SI       =  <!--specific impulse of stage, in seconds, optional-->
|stage3time     =  <!--burn time, required-->
|stage3fuel     =  <!--propellant used in stage, required-->
<!--Alternative third stage, obsolete, use stagedata-->
|stage3adiff    =  <!--variant of rocket, optional-->
|stage3aname    =  <!--name of stage, optional-->
|stage3aengines =  <!--number and type of engines used on stage, required-->
|stage3athrust  =  <!-thrust provided by stage in kN, required-->
|alt-stage3athurst =  <!--thrust provided by stage in pounds-force, optional-->
|stage3aSI      =  <!--specific impulse of stage, in seconds, optional-->
|stage3atime    =  <!--burn time, required-->
|stage3afuel    =  <!--fuel used in stage, required-->
<!--Fourth stage, obsolete, use stagedata-->
|stage4diff     =  <!--variant of rocket, optional-->
|stage4name     =  <!--name of stage, optional-->
|stage4engines  =  <!--number and type of engines used on stage, required-->
|stage4thrust   =  <!-thrust provided by stage in kN, required-->
|alt-stage4thurst =  <!--thrust provided by stage in pounds-force, optional-->
|stage4SI       =  <!--specific impulse of stage, in seconds, optional-->
|stage4time     =  <!--burn time, required-->
|stage4fuel     =  <!--propellant used in stage, required-->
<!--Fifth stage, obsolete, use stagedata-->
|stage5diff     =  <!--variant of rocket, optional-->
|stage5name     =  <!--name of stage, optional-->
|stage5engines  =  <!--number and type of engines used on stage, required-->
|stage5thrust   =  <!-thrust provided by stage in kN, required-->
|alt-stage5thurst =  <!--thrust provided by stage in pounds-force, optional-->
|stage5SI       =  <!--specific impulse of stage, in seconds, optional-->
|stage5time     =  <!--burn time, required-->
|stage5fuel     =  <!--propellant used in stage, required-->
<!--Sixth stage, obsolete, use stagedata-->
|stage6diff     =  <!--variant of rocket, optional-->
|stage6name     =  <!--name of stage, optional-->
|stage6engines  =  <!--number and type of engines used on stage, required-->
|stage6thrust   =  <!-thrust provided by stage in kN, required-->
|alt-stage6thurst =  <!--thrust provided by stage in pounds-force, optional-->
|stage6SI       =  <!--specific impulse of stage, in seconds, optional-->
|stage6time     =  <!--burn time, required-->
|stage6fuel     =  <!--propellant used in stage, required-->


|alt-height   =  <!--height of the rocket in feet, optional-->
|alt-diameter =  <!--core diameter in feet, optional-->
|alt-mass     =  <!--mass of rocket in pounds, optional-->

<!--from payloads-->
  |pounds   =  <!--Payload mass in pounds, optional-->

<!--from stages-->
  |alt-thrust =  <!--thrust provided by a single booster/stage in pounds-force, optional-->
  |alt-total  =  <!--total thrust for all boosters in pounds-force, optional-->

This template is using Wikidata with opt-out available. Opt-out here means that the template enables Wikidata by default, and only suppressed if the fields are manually written. It will probably stay like this for a very long time, until almost all information has been migrated.

Note: It is impossible to turn off Wikidata without manually entering values.

A lot of people are concerned about Wikidata's information quality, and while this is a legitimate concern, it is very impractical. Most info in infoboxes are never cited, but rather being cited at the article itself or even not cited at all. Infoboxes are also extremely hard to be corrected by new editors, and Wikidata (although still pretty hard to use) is a bit more friendlier to them. The biggest concern however is that without introduction Wikidata will not be able to be populated quickly. It will not be filled with vandalism however as it will only show up for autoconfirmed users so data quality is increased drastically.

Another reason for Wikidata is synchronization. With a rise of private spaceflight and such, this is a perfect opportunity to add more data and collaborate between Wikipedias. By migrating information to Wikidata, information can be written quickly and accurately, and with the rise of Wikifunction it might not be long that having local infobox is obsolete.

Template:Infobox rocket stage uses a subtemplate of Template:Infobox rocket called Template:Infobox rocket/stage. In the first phase of Wikidata transition, these engines will still technically supported, but without Wikidata functionality. Template:Infobox rocket stage will be completely revamped in the future. This is what happens when you're being lazy and don't future-proof your work

Wikibase items

[සංස්කරණය]
Note: Legacy infobox is not supported due to immense complexity and high risk

List of parameters corresponding to Wikibase items

[සංස්කරණය]
|logo         = [manual input]
|logo_upright = [manual input]
|image        = [manual input]
|upright      = [manual input]
|caption      = [manual input]

|name           = [item label]
|function       =  (P366)
|manufacturer   =  (P176) [with nested]  (P642)
|country-origin =  (P495)

|pcost    =  (P2130) [of nested]  (P1013) [that has]  (Q16868672)
|cpl      =  (P2130) [of nested]  (P1013) [that has]  (Q797476)
|alt-cpl  = [not used]
|cpl-year =  (P2130) [of nested]  (P1013) [that has] වර්ෂය (Q577)

|height       = උස (P2048)
|diameter     =  (P2386)
|width        =  (P2049)
|mass         =  (P2067)
|stages       = අයත් කොටස් වන්නේ (P527) [with nested]  (P1114)

|capacities    = [Uses Template:Infobox rocket/payload, need |to= having destination's QID number]
  |location    = [qid input to |to=]
  |altitude    =  (P1444) [nested] [|to=] [at]  (P2243), choose this property because  (P2044) limits to 100km and this is an often advertised value
  |inclination =  (P1444) [nested] [|to=] [at]  (P2045)
  |mass        =  (P1444) [nested] [|to=] [at]  (P4519) 
  |volume      =  (P1444) [nested] [|to=] [at]  (P2234)

|family       =  (P279) [of nested]  (P1013) [that has]  (Q109542585)
|derived_from =  (P144)
|derivatives  =  (P4969)
|comparable   = [manual input]

|status   =  (P5817)
|sites    =  (P1427)
|launches =  (P1114) [of nested]  (P1013) [that has]  (Q797476)
|success  =  (P1114) [of nested]  (P1552) [that has]  (Q7632586)
|fail     =  (P1114) [of nested]  (P1552) [that has]  (Q1121708)
|partial  =  (P1114) [of nested]  (P1552) [that has]  (Q28777323)
|destroyedbefore = [manual input]
|other_outcome   =  (P793) [of nested]  (P828) [that has]  (Q4993710)
|landings =  (P1114) [of nested]  (P1552) [that has]  (Q844947)
|first    =  (P793) [of nested]  (P828) [that has]  (Q19269277)
|last     =  (P793) [of nested]  (P828) [that has]  (Q30013662)
|only     =  (P619)
|payloads =  (P3437)

|stagedata    = [Uses Template:Infobox rocket/stage, need |to= having stage's QID number]
  |type       = [manual input]
  |diff       = මෙය ඇතුළත් වන්නේ (P361)
  |stageno    = [manual input]*
  |name       = [item label]
  |number     =  (P1114) [of nested]  (P1013) [that has] [vehicle's QID]
  |length     = උස (P2048)
  |diameter   =  (P2386)
  |width      =  (P2049)
  |empty      =  (P2067) [of nested]  (P1013) [that has]  (Q254474)
  |gross      =  (P2067) [of nested]  (P1706) [that has]  (Q1364934)
  |propmass   =  (P2067) [of nested]  (P1013) [that has]  (Q1364934)
  |engines    =  (P516) [with nested]  (P1114)
  |solid      = [manual input]
  |thrust     =  (P2228) [of nested]  (P1013) [that has]  (Q254474)
  |total      =  (P2228) [of nested]  (P1013) [that has] [vehicle's QID]
  |SI         = [manual input]^
  |burntime   =  (P2047) [of nested]  (P1013) [that has]  (Q133235)
  |fuel       =  (P618)
  
^: Property that is going to be added
*: Implement once lexeme is allowed in wikipedia

List of labels using Wikidata properties

[සංස්කරණය]

Information at Wikidata will display in this infobox only if a reference to a reliable source is provided for that wikidata item, per this 2018 RFC.

|logo         = [manual input]
|logo_upright = [manual input]
|image        = [manual input]
|upright      = [manual input]
|caption      = [manual input]

|name           = [item label]
|function       =  (P366)
|manufacturer   =  (P176)
|country-origin =  (P495)

|pcost    = [manual input]
|cpl      = [manual input]
|alt-cpl  = [not used]
|cpl-year = [manual input]

|height       = උස (P2048)
|diameter     =  (P2386)
|width        =  (P2049)
|mass         =  (P2067)
|stages       = [manual input]

|capacities    = [Uses Template:Infobox rocket/payload, need |to= having destination's QID number]
  |location    = [manual input]
  |altitude    = [manual input]
  |inclination =  (P2045)
  |mass        =  (P2067)
  |volume      = [manual input]

|family       = [manual input]
|derived_from =  (P144)
|derivatives  =  (P4969)
|comparable   = [manual input]

|status   = [manual input]
|sites    = [manual input]
|launches = [manual input]
|success  = [manual input]
|fail     = [manual input]
|partial  = [manual input]
|destroyedbefore = [manual input]
|other_outcome   = [manual input]
|landings = [manual input]
|first    = [manual input]
|last     = [manual input]
|only     =  (P619)
|payloads =  (P3437)

|stagedata    = [Uses Template:Infobox rocket/stage, need |to= having stage's QID number]
  |type       = [manual input]
  |diff       = [manual input]
  |stageno    = [manual input]
  |name       = [item label]
  |number     = [manual input]
  |length     = උස (P2048)
  |diameter   =  (P2386)
  |width      =  (P2049)
  |empty      = [manual input]
  |gross      = [manual input]
  |propmass   = [manual input]
  |engines    =  (P516)
  |solid      = [manual input]
  |thrust     =  (P2228)
  |total      = [manual input]
  |SI         = [manual input]
  |burntime   = [manual input]
  |fuel       = [manual input]

The HTML mark up produced by this template includes an hProduct microformat, which makes the product's details parsable by computers, either acting automatically to index articles across Wikipedia for search engines, or via a browser tool operated by a person. For more information about the use of microformats on Wikipedia, please see the microformat project.

If the product has a URL, use {{Url}}.

hProduct uses HTML classes including:

  • brand
  • category
  • description
  • fn
  • hproduct
  • identifier
  • listing
  • photo
  • price
  • review
  • type
  • url
  • url
  • value

Please do not rename or remove these classes; nor collapse nested elements which use them.

Tracking categories

[සංස්කරණය]
"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Infobox_rocket/doc&oldid=510835" වෙතින් සම්ප්‍රවේශනය කෙරිණි