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

From blackwiki
Jump to navigation Jump to search
imported>Trappist the monk
(better wording perhaps;)
imported>Trappist the monk
(mode=cs1;)
Line 1: Line 1:
* '''ref''': 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]].  Defaults to the special value {{para|ref|harv}} which generates an anchor identifier suitable for use with {{tl|sfn}} and {{tl|harv}} templates. {{crossref|See {{section link|Template:Citation/doc|Anchors for Harvard referencing templates}}.}}
+
* '''ref''': 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]].  Defaults to the special value {{para|ref|harv}} which generates an anchor identifier suitable for use with {{tl|sfn}} and {{tl|harv}} templates. When {{para|mode|cs1}} defaults to {{para|ref}}.  {{crossref|See {{section link|Template:Citation/doc|Anchors for Harvard referencing templates}}.}}

Revision as of 15:53, 11 January 2016

  • 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. Defaults to the special value |ref=harv which generates an anchor identifier suitable for use with {{sfn}} and {{harv}} templates. When |mode=cs1 defaults to |ref=. See Script error: No such module "Section link"..