Difference between revisions of "Template:LCCN/doc"
[checked revision] | [checked revision] |
(Import from wikipedia) |
m (Interwikilinks anpassen) |
||
Line 4: | Line 4: | ||
==Usage== | ==Usage== | ||
− | 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. | + | This template is used for referring to books by their [[Wikipedia:Library of Congress Control Number|Library of Congress Control Number]]s. Enter the LCCN without any dashes or vertical bars between the numbers. |
===Examples=== | ===Examples=== | ||
Line 73: | Line 73: | ||
*[[bugzilla:8160]]: ParserFunction for Library of Congress Control Numbers (LCCN) | *[[bugzilla:8160]]: ParserFunction for Library of Congress Control Numbers (LCCN) | ||
*{{tl|LCC}} | *{{tl|LCC}} | ||
− | *{{tl|LCCN8}} – for adding LCCNs from [[Chronicling America]] | + | *{{tl|LCCN8}} – for adding LCCNs from [[Wikipedia:Chronicling America|Chronicling America]] |
<includeonly>{{Sandbox other|| | <includeonly>{{Sandbox other|| |
Latest revision as of 14:56, 19 February 2022
This is a documentation subpage for Template:LCCN. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
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.
Examples
For example, to link 89-456, use:
{{LCCN|89456}}
gives
and to link sa65-3567, use:
{{LCCN|sa653567}}
gives
Additional parameters
You can use a second parameter to add a title.
{{LCCN|89456|Monarch butterflies}}
By specifying | long = yes
, you can also provide a more detailed output, especially for use in External Links sections:
{{LCCN|89456|long=yes}}
gives
- Catalog record for LCCN/doc at the United States Library of Congress
You can also use the second parameter to specify the book title if the page where the name of the article you're working on is not identical to the work you're citing. This is often true in the case of parenthetical disambiguation:
{{LCCN|89456|Monarch butterflies|long=yes}}
gives
- Catalog record for Monarch butterflies at the United States Library of Congress
TemplateData
TemplateData for LCCN
References a Library of Congress Control Number.
Parameter | Description | Type | Status | |
---|---|---|---|---|
LCCN id | 1 id | LCCN without hyphens
| String | required |
Title | 2 title name | Title of the book
| String | optional |
Long format | long | yes to use the long format
| Boolean | optional |
See also
- LCCN Permalink FAQ, Library of Congress
- bugzilla:8160: ParserFunction for Library of Congress Control Numbers (LCCN)
- {{LCC}}
- {{LCCN8}} – for adding LCCNs from Chronicling America