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

From blackwiki
Jump to navigation Jump to search
imported>Headbomb
imported>Headbomb
(→‎Usage: doc)
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]], for instance
  
 +
{{quote|1=
 +
This is a sentence with a working footnote.{{sfn|Smith|2008}} This is another sentence, this one with a broken footnote.{{sfn|Smith|Hunter|2001}}{{broken footnote}} This is a third sentence, again with a broken footnote.{{sfn|Hunter|2016}}{{broken footnote}}
 +
 +
;Footnotes
 +
{{reflist}}
 +
 +
;Bibliography
 +
*{{cite book |last=Smith |first=John |year=2008 |title=Book of Stuff |publisher=Foobar |ref=harv}}
 +
*{{cite book |last=Smith |first=John |last2=Hunter |first2=Sally |year=2010 |title=Another Book of Stuff |publisher=Foobar}}
 +
}}
 +
 +
The cause of the issue can be varies. Often times, it will be due to
 +
*The ommission of {{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 full citation is completely missing
  
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||

Revision as of 15:30, 21 February 2020

Usage

To be used to flag broken footnotes, 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 ommission of [1] 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