Template:Citation Style documentation/ref: Difference between revisions

From WikiPasokh
(allow better anchor link in Template:Citation/doc)
(No difference)

Revision as of 20:16, 29 December 2022

  • Lua error in Module:Citation/CS1/Configuration at line 2083: attempt to index field '?' (a nil value).: 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: Lua error in Module:Citation/CS1/Configuration at line 2083: attempt to index field '?' (a nil value).. See Template:Citation/doc § Anchors for Harvard referencing templates.