模板:Citation Style documentation/ref

来自决策链云智库
< 模板:Citation Style documentation
Zeroclanzhang讨论 | 贡献2024年1月17日 (三) 00:54的版本 (创建页面,内容为“* {{#invoke:cs1 documentation support|canonical_name_get|Ref|id=csdoc_ref}}: the citation's HTML anchor identifier, when different from its default. When set, {{para|ref|{{var|ID}}}} generates an anchor with the given <code>{{var|ID}}</code> (the <code>id=</code> attribute in the citation's {{tag|cite|params=id="{{var|ID}}"|o}} HTML tag). Setting {{para|ref|{{var|ID}}}} identifies the template as a target and allows Wikipedia:Citing sources/Further considerat…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
  • ref: the citation's HTML anchor identifier, when different from its default. When set, |ref=ID generates an anchor with the given ID (the id= attribute in the citation's cite id="ID">> HTML tag). Setting |ref=ID identifies the template as a target and allows wikilinking to full references, especially useful with short-form citations like shortened notes and parenthetical referencing. The default anchor ID is suitable for use with {{sfn}} and {{harv}} templates. Since April 2020, the parameter / keyword pair |ref=harv has no special meaning; this deprecated setting should not be used and may be removed from existing cs1|2 templates. To inhibit anchor ID creation, set |ref=none. Aliases: none.