Template:Citation Style documentation/ref: Difference between revisions
Content added Content deleted
imported>SMcCandlish (crossref & sectionlink templates) |
Krisrs1128 (talk | contribs) m (13 revisions imported from templatewiki:Template:Citation_Style_documentation/ref) |
||
(7 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
* < |
* <b id="csdoc_ref">ref</b>: the citation's HTML anchor identifier. When set, {{para|ref|<var>ID</var>}} generates an anchor with the given <var>ID</var> (the <code>id</code> attribute in the citation's {{tag|cite|params=id="<var>ID</var>"|o}} HTML tag). Setting {{para|ref|<var>ID</var>}} identifies the template as a target and allows [[Wikipedia:Citing sources/Further considerations#Wikilinks to full references|wikilinking to full references]], especially useful with short-form citations like [[Wikipedia:Citing sources#Shortened footnotes|shortened notes]] and [[Wikipedia:Parenthetical referencing|parenthetical referencing]]. The special value {{para|ref|harv}} generates an anchor identifier suitable for use with {{tl|sfn}} and {{tl|harv}} templates. For {{para|mode|cs2}} {{para|ref}} defaults to {{para|ref|harv}}. {{crossref|See {{section link|Template:Citation/doc|Anchors for Harvard referencing templates}}.}} |
Latest revision as of 01:59, 16 September 2020
- ref: the citation's HTML anchor identifier. When set, Template:Para generates an anchor with the given ID (the
id
attribute in the citation's Template:Tag HTML tag). Setting Template:Para 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 Template:Para generates an anchor identifier suitable for use with Template:Tl and Template:Tl templates. For Template:Para Template:Para defaults to Template:Para. Template:Hatnote inline