Template:Citation Style documentation/ref: Difference between revisions

From Stop Synthetic Filth! wiki
Jump to navigation Jump to search
(+anchor;)
 
m (1 revision imported: Importing CS-1 templates and Template:Citation with the "include templates ticked")
 
(No difference)

Latest revision as of 19:43, 6 December 2020

  • 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; |ref=harv may be removed from existing cs1|2 templates. To inhibit anchor ID creation, set |ref=none. Aliases: none. See Template:Citation/doc § Anchors for Harvard referencing templates.