Open main menu

Difference between revisions of "Template:Citation Style documentation/ref"

< Template:Citation Style documentation
(improved style (sentence was incomplete before))
(No difference)

Revision as of 14:22, 12 February 2018

  • ref: the citation's HTML anchor identifier. 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 special value |ref=harv generates an anchor identifier suitable for use with {{sfn}} and {{harv}} templates. For |mode=cs2 |ref= defaults to |ref=harv. See Lua error in package.lua at line 80: module 'strict' not found..