Difference between revisions of "Template:Broken footnote/doc"
Jump to navigation
Jump to search
imported>Headbomb (fix) |
imported>Headbomb (fixed) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- 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: | + | 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= | ||
| Line 11: | Line 12: | ||
;Bibliography | ;Bibliography | ||
| − | *{{cite book |last=Smith |first=John |year=2008 |title=Book of Stuff |publisher=Foobar | + | *{{cite book |last=Smith |first=John |year=2008 |title=Book of Stuff |publisher=Foobar }} |
*{{cite book |last=Smith |first=John |last2=Hunter |first2=Sally |year=2010 |title=Another Book of Stuff |publisher=Foobar}} | *{{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 cause of the issue can be varies. Often times, it will be due to | ||
| − | |||
*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 exact syntax varies with the templates used, so some investigation might be required. | *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 exact syntax varies with the templates used, so some investigation might be required. | ||
*The full citation is completely missing | *The full citation is completely missing | ||
Latest revision as of 20:34, 24 April 2020
| This is a documentation subpage for Template:Broken footnote. It contains usage information, categories and other content that is not part of the original template page. |
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.
- 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 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.