Difference between revisions of "Template:LCC"

From blackwiki
Jump to navigation Jump to search
imported>Renamed user ixgysjijel
m (Protected Template:LCC: moderate use template used for image vandalism [edit=autoconfirmed:move=autoconfirmed])
imported>Ligulem
Line 6: Line 6:
 
|[http://catalog.loc.gov/cgi-bin/Pwebrecon.cgi?Search_Arg={{{1}}}+{{{2}}}&Search_Code=CALL_&CNT=5 {{{1}}} {{{2}}}]}}
 
|[http://catalog.loc.gov/cgi-bin/Pwebrecon.cgi?Search_Arg={{{1}}}+{{{2}}}&Search_Code=CALL_&CNT=5 {{{1}}} {{{2}}}]}}
 
|[http://catalog.loc.gov/cgi-bin/Pwebrecon.cgi?Search_Arg={{urlencode:{{{1}}}}}&Search_Code=CALL_&CNT=5 {{{1}}}]
 
|[http://catalog.loc.gov/cgi-bin/Pwebrecon.cgi?Search_Arg={{urlencode:{{{1}}}}}&Search_Code=CALL_&CNT=5 {{{1}}}]
}}<noinclude>
+
}}<noinclude>{{/doc}}
 
 
==Usage==
 
 
 
This template is used for referring to books by their [[Library of Congress Classification]] codes.  It produces a link to the Library of Congress website.
 
 
 
For example:
 
 
 
*<code><nowiki>{{LCC|Z253.U69}}</nowiki></code> results in "{{LCC|Z253.U69}}"
 
*<code><nowiki>{{LCC|75-80057}}</nowiki></code> results in "{{LCC|75-80057}}"
 
*<code><nowiki>{{LCC|Z253.U69 1993}}</nowiki></code> results in "{{LCC|Z253.U69 1993}}"
 
*<code><nowiki>{{LCC|G635.C66 H86 1997}}</nowiki></code> results in {{LCC|G635.C66 H86 1997}}
 
 
 
Previously, it was required to replace spaces in the number with pipes:
 
 
 
*<code><nowiki>{{LCC|G635.C66|H86|1997}}</nowiki></code> results in {{LCC|G635.C66|H86|1997}}
 
 
 
This is no longer necessary, though the newer template remains [[backwards compatible]] with the piped format.
 
 
 
{{esoteric}}
 
[[Category:external link templates|LCC]]
 
[[Category:Templates using ParserFunctions|LCC]]
 
[[Category:Book templates|LCC]]
 
 
</noinclude>
 
</noinclude>

Revision as of 09:45, 21 December 2006

LCC {{{1}}}

Usage

This template is used for referring to books by their Library of Congress Classification codes. It produces a link to the Library of Congress website.

For example:

Previously, it was required to replace spaces in the number with pipes:

This is no longer necessary, though the newer template remains backward compatible with the piped format.

See also