Template:Citation Style documentation/ref2

From English Wikipedia @ Freddythechick

This is the current revision of this page, as edited by imported>Jonesey95 at 18:52, 29 November 2021 (historical (no current transclusions)). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • 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. See Template:Citation/doc § Anchors for Harvard referencing templates.