跳转到内容
主菜单
主菜单
移至侧栏
隐藏
导航
首页
最近更改
随机页面
MediaWiki帮助
代码酷
搜索
搜索
中文(中国大陆)
外观
创建账号
登录
个人工具
创建账号
登录
未登录编辑者的页面
了解详情
贡献
讨论
编辑“︁
模板:Wikidata/doc
”︁(章节)
模板
讨论
大陆简体
阅读
编辑源代码
查看历史
工具
工具
移至侧栏
隐藏
操作
阅读
编辑源代码
查看历史
常规
链入页面
相关更改
特殊页面
页面信息
外观
移至侧栏
隐藏
您的更改会在有权核准的用户核准后向读者展示。
警告:
您没有登录。如果您进行任何编辑,您的IP地址会公开展示。如果您
登录
或
创建账号
,您的编辑会以您的用户名署名,此外还有其他益处。
反垃圾检查。
不要
加入这个!
== References == When either the <code>reference</code> or the <code>references</code> command is used and a reference is encountered (in Wikidata), the module checks if the reference contains an {{property|P143}}, {{property|P3452}} or {{property|P4656}} property. In the case one of these properties is present, the whole reference is ignored (i.e. it is treated as if it wasn't present). Else, the module attempts to display the reference using the {{Tl|Cite web}} template. The reference has to have a {{property|P854}} property. The below table shows the mapping of Wikidata properties to parameters of Cite web. <!-- The information in the table is from Module:wd/i18n. --> {| class="wikitable" |+ !Wikidata property !Parameter of Cite web !Notes |- |{{property|P2960}} |archive-date | |- |{{property|P1065}} |archive-url | |- |{{property|P50}} | rowspan="2" |author/authorN | rowspan="2" |N can be 1, 2, 3... |- |{{property|P2093}} |- |{{property|P407}} |language |Ignored when the same as the local language. |- |{{property|P304}} |pages | |- |{{property|P577}} |date | |- |{{property|P123}} |publisher | |- |{{property|P1683}} |quote | |- |{{property|P854}} |url | |- |{{property|P813}} |access-date | |- |{{property|P958}} |at | |- |{{property|P248}} |website | |- |{{property|P1810}} |title |Used only when {{property|P1476}} is not present, but a URL (either from {{property|P854}} or from an external identifier, as described below) is, otherwise ignored. |- |{{property|P1476}} |title | |} {{Anchor|Ignored parameters}}The following properties are ignored: {{property|P18}}, {{property|P3865}}. If there is no {{property|P854}} property present in the reference, but a property of the "External identifier" [[d:Help:Data type|data type]] is present both in the reference and in the {{property|1687}} of the item in {{property|P248}}, a URL is generated from its content and is used in the same manner as a URL given in {{property|P854}}. If there is no {{property|P854}} property, or the reference has unknown properties, the module attempts to display it using the {{Tl|Cite Q}} template. The {{property|P248}} property is mandatory. The below table shows the mapping of properties to Cite Q parameters. {| class="wikitable" |+ !Wikidata property !Parameter of Cite Q !Notes |- |{{property|P248}} |1 |Value supplied to the parameter is ''raw'', i.e. it is just the plain QID. |- |{{property|P792}} |chapter | |- |{{property|P3903}} |at | |- |{{property|P304}} |pages | |- |{{property|P577}} |date | |- |{{property|P813}} |access-date | |- |{{property|P958}} |section | |- |{{property|P1476}} |title | |- |any property of the "External identifier" data type |id |The label ("name") of the property is prepended before its content. |} The properties listed ''under'' the first table (in this section) are also ignored when using Cite Q. A reference could be displayed using Cite Q only if the reference has a {{property|P248}} property and has only properties listed in the table above. If neither Cite web nor Cite Q could be used to display a reference, the following an error message with an explanation is returned. To fix this error, check if the reference has the required properties and doesn't have any unknown properties, as described above. The [[d:Help:Sources|Wikidata help page on references]] can also be helpful when sourcing statements.
摘要:
请注意,所有对代码酷的贡献均被视为依照知识共享署名-非商业性使用-相同方式共享发表(详情请见
代码酷:著作权
)。如果您不希望您的文字作品被随意编辑和分发传播,请不要在此提交。
您同时也向我们承诺,您提交的内容为您自己所创作,或是复制自公共领域或类似自由来源。
未经许可,请勿提交受著作权保护的作品!
取消
编辑帮助
(在新窗口中打开)