Difference between revisions of "Template:LOC-image/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Gadget850
(test with http://www.loc.gov/pictures/resource/)
 
imported>Gadget850
(copy from Commons)
Line 1: Line 1:
{{imbox
+
<noinclude>{{protected template}}</noinclude>{{LOC-meta|format=image|id={{{id|{{{1|}}}}}}|division={{{division|pnp}}}|division_name={{{division_name|}}}|division_url={{{division_url|}}}|category=[[Category:Images from the Library of Congress<includeonly>|*</includeonly>]]}}<noinclude>
| type  = notice
+
{{documentation}}
| image =
 
| imageright = [[Image:LibraryCongressWashDC.jpg|125px]]
 
| style =
 
| textstyle =
 
| text  = This image is available from the United States [[Library of Congress]] Prints and Photographs division under the digital ID [http://www.loc.gov/pictures/resource/{{urlencode:{{{1|{{{id}}}}}}}} {{{1|{{{id}}}}}}]<br/><small>This tag does not indicate the copyright status of the attached work. A normal copyright tag is still required. See [[Wikipedia:Copyrights]] for more information.
 
}}<includeonly>{{file other | [[Category:Images from the Library of Congress|{{PAGENAME}}]] }}</includeonly><noinclude>
 
 
 
{{Documentation}}
 
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
 
 
</noinclude>
 
</noinclude>

Revision as of 11:19, 23 May 2012

Template:Protected templateTemplate:LOC-meta

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

Usage

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}}.

This template's HDL lookup only works for images from the Library of Congress Prints and Photographs Division (the loc.pnp in the URL).

See also