Difference between revisions of "Template:Cospar"

From blackwiki
Jump to navigation Jump to search
imported>JFG
(Never wrap text in the middle of a COSPAR ID)
imported>JFG
(Remain silent on empty input)
Line 1: Line 1:
{{nowrap|1=[http://nssdc.gsfc.nasa.gov/nmc/spacecraftDisplay.do?id={{{id|{{{1|}}}}}} {{{name|{{{2|{{{id|{{{1|}}}}}}}}}}}}]}}<noinclude>
+
{{#if:{{{id|{{{1|}}}}}}|{{nowrap|1=[http://nssdc.gsfc.nasa.gov/nmc/spacecraftDisplay.do?id={{{id|{{{1|}}}}}} {{{name|{{{2|{{{id|{{{1|}}}}}}}}}}}}]}}}}<noinclude>
  
 
{{documentation}}
 
{{documentation}}

Revision as of 07:49, 10 April 2016


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

Usage

{{Cospar |id= |name= }}

Used to display an International Designator (also known as COSPAR ID or NSSDCA id) with a link to the corresponding NASA Space Science Data Coordinated Archive catalog entry.

{{Cospar|1990-037B}}1990-037B

{{Cospar|1990-037B|Hubble Space Telescope}}Hubble Space Telescope

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Cospar

Displays an International Designator (also known as COSPAR ID or NSSDCA id) with a link to the corresponding NASA Space Science Data Coordinated Archive catalog entry.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
IDid 1

International Designator for a man-made object in space

Example
1990-037B
Stringrequired
Namename 2

Name to display instead of the ID

Example
Hubble Space Telescope
Linesuggested