Difference between revisions of "Template:Infobox spacecraft instrument"
Jump to navigation
Jump to search
imported>WDGraham (fix header) |
imported>Hairy Dude (capitalization) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| bodyclass= vcard | | bodyclass= vcard | ||
− | | title = {{{Name|<includeonly>{{{name|{{ | + | | title = {{{Name|<includeonly>{{{name|{{PAGENAMEBASE}} }}}</includeonly>}}} |
| titleclass = fn org | | titleclass = fn org | ||
− | | image | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{Image|}}}|size={{{imagesize|}}}|alt={{{alt|}}}}} |
| caption = {{{Caption|}}} | | caption = {{{Caption|}}} | ||
Line 10: | Line 10: | ||
| label2 = Manufacturer | | label2 = Manufacturer | ||
| data2 = {{{Manufacturer|}}} | | data2 = {{{Manufacturer|}}} | ||
− | | label3 = Instrument | + | | label3 = Instrument type |
| data3 = {{{Type|}}} | | data3 = {{{Type|}}} | ||
| label4 = Function | | label4 = Function | ||
Line 41: | Line 41: | ||
− | | header17 = {{#if:{{{Spacecraft|}}}{{{SC_Operator|}}}{{{Launch|}}}{{{Rocket|}}}{{{Launch_Site|}}}{{{COSPAR|}}}{{{Decay|}}}{{{Orbit|}}}|Host | + | | header17 = {{#if:{{{Spacecraft|}}}{{{SC_Operator|}}}{{{Launch|}}}{{{Rocket|}}}{{{Launch_Site|}}}{{{COSPAR|}}}{{{Decay|}}}{{{Orbit|}}}|Host spacecraft}} |
| label18 = Spacecraft | | label18 = Spacecraft | ||
| data18 = {{{Spacecraft|}}} | | data18 = {{{Spacecraft|}}} | ||
Line 50: | Line 50: | ||
| label21 = Rocket | | label21 = Rocket | ||
| data21 = {{{Rocket|}}} | | data21 = {{{Rocket|}}} | ||
− | | label22 = Launch | + | | label22 = Launch site |
| data22 = {{{Launch_Site|}}} | | data22 = {{{Launch_Site|}}} | ||
| label23 = [[International Designator|COSPAR ID]] | | label23 = [[International Designator|COSPAR ID]] | ||
− | | data23 = {{{COSPAR|}}} | + | <!-- Grab COSPAR_ID from Wikidata (P247); link to NASA database if it matches infobox string, otherwise keep infobox string unadorned for cases where several IDs are displayed, e.g [[Apollo 11]] --> |
+ | | data23 = {{#if: {{{COSPAR|}}} | {{#ifeq:{{#property:P247}}|{{{COSPAR}}}|{{cospar|{{#property:P247}}}}|{{{COSPAR}}}}} | {{cospar|{{#property:P247}}}} }} | ||
| label24 = Orbit | | label24 = Orbit | ||
| data24 = {{{Orbit|}}} | | data24 = {{{Orbit|}}} |
Latest revision as of 22:21, 16 November 2018
COSPAR ID | {{#property:P247}} |
---|
[[Category:Infobox templates|Template:Remove first word]]
Usage
{{Infobox spacecraft instrument | Name = | Image = | Caption = | Operator = | Manufacturer = | Type = | Function = | Mission_Duration = | Began = <!--date operations began (single instruments only)--> | Ceased = <!--date operations ceased (single instruments only)--> | Webpage = | Mass = | Dimensions = | Number = <!--number launched--> | Power_consumption = | Resolution = | Spectral_Band = | Data_Rate = | Spacecraft = <!--spacecraft it is hosted aboard--> | SC_Operator = <!--operator of those spacecraft--> | Launch = <!--Launch date (single instruments only)--> | Rocket = | Launch_Site = | COSPAR = <!--COSPAR ID of host spacecraft--> | Orbit = | Decay = <!--decay date--> }}
See also
Template:Spaceflight infoboxes
The above documentation is transcluded from Template:Infobox spacecraft instrument/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |