Jump to content

Template:Infobox spaceflight/sandbox: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
This is why sandbox
Try this way
Line 21: Line 21:
|label4 = [[International Designator|COSPAR ID]]
|label4 = [[International Designator|COSPAR ID]]
<!-- 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]] -->
<!-- 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]] -->
|data4 = {{#if:{{#property:P247}}|{{#ifeq:{{#property:P247}}|{{{COSPAR_ID|{{#property:P247}}}}}|{{Cospar|{{#property:P247}}}}<span class="ib-edit-wd">{{EditAtWikidata|pid=P247}}</span>|{{{COSPAR_ID|}}}}}|{{{COSPAR_ID|}}}}}
|data4 = {{#if:{{#property:P247}}|{{#ifeq:{{#property:P247}}|{{#if:{{{COSPAR_ID|}}}|{{{COSPAR_ID}}}|{{#property:P247}}}}|{{Cospar|{{#property:P247}}}}<span class="ib-edit-wd">{{EditAtWikidata|pid=P247}}</span>|{{{COSPAR_ID|}}}}}|{{{COSPAR_ID|}}}}}
|label5 = [[Satellite Catalog Number|SATCAT {{abbr|no.|number}}]]
|label5 = [[Satellite Catalog Number|SATCAT {{abbr|no.|number}}]]
|data5 = {{#if: {{{SATCAT|}}} | {{{SATCAT}}} | {{wd|property|edit@end|P377}} }}
|data5 = {{#if: {{{SATCAT|}}} | {{{SATCAT}}} | {{wd|property|edit@end|P377}} }}

Revision as of 02:05, 23 October 2022