Template:LCCN

维基百科,自由的百科全书
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

參數及使用方法

该模板用以通过美国国会图书馆书目控制号(LCCN)生成美国国会图书馆图书页链接。其中LCCN不需连字符(-)或竖线(|)。

範例

使用如下代码链接到 89-456:

{{LCCN|89456}} 显示

LCCN 89-456

使用如下代码链接到 sa65-3567:

{{LCCN|sa653567}} 显示

LCCN sa65-3567

其他參數

可以添加第二个参数指定标题。

{{LCCN|89456|Monarch butterflies}}

LCCN 89-456 – Monarch butterflies

通过指定| long = yes,可以提供更详细的输出,特别适合放置在“外部链接”处:

{{LCCN|89456|long=yes}} 显示

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}} 显示

Monarch butterflies在美国國會圖書館的目录记录

TemplateData

以下是该模板的模板数据,适用于可视化编辑器等工具。

LCCN模板数据

References a Library of Congress Control Number.

模板参数[编辑模板数据]

参数描述类型状态
LCCN id1 id

LCCN 不加连字符(-)

示例值
89456
字符串必需
Title2 title name

书名

示例值
Monarch butterflies
字符串可选
Long formatlong

yes 表示长格式

示例值
yes
布尔可选


參見