Difference between revisions of "Template:LCCN/doc"

From blackwiki
Jump to navigation Jump to search
imported>Smith609
(simplify)
imported>Funandtrvl
(updte, ce)
Line 3: Line 3:
  
 
===Usage===
 
===Usage===
This template is used for referring to books by their [[Library of Congress Control Number]]s. Enter the LCCN without any dashes.
+
This template is used for referring to books by their [[Library of Congress Control Number]]s. Enter the LCCN without any dashes or vertical bars between the numbers. Article pages with templates using the deprecated parameter style will be automatically placed into [[:Category:Articles using legacy format in Template:LCCN]].
  
E.g.: to link 89-456 it'll be
+
===Examples===
<nowiki>{{LCCN|89456}}</nowiki> gives
+
For example, to link 89-456, use:<br>
 +
 
 +
<code><nowiki>{{LCCN|89456}}</nowiki></code> gives
 
{{LCCN|89456}}
 
{{LCCN|89456}}
  
<nowiki>{{LCCN|sa653567}}</nowiki> gives
+
and to link sa65-3567, use:<br>
 +
 
 +
<code><nowiki>{{LCCN|sa653567}}</nowiki></code> gives
 
{{LCCN|sa653567}}
 
{{LCCN|sa653567}}
  
Line 15: Line 19:
 
*[http://lccn.loc.gov/lccnperm-faq.html LCCN Permalink FAQ], Library of Congress
 
*[http://lccn.loc.gov/lccnperm-faq.html LCCN Permalink FAQ], Library of Congress
 
*[[bugzilla:8160]]: ParserFunction for Library of Congress Control Numbers (LCCN)
 
*[[bugzilla:8160]]: ParserFunction for Library of Congress Control Numbers (LCCN)
 +
 
<includeonly>
 
<includeonly>
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
{{DEFAULTSORT:LCCN}}
 
 
[[Category:Book templates]]
 
[[Category:Book templates]]
 
[[Category:United States government attribution templates]]
 
[[Category:United States government attribution templates]]

Revision as of 00:06, 22 October 2011

Usage

This template is used for referring to books by their Library of Congress Control Numbers. Enter the LCCN without any dashes or vertical bars between the numbers. Article pages with templates using the deprecated parameter style will be automatically placed into Category:Articles using legacy format in Template:LCCN.

Examples

For example, to link 89-456, use:

{{LCCN|89456}} gives LCCN Expression error: Unrecognized punctuation character "[". 89-Expression error: Unrecognized punctuation character "[".Template:Only in print

and to link sa65-3567, use:

{{LCCN|sa653567}} gives LCCN Expression error: Unrecognized punctuation character "[". sa65-Expression error: Unrecognized punctuation character "[".Template:Only in print

See also