Difference between revisions of "Template:LCC"

From blackwiki
Jump to navigation Jump to search
imported>Ligulem
imported>Matthiaspaul
(deliberately going through (identifier) redirect for consistency with CS1 citation templates and to improve reverse lookup functionality)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Library of Congress Classification|LCC]] {{#if:
+
<!--
{{{2|}}}
+
-->{{hide in print
|{{#if:
+
    |1=[[LCC (identifier)|LCC]]&nbsp;<!--
{{{3|}}}
+
      -->{{#if:{{{2|}}}
|[http://catalog.loc.gov/cgi-bin/Pwebrecon.cgi?Search_Arg={{{1}}}+{{{2}}}+{{{3}}}&Search_Code=CALL_&CNT=5 {{{1}}}&nbsp;{{{2}}}&nbsp;{{{3}}}]
+
          |{{#if:{{{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}}}+{{{3}}}&searchType=1&recCount=25 {{{1}}}&nbsp;{{{2}}}&nbsp;{{{3}}}]
|[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={{{1}}}+{{{2}}}&searchType=1&recCount=25 {{{1}}}&nbsp;{{{2}}}]
}}<noinclude>{{/doc}}
+
          }}
 +
          |[https://catalog.loc.gov/vwebv/search?searchCode=CALL%2B&searchArg={{urlencode:{{{1}}}}}&searchType=1&recCount=25 {{{1}}}]
 +
        }}
 +
  }}<!--
 +
-->{{only in print
 +
    |1=LCC&nbsp;<!--
 +
      -->{{#if:{{{2|}}}
 +
          |{{#if:{{{3|}}}
 +
            |{{{1}}}&nbsp;{{{2}}}&nbsp;{{{3}}}
 +
            |{{{1}}}&nbsp;{{{2}}}
 +
          }}
 +
          |{{{1}}}
 +
        }}
 +
  }}<!--
 +
--><noinclude>
 +
{{documentation}}
 +
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
 
</noinclude>
 
</noinclude>

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