Difference between revisions of "Template:LOC-cdn/doc"

From blackwiki
Jump to navigation Jump to search
imported>Gadget850
(ud)
 
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(2 intermediate revisions by one other user not shown)
Line 7: Line 7:
 
<div style="width:250px; background:#ddd; border:1px solid black; padding:0.5em 1em 0.5em 1em;">
 
<div style="width:250px; background:#ddd; border:1px solid black; padding:0.5em 1em 0.5em 1em;">
 
<pre>
 
<pre>
{{LOC-cdn|id=<id>}}
+
{{LOC-cdn
 +
|id=  
 +
|handle= }}
 
</pre></div>
 
</pre></div>
  
Where "id" is the digital id from the image description page. 
 
  
Spaces in the digital id must be converted into the plus symbol.  Example "Digital ID: ichicdn n059722" is entered as "ichicdn+n059722"
+
== Parameters ==
 +
 
 +
{| class="wikitable"
 +
!style="width:140px; text-align:left;"| Parameter
 +
!style="text-align:left;"| Explanation
 +
|-
 +
| '''''id'''''<br />mandatory
 +
| Digital id from the image description page.  Spaces in the digital id must be converted into the plus symbol.  Example "Digital ID: ichicdn n059722" is entered as "ichicdn+n059722".
 +
|-
 +
| '''''handle'''''
 +
| Identifies the specific collection
 +
|-
 +
| &nbsp;'''''cdn'''''
 +
| Chicago Daily News collection; default
 +
|-
 +
| &nbsp;'''''haybib'''''
 +
| Chicago Anarchists on Trial: Evidence from the Haymarket Affair, 1886-1887
 +
|}
  
 
== Example ==
 
== Example ==
Line 25: Line 43:
 
* {{tl|LOC-image}} for images from the Prints and Photographs Division
 
* {{tl|LOC-image}} for images from the Prints and Photographs Division
  
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<includeonly>{{Sandbox other||<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
  
 
[[Category:Marker templates|{{PAGENAME}}]]
 
[[Category:Marker templates|{{PAGENAME}}]]
</includeonly>
+
}}</includeonly>

Latest revision as of 00:12, 26 April 2020

This template indicates images from the Library of Congress Chicago Daily News division.

Usage

{{LOC-cdn
|id= 
|handle= }}


Parameters

Parameter Explanation
id
mandatory
Digital id from the image description page. Spaces in the digital id must be converted into the plus symbol. Example "Digital ID: ichicdn n059722" is entered as "ichicdn+n059722".
handle Identifies the specific collection
 cdn Chicago Daily News collection; default
 haybib Chicago Anarchists on Trial: Evidence from the Haymarket Affair, 1886-1887

Example

{{LOC-cdn|id=ichicdn+n059722}}

See also

  • {{LOC-image}} for images from the Prints and Photographs Division