Difference between revisions of "Template:LOC-image"

From blackwiki
Jump to navigation Jump to search
imported>Tom
(wrong project)
imported>Wikiacc
(remove urlencode; see c:Template talk:LOC-meta)
 
(6 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<center>
+
{{imbox
{| style="width:80%; border:1px solid black; background:#ffe0e0; padding:0; text-align:center;"
+
| type  = notice
|-
+
| image =
| align=left | [[Image:LibraryCongressWashDC.jpg|80px]]
+
| imageright = [[Image:LibraryCongressWashDC.jpg|125px]]
| This image is available from the United States [[Library of Congress]] Prints and Photographs division under the digital ID [http://hdl.loc.gov/loc.pnp/{{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.</small>
+
| style =
|}</center><includeonly>[[Category:Images from the Library of Congress]]</includeonly><noinclude>
+
| textstyle =
----
+
| text  = This image is available from the United States [[Library of Congress]] Prints and Photographs Division under the digital ID [http://hdl.loc.gov/loc.{{{division|pnp}}}/{{{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.</small>
'''Note:''' When you use this template, you must convert spaces in the digital id into periods.<br>For example "Digital ID: prokc 21468"[http://hdl.loc.gov/loc.pnp/prokc.21468] becomes <nowiki>{{LOC-image|id=prokc.21468}}</nowiki>.
+
}}<includeonly>{{file other | [[Category:Images from the Library of Congress|{{PAGENAME}}]] }}</includeonly><noinclude>
  
'''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 {{tl|LOC-map}}.
+
{{Documentation}}
<includeonly>[[Category:Images from the Library of Congress]]</includeonly>
+
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
<noinclude>
+
</noinclude>
----
 
{{commons|Template:LOC-image}}
 
'''Note:''' When you use this template, you must convert spaces in the digital id into periods.<br>For example "Digital ID: prokc 21468"[http://hdl.loc.gov/loc.pnp/prokc.21468] becomes <nowiki>{{LOC-image|id=prokc.21468}}</nowiki>.
 
 
 
'''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 {{tl|LOC-map}}.
 
[[Category:Marker templates|{{PAGENAME}}]]</noinclude>
 

Latest revision as of 02:45, 14 December 2020

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