编辑“︁
Template:Catalog lookup link/doc
”︁
跳转到导航
跳转到搜索
这是
Catalog lookup link
模板的
文档页面
。
File:AnonEditWarning.svg
您当前没有登录。
如果您保存任何编辑,您的
IP地址
将
公开记录
在
本页的修订历史
中。您如果
登录
或
注册一个帐号
,可以隐藏自己的IP地址并
使用更多功能
。您可以在
您的对话页
查看给您的留言。
任何侵权内容
将会删除 | 百科内容须附有来源,以
供查证
| 维基百科内容均容许他人编辑、使用和重制 | 参阅
繁简
和
地区词处理
指引。
反垃圾检查。
不要
加入这个!
{{Documentation subpage}} {{High-use|6435}} {{lua|Module:Catalog lookup link}} {{uses TemplateStyles|Module:Citation/CS1/styles.css|noprotcat=yes}} This generic link template is used by other more specific templates to create short links to ID-based entries in external databases or catalogs, however, it can also be used to link to internal articles. The purpose of this template is to ensure a consistent appearance and easier maintenance of links to external databases/catalogs. The template supports up to 9 unnamed parameters for the ID entries as well as a number of optional named parameters to adjust the link format to the target database and to modify the display format to make it suitable for as many catalog links as possible. While additional format options might be provided in the future, the default output should always remain a short, but clear and unobtrusive single-line format suitable for inclusion as argument of the {{para|id}} parameter of the various {{tl|citation}} templates. Typically, the template is not used directly, but indirectly called through other more specific templates (like those listed below under [[See also]]). == 参数 == *{{para|1}}, {{para|2}}, {{para|3}}, {{para|4}}, {{para|5}}, {{para|6}}, {{para|7}}, {{para|8}}, {{para|9}}: Optional unnamed parameters for 0 to 9 items to be listed. Whitespace is trimmed off both ends and the strings are urlencoded as if they were query strings. *{{para|article-link}}: Optional Wikipedia article name to link to. *{{para|article-name}}: Optional alternative text to be displayed for {{para|article-link}} link in front of catalog link. If not specified, {{para|article-link}} is used for display as well. If both parameters are not specified, the prefix is omitted completely. *{{para|article-suffix}}: Optional symbol to be displayed after article name or link (f.e. ":"; omitted, if not defined). *{{para|link-prefix}}: Optional prefix portion of url to external catalog item(s). *{{para|link-suffix}}: Optional suffix portion of url to external catalog item(s). *{{para|item-prefix}}: Optional text displayed in front of each external link (omitted, if not defined) *{{para|item-suffix}}: Optional text displayed immediately after each external link (omitted, if not defined) *{{para|list-separator}}: Optional alternative separator displayed between list items (default: ", ", if not specified). Whitespace must be encoded. *{{para|list-leadout}}: Optional alternative leadout text displayed between the last two list items (f.e. "and", "or", "as well as", etc., default is the {{para|list-separator}} or ", ".) *{{para|leadout-suffix}}: Optional alternative suffix text of the leadout (see {{para|list-leadout}}) displayed between the last two list items. This gets added in front of the last list item instead of the default whitespace which is added without this parameter. This may be necessary if {{para|list-separator}} is used not only to define the list separator but also parts of the item prefix (except for the first one). (At present, this is used only to cope with format oddities of the {{tl|MR}} template.) *{{para|url-access1}}, {{para|url-access2}}, ... {{para|url-access9}}, {{para|url-access-all}}: See {{section link|Help:Citation Style 1#Registration or subscription required}}. == 举例 == The following examples do not reflect actual usage examples and are provided here mostly for quick output format checking. For actual usage examples, please study the templates listed further down under [[See also]]. *Example 1 (article-link and article-name): :<nowiki> {{Catalog lookup link|1|2|3|4|5|6|7|8|9|article-link=Wikipedia|article-name=WP|link-prefix=//en.wikipedia.org/wiki/}} </nowiki> :{{Catalog lookup link|1|2|3|4|5|6|7|8|9|article-link=Wikipedia|article-name=WP|link-prefix=//en.wikipedia.org/wiki/}} *Example 2 (only article-link): :<nowiki> {{Catalog lookup link|1|2|3|4|5|6|7|8|9|article-link=Wikipedia|link-prefix=//en.wikipedia.org/wiki/}} </nowiki> :{{Catalog lookup link|1|2|3|4|5|6|7|8|9|article-link=Wikipedia|link-prefix=//en.wikipedia.org/wiki/}} *Example 3 (only article-name): :<nowiki> {{Catalog lookup link|1|2|3|4|5|6|7|8|9|article-name=WP|link-prefix=//en.wikipedia.org/wiki/}} </nowiki> :{{Catalog lookup link|1|2|3|4|5|6|7|8|9|article-name=WP|link-prefix=//en.wikipedia.org/wiki/}} *Example 4 (neither article-link nor article-name): :<nowiki> {{Catalog lookup link|1|2|3|4|5|6|7|8|9|link-prefix=//en.wikipedia.org/wiki/}} </nowiki> :{{Catalog lookup link|1|2|3|4|5|6|7|8|9|link-prefix=//en.wikipedia.org/wiki/}} *Example 5 (with article-suffix, item-prefix, item-suffix, link-suffix): :<nowiki> {{Catalog lookup link|1|2|3|4|5|6|7|8|9|article-link=Wikipedia|article-name=WP|article-suffix=:|link-prefix=//en.wikipedia.org/wiki/|link-suffix=#hash|item-prefix=<|item-suffix=>}} </nowiki> :{{Catalog lookup link|1|2|3|4|5|6|7|8|9|article-link=Wikipedia|article-name=WP|article-suffix=:|link-prefix=//en.wikipedia.org/wiki/|link-suffix=#hash|item-prefix=<|item-suffix=>}} *Example 6 (without link-prefix, with article-suffix, item-prefix, item-suffix): :<nowiki> {{Catalog lookup link|1|2|3|4|5|6|7|8|9|article-link=Wikipedia|article-name=WP|article-suffix=:|item-prefix=<|item-suffix=>}} </nowiki> :{{Catalog lookup link|1|2|3|4|5|6|7|8|9|article-link=Wikipedia|article-name=WP|article-suffix=:|link-suffix=#hash|item-prefix=<|item-suffix=>}} *Example 7 (list-leadout, list-separator): :<nowiki> {{Catalog lookup link|1|2|3|4|5|6|7|8|9|list-leadout=and|list-separator=&#32;/&#32;|article-link=Wikipedia|article-name=WP|link-prefix=//en.wikipedia.org/wiki/}} </nowiki> :{{Catalog lookup link|1|2|3|4|5|6|7|8|9|list-leadout=and|list-separator= / |article-link=Wikipedia|article-name=WP|link-prefix=//en.wikipedia.org/wiki/}} ==参见== {{div col|colwidth=10em|content= *{{tl|BNF}} *{{tl|CiteSeerX}} *{{tl|COBISS}} *{{tl|CODEN}} *{{tl|CVE}} *{{tl|DNB-IDN}} *{{tl|EAN}} *{{tl|EIN}} *{{tl|ERAM}} *{{tl|ERIC}} *{{tl|GND}} *{{tl|IETF RFC}} *{{tl|ISBN}} *{{tl|ISMN}} *{{tl|ISSN}} *{{tl|JAN}} *{{tl|JFM}} *{{tl|JPNO}} *{{tl|LCCN8}} *{{tl|LIBRIS}} *{{tl|mathnet}} *{{tl|MR}} *{{tl|NAID}} *{{tl|NCID}} *{{tl|NYPL}} *{{tl|OCLC}} *{{tl|PMID}} *{{tl|ProQuest}} *{{tl|SUDOC}} *{{tl|UPC}} *{{tl|VIAF}} *{{tl|Zbl}} *{{tl|Pagelist}} *{{tl|Comma separated entries}} }} <includeonly> [[Category:目录查找模板]] [[Category:列表格式模板]] [[Category:内部链接模板]]<!-- while this template is mainly to link to external databases, it can also be used to link to internal pages like ISBNs. --> </includeonly>
编辑摘要
(请简要描述您所作出的修改
,或选择:
新条目
修饰语句
修正笔误
内容扩充
排版
来源
内部链接
分类
消歧义
维基化
维护清理
)
请注意,所有对Local Chinese Wikipedia的贡献均可能会被其他贡献者编辑、修改或删除。如果您不希望您的文字作品被随意编辑,请不要在此提交。
您同时也向我们承诺,您提交的内容为您自己所创作,或是复制自公共领域或类似自由来源(详情请见
Project:著作权
)。
未经许可,请勿提交受著作权保护的作品!
取消
编辑帮助
(在新窗口中打开)
导航菜单
个人工具
未登录
讨论
贡献
创建账号
登录
命名空间
模板
讨论
大陆简体
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
臺灣正體
查看
阅读
编辑
查看历史
更多
搜索
导航
首页
分类索引
特色内容
新闻动态
随机条目
联络我们
关于维基百科
资助维基百科
贡献
帮助
维基社群
编辑入门
互助客栈
IRC即时聊天
最近更改
特殊页面
工具
链入页面
相关更改
特殊页面
页面信息