Difference between revisions of "Template:Broken footnote/doc"

From blackwiki
Jump to navigation Jump to search
imported>Headbomb
(→‎Usage: The exact syntax varies with the templates used, so some investigation might be required.)
imported>Headbomb
(fix)
Line 2: Line 2:
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
== Usage ==
 
== Usage ==
To be used to flag [[Template:Harvard_citation_documentation#Wikilink_to_citation_does_not_work|broken footnotes]] with <code><nowiki>{{sfn|broken footnote}}</nowiki></code>. For instance
+
To be used to flag [[Template:Harvard_citation_documentation#Wikilink_to_citation_does_not_work|broken footnotes]] with <code><nowiki>{{broken footnote}}</nowiki></code>. For instance
  
 
{{quote|1=
 
{{quote|1=

Revision as of 15:41, 21 February 2020

Usage

To be used to flag broken footnotes with {{broken footnote}}. For instance

This is a sentence with a working footnote.[1] This is another sentence, this one with a broken footnote.[2][broken footnote] This is a third sentence, again with a broken footnote.[3][broken footnote]

Footnotes
Bibliography
  • Smith, John (2008). Book of Stuff. Foobar.CS1 maint: ref=harv (link)
  • Smith, John; Hunter, Sally (2010). Another Book of Stuff. Foobar.

The cause of the issue can be varies. Often times, it will be due to

  • The omission of |ref=harv in a {{cite xxx}} template (those are automatic in the case of a {{citation}})
  • The authors or year are missing/mismatched, or the footnote template is wrongly used. For example, {{sfn|Smith & Hunter (2010)|p=12}} should (in most cases) be {{sfn|Smith|Hunter|2010|p=12}}. The exact syntax varies with the templates used, so some investigation might be required.
  • The full citation is completely missing

See also

  • User:Ucucha/HarvErrors.js – a user script which detects several classes of Harvard citation errors. It will, however, throw additional warnings, which are not errors.