Template:LCCN

From imedwiki
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

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

Script error: No such module "LCCN".

and to link sa65-3567, use:

{{LCCN|sa653567}} gives

Script error: No such module "LCCN".

Additional parameters

You can use a second parameter to add a title.

{{LCCN|89456|Monarch butterflies}}

Script error: No such module "LCCN".

By specifying | long = yes, you can also provide a more detailed output, especially for use in External Links sections:

{{LCCN|89456|long=yes}} gives

Script error: No such module "LCCN".

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

Script error: No such module "LCCN".

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for LCCN

References a Library of Congress Control Number.

Template parameters

ParameterDescriptionTypeStatus
LCCN id1 id

LCCN without hyphens

Example
89456
Stringrequired
Title2 title name

Title of the book

Example
Monarch butterflies
Stringoptional
Long formatlong

yes to use the long format

Example
yes
Booleanoptional

See also

This template is based (in parts) on the Template:LCCN from the free encyclopedia wikipedia and is licensed under GNU license for free documentation and the Creative Commons Attribution/Share Alike. On wikipedia there is a List of authors accessible. More about importing from wikipedia on page Imedwiki:Importing from wikipedia.