Template:Library of Congress Control Number/sandbox
| This is the template sandbox page for Template:Library of Congress Control Number (diff). See also the companion subpage for test cases. |
| 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
- Bibliographic record for Library of Congress Control Number/sandbox at the 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
- Bibliographic record for Monarch butterflies at the Library of Congress
TemplateData
TemplateData for Library of Congress Control Number
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
- phab:T10160: ParserFunction for Library of Congress Control Numbers (LCCN)
- {{LCC}}
- {{LCCN8}} – for adding LCCNs from Chronicling America
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.