Template:Infobox rocket

维基百科,自由的百科全书
跳转至: 导航搜索
Documentation icon 模板文档[查看] [编辑] [历史] [刷新]

模板介紹[编辑]

本模板为各种運載火箭的信息框而制作,并与英文维基的同名模板完全兼容。使用者可以方便地使用本模板导入英文维基的相关资料到中文维基。


使用方法[编辑]

{{Infobox rocket
<!----圖片(選擇性)---->
|image   =  <!--圖片名稱(省略"File:"前綴),必須-->
|imsize  =  <!--圖片大小(省略"px"指令),選擇性,預設為270px-->
|caption =  <!--圖片說明文字,選擇性-->
<!----基本參數(必須)---->
|name           =  <!--火箭名稱(空白為條目標題,選擇性)-->
|function       =  <!--火箭用途,必須-->
|manufacturer   =  <!--製造商,必須-->
|country-origin =  <!--製造國家,選擇性-->
|place-origin   =  <!--place of origin, 選擇性-->
<!----費用(選擇性)---->
|cpl      =  <!--單次發射費用,必須-->
|cpl-year =  <!--year when this cost applied, 必須-->
|alt-cpl  =  <!--單次發射費用其他幣值,選擇性-->
<!----外型及質量參數 (必須)---->
|height       =  <!--火箭長度(公尺),必須,使用{{convert}}-->
|diameter     =  <!--核心火箭直徑(公尺),必須,使用{{convert}}-->
|mass         =  <!--發射重量(公斤),必須,使用{{convert}}-->
|stages       =  <!--火箭節(級)數,不包括輔助火箭-->
<!----酬載能力 (選擇性)---->
|capacities =  <!--insert one of the following templates for each payload:-->
  {{Infobox rocket/Payload
  |location =  <!--軌道類型,必須,請使用[[地球同步轉移軌道|GTO]]或[[低地球軌道|LEO]],避免使用[[GTO]]或[[LEO]]。-->
  |kilos    =  <!--酬載衛星質量(公斤),必須,使用{{convert}}-->
  }}
<!----Associated rockets (選擇性)---->
|family      =  <!--系列火箭,選擇性-->
|derivatives =  <!--derived rockets, 選擇性-->
|comparable  =  <!--similar, unrelated rockets, 選擇性-->
<!----Launch history (必須)---->
|status   =  <!--現在狀態(如退役、現役等),必須-->
|sites    =  <!--發射地點(發射台),必須-->
|launches =  <!--total launches to date, 選擇性-->
|success  =  <!--發射成功次數,選擇性-->
|fail     =  <!--發射失敗次數,選擇性-->
|partial  =  <!--發射部分失敗次數(軌道不正確但仍可使用),選擇性-->
|other_outcome =  <!--number of launches with unknown outcomes (or in progress), 選擇性-->
|first    =  <!--首次發射日期,選擇性-->
|last     =  <!--最後發射日期,選擇性-->
|only     =  <!--launch date if only one was launched, 選擇性-->
|payloads =  <!--著名酬載衛星,選擇性-->
<!--Stages/boosters (選擇性)-->
|stagedata    =  <!--insert one of the following templates for each stage:-->
  {{Infobox rocket/Stage
  |type       =  <!--填booster(輔助火箭)或stage(級) (must be in lower case)-->
  |diff       =  <!--variant of rocket this is used on, 選擇性-->
  |stageno    =  <!--position of stage in rocket, spelled out (eg. First, Second, etc), 必須-->
  |name       =  <!--火箭級/輔助火箭名稱,選擇性-->
  |number     =  <!--輔助火箭數量,必須(type = booster的情況)-->
  |length     =  <!--火箭級/輔助火箭長度,選擇性,使用{{convert}}-->
  |diameter   =  <!--火箭級/輔助火箭直徑(公尺),選擇性,使用{{convert}}-->
  |empty      =  <!--未填裝燃料火箭級/輔助火箭重量(公斤),選擇性,使用{{convert}}-->
  |gross      =  <!--填裝燃料火箭級/輔助火箭重量(公斤),選擇性--> 
  |engines    =  <!--單枚該節火箭/助推火箭引擎數量,必須-->
  |thrust     =  <!--單枚該節火箭/助推火箭推力,必須,使用{{convert}}-->
  |total      =  <!--該節火箭總推力,選擇性,使用{{convert}}-->
  |SI         =  <!--該節火箭比衝量(秒),選擇性-->
  |burntime   =  <!--推進時間,必須-->
  |fuel       =  <!--該節火箭燃料,必須-->
  }}
}}

{{#ifeq:no|yes||

空模板[编辑]

{{Infobox rocket
<!----圖片(選擇性)---->
|image   =  
|imsize  =  
|caption =  
<!----基本參數(必須)---->
|name           =  
|function       =  
|manufacturer   =  
|country-origin =  
|place-origin   =  
<!----費用(選擇性)---->
|cpl      =  
|cpl-year =  
|alt-cpl  =  
<!----外型及質量參數---->
|height       =  
|diameter     =  
|mass         =  
|stages       =  
<!----酬載衛星---->
|capacities =  
  {{Infobox rocket/Payload
  |location =  
  |kilos    =  
  }}
<!----相關火箭---->
|family      =  
|derivatives =  
|comparable  =  
<!----發射歷史---->
|status   =  
|sites    =  
|launches =  
|success  =  
|fail     =  
|partial  =  
|other_outcome =  
|first    =  
|last     =  
|only     =  
|payloads =  
<!--火箭各節數據-->
|stagedata    =  
  {{Infobox rocket/Stage
  |type       =  
  |diff       =  
  |stageno    =  
  |name       =  
  |number     =  
  |length     =  
  |diameter   =  
  |empty      =  
  |gross      =  
  |engines    =  
  |thrust     =  
  |total      =  
  |SI         =  
  |burntime   =  
  |fuel       =  
  }}
}}

舊式(傳統)模板[编辑]

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.

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


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


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

<!--from payloads-->
  |pounds   =  <!--Payload mass in pounds, 選擇性-->

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

Microformat[编辑]

此模板生成的HTML标记包含了hProduct微格式,能夠讓電腦解析产品的详情,便于维基百科自动地,或经由浏览器工具人工地将该条目编入搜索引擎所需的索引。關於维基百科中微格式的更多使用資訊,請參閱維基百科的微格式專題

如果产品有URL,请使用{{Url}}。

hProduct使用的HTML class包括:

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

請勿移除或修改這些class; nor collapse nested elements which use them.

參見[编辑]

使用方法[编辑]

範例[编辑]

注意事项[编辑]

參見[编辑]

给模板编辑者的说明[编辑]

模板结构[编辑]

实现方法[编辑]

编辑注意[编辑]