Difference between revisions of "Template:LCC"

From blackwiki
Jump to navigation Jump to search
imported>Headbomb
(cleanup for print)
imported>Matthiaspaul
(deliberately going through (identifier) redirect for consistency with CS1 citation templates and to improve reverse lookup functionality)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
<!--
 
<!--
 
-->{{hide in print
 
-->{{hide in print
     |1=[[Library of Congress Classification|LCC]]&nbsp;<!--
+
     |1=[[LCC (identifier)|LCC]]&nbsp;<!--
 
       -->{{#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}}}&nbsp;{{{2}}}&nbsp;{{{3}}}]
+
             |[https://catalog.loc.gov/vwebv/search?searchCode=CALL%2B&searchArg={{{1}}}+{{{2}}}+{{{3}}}&searchType=1&recCount=25 {{{1}}}&nbsp;{{{2}}}&nbsp;{{{3}}}]
             |[http://catalog.loc.gov/cgi-bin/Pwebrecon.cgi?Search_Arg={{{1}}}+{{{2}}}&Search_Code=CALL_&CNT=5 {{{1}}}&nbsp;{{{2}}}]
+
             |[https://catalog.loc.gov/vwebv/search?searchCode=CALL%2B&searchArg={{{1}}}+{{{2}}}&searchType=1&recCount=25 {{{1}}}&nbsp;{{{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}}}]
 
         }}
 
         }}
 
   }}<!--
 
   }}<!--

Latest revision as of 17:40, 18 April 2020

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