Difference between revisions of "Template:LCC"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(will try again later)
imported>Frietjes
(per https://catalog.loc.gov/vwebv/ui/en_US/htdocs/help/cannedSearch.html trying a different fix)
Line 4: Line 4:
 
       -->{{#if:{{{2|}}}
 
       -->{{#if:{{{2|}}}
 
           |{{#if:{{{3|}}}
 
           |{{#if:{{{3|}}}
             |[http://catalog.loc.gov/cgi-bin/Pwebrecon.cgi?Search_Arg={{{1}}}+{{{2}}}+{{{3}}}&Search_Code=CALL_&CNT=5 {{{1}}} {{{2}}} {{{3}}}]
+
             |[https://catalog.loc.gov/vwebv/search?searchCode=CALL%2B&searchArg={{{1}}}+{{{2}}}+{{{3}}}&searchType=1&recCount=25 {{{1}}} {{{2}}} {{{3}}}]
             |[http://catalog.loc.gov/cgi-bin/Pwebrecon.cgi?Search_Arg={{{1}}}+{{{2}}}&Search_Code=CALL_&CNT=5 {{{1}}} {{{2}}}]
+
             |[https://catalog.loc.gov/vwebv/search?searchCode=CALL%2B&searchArg={{{1}}}+{{{2}}}&searchType=1&recCount=25 {{{1}}} {{{2}}}]
 
           }}
 
           }}
           |[http://catalog.loc.gov/cgi-bin/Pwebrecon.cgi?Search_Arg={{urlencode:{{{1}}}}}&Search_Code=CALL_&CNT=5 {{{1}}}]
+
           |[https://catalog.loc.gov/vwebv/search?searchCode=CALL%2B&searchArg={{urlencode:{{{1}}}}}&searchType=1&recCount=25 {{{1}}}]
 
         }}
 
         }}
 
   }}<!--
 
   }}<!--

Revision as of 19:10, 12 August 2016

LCC {{{1}}}Template:Only in print

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

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