Difference between revisions of "Template:LOC-image"

From blackwiki
Jump to navigation Jump to search
(update)
imported>Davepape
(fix from commons version - allow default arguments, no need for id=)
Line 3: Line 3:
 
|-
 
|-
 
| align=left | [[Image:LibraryCongressWashDC.jpg|80px]]
 
| align=left | [[Image:LibraryCongressWashDC.jpg|80px]]
| This image is available from the United States [[Library of Congress]] Prints and Pictures division under the digital ID [http://hdl.loc.gov/loc.pnp/{{urlencode:{{{id}}}}} {{{id}}}]
+
| This image is available from the United States [[Library of Congress]] Prints and Pictures division under the digital ID [http://hdl.loc.gov/loc.pnp/{{urlencode:{{{1|{{{id}}}}}}}} {{{1|{{{id}}}}}}]
 
|}</center><includeonly>[[Category:Images from the Library of Congress]]</includeonly><noinclude>
 
|}</center><includeonly>[[Category:Images from the Library of Congress]]</includeonly><noinclude>
 
----
 
----

Revision as of 01:45, 2 May 2007

File:LibraryCongressWashDC.jpg This image is available from the United States Library of Congress Prints and Pictures division under the digital ID {{{id}}}

Note: When you use this template, you must convert spaces in the digital id into periods.
For example "Digital ID: prokc 21468"[1] becomes {{LOC-image|id=prokc.21468}}.

Note: This template's HDL lookup only works for images from the Library of Congress's Prints and Photographs Division (the loc.pnp in the URL). For images from the Geography and Map Division, see {{LOC-map}}.



Template:Sister project Note: When you use this template, you must convert spaces in the digital id into periods.
For example "Digital ID: prokc 21468"[2] becomes {{LOC-image|id=prokc.21468}}.

Note: This template's HDL lookup only works for images from the Library of Congress's Prints and Photographs Division (the loc.pnp in the URL). For images from the Geography and Map Division, see {{LOC-map}}.