编辑“︁
Template:Sfn/doc
”︁(章节)
跳转到导航
跳转到搜索
警告:
您没有登录。如果您进行任何编辑,您的IP地址会公开展示。如果您
登录
或
创建账号
,您的编辑会以您的用户名署名,此外还有其他益处。
反垃圾检查。
不要
加入这个!
==Anchor IDs== This template generates an HTML IDd as an anchor to link the short citation to the full citation.. The {{para|ref|harv}} field is necessary in each of the <syntaxhighlight lang="wikitext " inline>{{cite ...}}</syntaxhighlight> templates to enable the id. The {{tl|citation}} template always generates an id. If the article cites multiple works by the same author in the same year, then duplicate IDs will be generated. One method to resolve this is to add an alpha suffix to the year. Example: 2009a, 2009b, 2009c. If works are cited where the author or year is unknown— such as for a web page —then an invalid ID will be generated. To resolve this, create a custom ID: : <syntaxhighlight lang="wikitext " inline>{{sfn|cite name|year}}</syntaxhighlight> : <syntaxhighlight lang="wikitext " inline>{{cite ... |ref=CITEREFcite_nameyear }}</syntaxhighlight> Where ''cite_name'' is a name such as the publisher, and must follow these rules: * Must begin with a letter A-Z or a-z * Can be followed by: letters (A-Za-z), digits (0-9), hyphens ("-"), underscores ("_"), colons (":"), and periods (".") * Spaces in the {{para|ref}} field must be replaced with underscores * Case-sensitive ===SfnRef=== {{main|Template:SfnRef}} 使用{{tl|SfnRef}}生成{{tl|cite}}系列模板中{{para|ref}}所需要的参数。保证{{tl|sfn}}和{{tl|SfnRef}}中使用同样的值(主要是作者和年份,SfnRef中书籍页数通常不填): <!-- You may use the {{tl|SfnRef}} template to generate the proper value for the {{para|ref}} parameter. Pass the same parameters used with {{tl|sfn}} to {{tl|SfnRef}}: --> : <syntaxhighlight lang="wikitext " inline>{{sfn|cite name|year}}</syntaxhighlight> : <syntaxhighlight lang="wikitext " inline>{{cite ... |ref={{SfnRef|cite name|year}} }}</syntaxhighlight> Articles using {{tlx|sfn}} should be checked for duplicate IDs with the [http://validator.w3.org/ W3C Markup Validation Service].
摘要:
请注意,所有对Local Chinese Wikipedia的贡献均可能会被其他贡献者编辑、修改或删除。如果您不希望您的文字作品被随意编辑,请不要在此提交。
您同时也向我们承诺,您提交的内容为您自己所创作,或是复制自公共领域或类似自由来源(详情请见
Project:著作权
)。
未经许可,请勿提交受著作权保护的作品!
取消
编辑帮助
(在新窗口中打开)
导航菜单
个人工具
未登录
讨论
贡献
创建账号
登录
命名空间
模板
讨论
大陆简体
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
臺灣正體
查看
阅读
编辑
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
工具
链入页面
相关更改
特殊页面
页面信息