Template:Citation Style documentation/ref: Difference between revisions
Appearance
m Fix broken section link |
Deleatur yhe (talk | contribs) m 1 revision imported |
(No difference)
| |
Latest revision as of 02:44, 3 September 2026
- ref: the citation's HTML anchor identifier, when different from its default. When set, <syntaxhighlight lang="wikitext" inline style="display: none;" />
|ref=IDgenerates an anchor with the givenID(theid=attribute in the citation's<cite id="ID">HTML tag). Setting <syntaxhighlight lang="wikitext" inline style="display: none;" />|ref=IDidentifies 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 <syntaxhighlight lang="wikitext" inline style="display: none;" />|ref=harvhas 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 <syntaxhighlight lang="wikitext" inline style="display: none;" />|ref=none. Aliases: none.