Template:Citation Style documentation/ref
From Timelines
< Template:Citation Style documentation
Revision as of 17:42, 16 July 2016 by PrimeHunter (talk) (change <span ... /> to <span ...></span>, the former adds pages to Category:Pages using invalid self-closed HTML tags)
- ref: the citation's HTML anchor identifier. When set,
|ref=ID
generates an anchor with the given ID (theid
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 special value|ref=harv
generates an anchor identifier suitable for use with {{sfn}} and {{harv}} templates. When|mode=cs2
defaults to|ref=harv
. See Template:Citation/doc § Anchors for Harvard referencing templates.