Jump to content

User:Id4abel/citationformatting

From Wikipedia, the free encyclopedia

Why use sfn for citations instead ref tags?

[edit]

While ref tags are more familiar, shortened footnotes offer more flexibility so that editor with conflicting objectives can get a solution that satisfies both editors. Ref tag use lead to complaints about how the ref tags force page numbers to be rolled into one giant, repeated citation and people could not figure out which page goes with which use of the reference. The only way to solve that using ref tags would be to repeat each and every reference over and over with different page numbers. This would completely defeat the purpose of named citations, which would likely lead to multiple edit wars with both sides having valid complaints.

Shortened footnotes let you have a reference that can be cited many times, yet have different page numbers for different citations all while using the same reference over and over again. More efficient and easy to understand for the reader.

This at first seems like more work for the editor, but since sfn automatically links to the reference, sfn is less work than trying to keep track of where the full ref tag is and where all the repeated ref tags are. Rather than having references all over the place, the references are collected at the end. References all in the References section in order by author then by date are many times easier to find and work with. Inside the article text all you need is {{sfn | LastNameOfAuthor | Year }}, then let the automatic linking do the work.

Shortened footnotes also accommodate multiple citations rendered as one footnote number. There were complaints that several citations next to each other increases reading difficulty, which is true. Easy enough, delete several perfectly valid citations. Aside from the obvious argument that deleting perfectly valid citations is the opposite of what Wikipedia is supposed to be about, another worry is that maybe one day one or two citations could today be reliable, yet later turn out to be unreliable sources. Stephen Glass comes to mind. With many citations for each claim, no problem, just delete the ones now found to be unreliable and the claim remains because it still has other reliable sources already in place. The people who want only a single footnote for readability get that, and the people who want multiple citations to ensure reliability get what they want at the same time. Everyone wins.

Shortened footnotes instead of ref tags

[edit]

Shortened footnotes look more like computer code than ref tags, but they are really just a name and a date: {{sfn | LastNameOfAuthor | Year }}, {{sfn | LastNameOfAuthor | Year| p=000}} if the source has a specific page number for this claim, or {{sfn | LastNameOfAuthor | Year| pp=000, 000, 000 }} if the citation refers to more than one page of the source. The reference at the end is the same as what gets used for ref tags, with the addition of ref=harv added in. That is because these things were originally called Harvard style. The reference looks like: {{Cite ... | last = ... | year = ... |ref=harv}}. The server will automatically match up the last and year of the reference with the last and year of the citations.

Example:
{{sfn | Dochuk | 2010 | p =116}}
Template:
{{sfn | LastNameOfAuthor | Year }}
{{sfn | LastNameOfAuthor | Year | p=000}}
{{sfn | LastNameOfAuthor | Year | pp=000, 000, 000 }}

More than one work in the same year

[edit]

Easy enough for books, but journalists are going to have more than one source with their name on it in a year. This is why the reference section is sorted by author then by date. The first reference of the author gets an "a," the second a "b," and so on like {{sfn | Huebert | 2002a }} and {{sfn | Huebert | 2002b }}. To be extra fancy, you can add "authormask = —— " to the second reference, but that is not required.

Example:
{{sfn | Huebert | 2002a }}
{{sfn | Huebert | 2002b }}
* {{Cite news | last = Huebert | first = J. H. | title = A Great Institution in Freefall | date = July 9, 2002 | year= 2002a | url=http://jhhuebert.com/articles/a-great-institution-in-freefall/#part-1|ref=harv}}
* {{Cite news | last = Huebert | authormask = —— | first = J. H.| title = A Great Institution in Freefall Seeks Quantity, Not Quality | date = July 22, 2002 | year= 2002b |url=http://jhhuebert.com/articles/a-great-institution-in-freefall/#part-2|ref=harv}}
Template:
{{sfn | AUTHOR | YEARa }}
{{sfn | AUTHOR | YEARb }}
* {{Cite news | last = LASTNAME | first = FIRSTNAME | title = TITLE | date = MONTH DAY, YEAR | year= YEARa | url=http://SOMETHING.EXT/SOMETHINGELSE | ref=harv }}
* {{Cite news | last = LASTNAME | first = FIRSTNAME | title = TITLE | date = MONTH DAY, YEAR | year= YEARb | url=http://SOMETHING.EXT/SOMETHINGELSE | ref=harv }}

Explanatory footnote or nested citations

[edit]

Maybe you want to explain something in a footnote or need a citation within a citation. No problem, use a nested reference.

Example:
{{refn|name=Read with Los Angeles Chamber of Commerce | Read was the [[Los Angeles Chamber of Commerce]] executive director{{sfn | Rothbard | 2006 | p=451}} from 1938{{sfn | Dochuk | 2010 | p =116}} to 1945.{{sfn | Heller | 2009 | p=197}} }}
Template:
{{refn|name=NAME with ORGANIZATION | NAME was the [[ORGANIZATION]] POSITION{{sfn | AUTHOR | YEAR | p=000}} from YEAR{{sfn | AUTHOR | YEAR | p=000}} to YEAR.{{sfn | AUTHOR | YEAR | p=000}} }}

Multiple citations rendered as one footnote number

[edit]

To prevent the deleting of several perfectly valid citations you will want multiple citation collected into one footnote so the text is easy to read. If you prefer, and this is far less complicated, just use the explanatory footnote (nested citations) technique. refn then a series of sfn. Problem solved.

Another option is to use sfnm to get multiple sources in a single footnote. Not so bad for two authors, {{sfnm | 1a1=Hollenbeck | 1y=2013 | 2a1=Horwitz | 2y=2013 }}. Once I figured out that 1a1 means first citation – author – first author, 1y means first citation – year, 2a1 means second citation – author – first author of the second citation, and 2y means second citation – year this went a lot faster. Why 1a1 instead of just 1a? Many references have multiple authors and coauthor= in the reference code will not work. Instead, the reference has last1=, last2=, last3=, … this allows for the more complex:

{{sfnm | 1a1=Phillips-Fein | 1y=2009 | 1p=86 | 2a1=Mirowski | 2a2=Plehwe | 2y=2009 | 2pp=15, 19, 21, 53, 156, 190, 196, 243, 281, 284, 293, 387, 397, 410 | 3a1=Plehwe | 3y=2006 | 3p=31 }}

The first citation has one author and a page number, the second has two authors and many page numbers, the third has one author and one page number. Granted, this is starting to look like computer code so feel free to use refn sfn, sfn, sfn as it will produce the same results but will be a lot less complex.

Better?

[edit]

Shortened footnotes solve several problems and the vast majority of citations are going to look like either {{sfn | Dochuk | 2010}} or {{sfn | Dochuk | 2010 | p =116 }}. Abel (talk) 16:33, 2 February 2013 (UTC)