Template talk:NASA-image

From Wikimedia Commons, the free media repository
Jump to: navigation, search

{{center}}[edit]

I can't seem to get the center attribute to do anything in this template. -- carol 04:14, 4 January 2008 (UTC)

It works for me. Try something like {{NASA-image|center=JSC|id=1234}}. Cheers, Rocket000 06:07, 4 January 2008 (UTC)
Thanks, I will give that a try! -- carol 08:21, 4 January 2008 (UTC)
Shuttle.svg This image or video was catalogued by one of the centers of the United States National Aeronautics and Space Administration (NASA) under Photo ID: MSFC-8915531.
This tag does not indicate the copyright status of the attached work. A normal copyright tag is still required. See Commons:Licensing for more information.

Català | Čeština | Deutsch | English | Español | فارسی | Français | Galego | Magyar | Հայերեն | Bahasa Indonesia | Italiano | 日本語 | Македонски | മലയാളം | Polski | Português | Русский | Türkçe | 中文 | 中文(简体)‎ | +/−
That 'works' in that it looks pretty on the image page and stuff.
Shuttle.svg This image or video was catalogued by one of the centers of the United States National Aeronautics and Space Administration (NASA) under Photo ID: NIX MSFC-8915531 AND Alternate ID: MIX 840.
This tag does not indicate the copyright status of the attached work. A normal copyright tag is still required. See Commons:Licensing for more information.

Català | Čeština | Deutsch | English | Español | فارسی | Français | Galego | Magyar | Հայերեն | Bahasa Indonesia | Italiano | 日本語 | Македонски | മലയാളം | Polski | Português | Русский | Türkçe | 中文 | 中文(简体)‎ | +/−
With an alternative center and with the url appearing for the each center, the id can make a link. Like it works in the NARA Template:

{{NARA-image|531328}}

It would be nice if my personal 'iffy' sense was working better. -- carol 09:55, 4 January 2008 (UTC)
And more, because some of the NASA searches have a sessionid in the url. I only today for the first time attempted stripping that from the url -- a good template like that would help keep that kind of thing from happening. -- carol 09:58, 4 January 2008 (UTC)

Well, it wasn't made to use NIX as a center (that's why I moved it from the table). Try it with a different center ID. The ID link is a great idea, the only problem is the URL is different for each center. Using the NIX ID may work for most centers, though. For example, I could change the template so when something like {{NASA-image|JSC|1234}} is entered the result is

Shuttle.svg This image or video was catalogued by Johnson Space Center of the United States National Aeronautics and Space Administration (NASA) under Photo ID: 1234.
This tag does not indicate the copyright status of the attached work. A normal copyright tag is still required. See Commons:Licensing for more information.
Actually, I just looked at this a little more closely -- I was wondering how JSC could be giving a LARC url. You don't have such a bad start there. -- carol 12:06, 4 January 2008 (UTC)
Actually, with my example, I made it so no matter what center you got the image from it will link to the NIX (or LARC, as you referred to it) url. This was done because nix.larc is a meta search which works for most centers (granted the NIX ID is used). The only reason you enter the center is to change the text, like with the real template. Check out the code and you'll know what I mean. Hopefully ;) Rocket000 12:45, 4 January 2008 (UTC)

That's using the NIX ID and website, not JSC. I don't think all images have one so it wouldn't work for everything. I guess the URL can change for each center depending on what's entered, but that's a little beyond my template creating knowledge. The resulting link can be something like [{{{1}}}{{{2}}} {{{2}}}] where 1 is the corresponding URL part for the center and 2 is the image's ID. Together they make a working link. Maybe someone more advanced than me can make this work? Rocket000 10:42, 4 January 2008 (UTC)

I have considered this, but there is are few NASA sites that are capable of this. mostly because they use POST searchforms, and also because only NIX, GRIN and JPL can actually correctly search for NASA ids. Totally stupid. TheDJ 19:17, 4 January 2008 (UTC)
The acronyms -- I think they were designed to make perfectly good brains a little sloshy, but I am going to try anyways. If there is a NIX id then there is a url that could work in the template. Same thing with MIX and MIX id. Same thing with GRIN and even with the NOAA photo library that has a lot of rocket and other spacey images (probably should not be a part of this discussion however). I noticed while I was going through the NASA images, that the urls pasted by me and other uploaders were a pain in the hind quarters. The sessionid was one of those pains. Many attempted to link directly to the image which if their upload did not contain a description was terrible because all that was was two versions of the same image with no description.
GRIN -- someone (from NASA) should go through that collection and ask themselves this one thing about each of those images. This one thing was the suggestion that my physics teacher made to our class; and that is: 'Does that make sense?'. That question was a way to check our answers when solving classic mechanics problems -- GRIN has a few classic mechanics problems in its archive and NASA shouldn't do that.</end of somewhat related rant> -- carol 11:56, 4 January 2008 (UTC)

The technology by images of NASA is indeed a disaster. It's the reason I did not include linking in the template, but only the ID. One of the best types of links they have are those of the JPL images actually, simple, consistent and findable/indexable by google and other tools. If they would have pages like that for every imageID than all our problems would be solved. I have tried multiple times to inform NASA of the basic design mistakes behind their various databases, but have so far been unsuccessful in getting in contact with them. I should ask some other folks who might know NASA people. TheDJ 19:15, 4 January 2008 (UTC)

It seems like someone over there is aware of these problems, but hasn't followed through yet and may have made things temporary worse with these alternate IDs and such. The people at NIX do say they're working on improving it, but some sites just don't have the "minimum technical standards" yet. I don't know how useful it would be, but maybe we can link IDs where we can. This might just cause more problems though :( Rocket000 19:35, 4 January 2008 (UTC)