Difference between revisions of "Template:Infobox spacecraft instrument"

From blackwiki
Jump to navigation Jump to search
(cap fix)
imported>JFG
(Auto-link COSPAR ID, as in Template:Infobox spaceflight)
Line 53: Line 53:
 
| 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|}}}

Revision as of 07:55, 11 February 2018

COSPAR ID{{#property:P247}}

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

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