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

From blackwiki
Jump to navigation Jump to search
imported>Headbomb
(ce)
imported>Headbomb
(ce)
Line 16: Line 16:
  
 
The cause of the issue can be varies. Often times, it will be due to
 
The cause of the issue can be varies. Often times, it will be due to
*The ommission of {{para|ref|harv}} in a {{cite xxx}} template (those are automatic in the case of a {{tl|citation}})
+
*The omission of {{para|ref|harv}} in a {{cite xxx}} template (those are automatic in the case of a {{tl|citation}})
 
*The authors or year are missing/mismatched, or the footnote template is wrongly used (for example, <code><nowiki>{{sfn|Smith & Hunter (2010)|p=12}}</nowiki></code> should (in most cases) be <code><nowiki>{{sfn|Smith|Hunter|2010|p=12}}</nowiki></code>
 
*The authors or year are missing/mismatched, or the footnote template is wrongly used (for example, <code><nowiki>{{sfn|Smith & Hunter (2010)|p=12}}</nowiki></code> should (in most cases) be <code><nowiki>{{sfn|Smith|Hunter|2010|p=12}}</nowiki></code>
 
*The full citation is completely missing
 
*The full citation is completely missing

Revision as of 15:39, 21 February 2020

Usage

To be used to flag broken footnotes with {{sfn|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 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.