Difference between revisions of "Template:Citation Style documentation/ref"
Jump to navigation
Jump to search
en>JohnFromPinckney (|ref=harv: this deprecated setting should not be used) |
Rootfather (talk | contribs) m (1 revision imported) |
Latest revision as of 13:56, 3 April 2022
- {{#invoke:cs1 documentation support|canonical_name_get|Ref|id=csdoc_ref}}: the citation's HTML anchor identifier, when different from its default. When set,
|ref=Template:Var
generates an anchor with the givenTemplate:Var
(theid=
attribute in the citation's Template:Tag HTML tag). Setting|ref=Template:Var
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: {{#invoke:cs1 documentation support|alias_names_get|Ref}}. <templatestyles src="Crossreference/styles.css" />Template:Hatnote inline