User:Peaceray/sandbox/Use shortened footnote templates for book references

Using shortened footnote templates for book references

Why use shortened footnote templates?

 * Shortened footnotes or short citations are beneficial when individual sets of footnotes reference different pages from the same source.
 * The full citations are then placed in alphabetic or alphanumeric order, rather than in order of citation use. This facilitates locating the citation when viewing the section by itself.
 * They link short citations to full citations.
 * They are useful when cleaning up parenthetical references, which have been deprecated.
 * They can be used to rectify the confusion of using Ibid. (See ibīdem.)

The two most common shortened footnote templates

 * sfn
 * Syntax:  or
 * Generates opening and closing ref tags and requires a full citation template.
 * Help page at Help:Shortened footnotes (H:SFN or WP:SRF)
 * harvnb (Template:Harvard citation no brackets)
 * Syntax:  or
 * This must be placed within opening and closing ref tags and requires a full citation template.
 * Last/author name(s) and date are mandatory unless the citation omits a date/year, in which case the last/author name is mandatory. The page # and location are optional and usually exclusive of each other.

Examples

 * Elizabeth Siddal, a mix of predominantly regular footnotes with shortened footnotes used for books
 * Pictorialism, a mix of predominantly shortened footnotes used for books with regular footnotes
 * Icarians, which exclusively uses shortened footnotes
 * Kahlil Gibran, which exclusively uses shortened footnotes
 * Kīwalaʻō, which exclusively uses shortened footnotes

Recommended: install User:Ucucha/HarvErrors.js
This will warn you of any errors such as full citations that are not used by shortened footnotes, or sfns that do not have a full citation to which to link.


 * Documentation: User:Ucucha/HarvErrors
 * JavaScript: User:Ucucha/HarvErrors.js

To install the script, Add: to Special:MyPage/common.js.

Pick an article

 * Category:Wikipedia articles containing unlinked shortened footnotes
 * Or one of your choosing

State your intention on the article talk page
 * For example, see Talk:Pictorialism and Talk:Chandi.

To obtain a full citation and a sfn via Citer

 * Pick a citation in your target article that needs conversion
 * If you have a URL, DOI, ISBN, PMID, PMCID, or OCLC number, go to Citer at https://citer.toolforge.org/. The default choice is . Other choices on the drop-down list are ,  , and.
 * If you only have a title for a book, a journal, or article, go search WorldCat.org to get an OCLC number or an ISBN, then go to Citer at https://citer.toolforge.org/.
 * Citer examples — Note that some need to be manually adjusted
 * URL: Citation for https://www.newyorker.com/magazine/2008/01/07/prophet-motive. See this.
 * Wayback Machine at web.archive.org: Khalil Gibran, archived from collectiondevelopment.library.cornell.edu. See this.
 * ISBN: 9780861402793
 * DOI: 10.31826/9781463240387
 * OCLC: 62023693
 * OCLC, rendering as web page rather than book: 589037866
 * If the citation link goes to a Google books item, then follow the About this link-->Get this book in print-->Find in a library pulldown/links. This will take you to WorldCat to get an OCLC number or an ISBN, then go to Citer.
 * At Citer, pick the appropriate ID type from the drop down list at the upper left, enter the ID value (URL, DOI, ISBN, OCLC number, etc.) that you have. Submit.
 * Copy the Shortened footnote and citation to a text editor.
 * Adjust the citation as needed. For instance, if the URL or DOI is to an article, and the generated citation omits the author(s) or date(year), alter the citation and the sfn template accordingly, including any |ref= values. If the citation has one or more author last names, it will generate a ref value containing the each of the first four author names plus the year of publication.
 * Citer will typically render a single author as format whereas it will render two authors will generate a  format. Please keep this in mind if you are manually altering the generated values.
 * Or hand craft it yourself!

Placing the citation with a sfn or harvnb

 * Ensure that there are the appropriate sections. I prefer  and   . See MOS:NOTES.
 * Either place the full citation first by editing the Sources section (easier), or by placing the full citation and sfns simultaneously by editing the full article code (harder). Always preview! If you have User:Ucucha/HarvErrors.js installed, it will warn you of any errors.
 * Remember to place the shortened footnote(s) either while or after placing the full citation.

End steps
After you have completed the conversion, Consider adding done (✅) and any comments to your comments on the talk page.

If references exclusively use shortened footnotes
Add the Use shortened footnotes template using the  syntax near the top of the article. Notify a template editor or an administrator to (or if you have template editor privileges) add Shortened footnote editnotice using the  syntax. See an example at Template:Editnotices/Page/Kahlil Gibran.