I recently created a new template {{ harvid}} without knowing about the existence of {{ SfnRef}}, and the similarity of the two templates was pointed out to me. They now differ only in that {{ SfnRef}} invokes anchorencode and harvid does not. It seems to me that the anchorencode call is not needed, as the citation templates all invoke anchorencode on thier ref arguments: can someone suggest an example that shows why the call to anchorencode might be necessary? Assuming it's not needed, I suggest that we merge the two templates, without "anchorencode". I sort of prefer the name "harvid" since it's more in keeping with the other Harvard template names, but it'd be OK for it to be a redirect. Eubulides ( talk) 01:24, 14 December 2009 (UTC)
|ref=
values manually said to do what anchorencode does. If all the templates that accept |ref=
encode their arguments, do you know why the docs say to change spaces to underscores? Perhaps the docs are out of date. If so, then anchorencode can be removed. —
John Cardinal (
talk) 02:18, 14 December 2009 (UTC)When there are too many authors and you want to specify your own SfnRef with "Author et al. 2000a" or suchlike, the italics make the links break. Any workaround for this ? Shyamal ( talk) 16:45, 23 April 2012 (UTC)
{{
sfnref|Adams|Bread|Chuck|Davey|2000a}}
creates the anchor for {{
sfn|Adams|Bread|Chuck|Davey|2000a|p=123}}
. --
Redrose64 (
talk) 17:15, 23 April 2012 (UTC)
Maybe it is inappropriate for this type of referencing but has anyone ever discussed a quote field? My issue with using books as references is that someone can say they say anything and if you don't have access to the book there is nothing you can do about it. A quote field, while still potentially made up, can be searched and investigated further to justify it is backing up what is being sourced. Darkwarriorblake ( talk) 16:53, 12 October 2013 (UTC)
{{
sfnref}}
isn't intended for use in places where its output might be visible - it's used to create anchors for links. If I were to put {{
SfnRef|Rolling Stone|2004}}
(for example) into article text, it would show as CITEREFRolling_Stone2004 which is neither meaningful nor useful. The intended usage is in markup like [[#{{SfnRef|Rolling Stone|2004}}|''Rolling Stone'' (2004)]], p. 123
or {{cite magazine |magazine=Rolling Stone |year=2004 |ref={{SfnRef|Rolling Stone|2004}} }}
--
Redrose64 (
talk) 19:08, 12 October 2013 (UTC)
{{
sfnref}}
. If it's like <ref>[[#{{SfnRef|Rolling Stone|2004}}|''Rolling Stone'' (2004)]], p. 123</ref>
the only way available is to append the quote after the page number, as in
<ref>[[#{{SfnRef|Rolling Stone|2004}}|''Rolling Stone'' (2004)]], p. 123 "Bowie has heart attack, but is still 23rd best singer of all time"</ref>
{{
cite magazine}}
or similar, you can also put the quote after the template, but it's better to use the |quote=
parameter:
{{cite magazine |magazine=Rolling Stone |year=2004 |quote=Bowie has heart attack, but is still 23rd best singer of all time |ref={{SfnRef|Rolling Stone|2004}} }}
I think cite tags are an abomination, so I don't use them. I also thing SFN is all the world's goodness wrapped in a panda, so I use them. Now how do I make the sfn anchor/target without the cite template? See the bottom of this for an example. Note that clicking on one of the SFNs in the body takes you to the correct cite, but clicking on the cite does not take you to the correct bib. Maury Markowitz ( talk) 15:19, 4 January 2015 (UTC)
{{
wikicite}}
. Taking only the first one as an example, presently it is * Edward Churchill, [https://books.google.ca/books?id=yER8QRuw6FAC&pg=PA30 "Aerial Robots"], ''Flying Magazine'', March 1946
* {{wikicite |ref={{sfnref|Churchill|1946}} |reference=Edward Churchill, [https://books.google.ca/books?id=yER8QRuw6FAC&pg=PA30 "Aerial Robots"], ''Flying Magazine'', March 1946 }}
|reference=
parameter holds the existing plain text reference, without change. The |ref=
parameter (which can be placed last instead of first, if you prefer) holds the {{
sfnref}}
--
Redrose64 (
talk) 16:08, 4 January 2015 (UTC)
{{
anchor}}
, as in * {{anchor|{{sfnref|Churchill|1946}}}} Edward Churchill, [https://books.google.ca/books?id=yER8QRuw6FAC&pg=PA30 "Aerial Robots"], ''Flying Magazine'', March 1946
I am currently experienced an issue on John Bapst, where I am trying to enter a month and year in the date parameter because there are several works that have the same year and no author. The template reads this month-year combo as a second author, instead of as a date. Presently, the only way to get the template to display properly is to put a letter at the end of the year, which is less preferable to using the actual month of publication. Can someone knowledgable about the workings of this template implement this relatively minor change? Ergo Sum 02:32, 26 May 2023 (UTC)
This template and {{
sfn}} will allow an editor to create short references like {{sfnref|478 F.3d}}
. Is this a feature for weird situations, like case citation, where {{sfnref|Last|YYYY}}
makes less sense? Or is this a bug/hack that should be avoided? Thanks,
Rjjiii (
talk) 03:48, 28 December 2023 (UTC)
I'll try to start on this either later this week or sometime next week. Feedback is welcome, Rjjiii ( talk) 06:26, 3 April 2024 (UTC)
Posting example table for feedback:
Missing elements? | sfnref anchor markup | short citation markup | short citation |
---|---|---|---|
Author and date are present |
|
|
|
Author is publisher |
|
|
|
Author is anonymous |
|
|
|
Author is missing |
|
|
|
Authors with the same name |
|
|
|
Date is missing |
|
|
|
Date and author are missing |
|
|
Example bibliography
Rjjiii ( talk) 05:36, 4 April 2024 (UTC)
{{Cite news |ref={{SfnRef|Rolling Stone|2004}} |work=[[Rolling Stone]] |date=December 2004 |title=The RS 500 Greatest Songs of All Time}}
I recently created a new template {{ harvid}} without knowing about the existence of {{ SfnRef}}, and the similarity of the two templates was pointed out to me. They now differ only in that {{ SfnRef}} invokes anchorencode and harvid does not. It seems to me that the anchorencode call is not needed, as the citation templates all invoke anchorencode on thier ref arguments: can someone suggest an example that shows why the call to anchorencode might be necessary? Assuming it's not needed, I suggest that we merge the two templates, without "anchorencode". I sort of prefer the name "harvid" since it's more in keeping with the other Harvard template names, but it'd be OK for it to be a redirect. Eubulides ( talk) 01:24, 14 December 2009 (UTC)
|ref=
values manually said to do what anchorencode does. If all the templates that accept |ref=
encode their arguments, do you know why the docs say to change spaces to underscores? Perhaps the docs are out of date. If so, then anchorencode can be removed. —
John Cardinal (
talk) 02:18, 14 December 2009 (UTC)When there are too many authors and you want to specify your own SfnRef with "Author et al. 2000a" or suchlike, the italics make the links break. Any workaround for this ? Shyamal ( talk) 16:45, 23 April 2012 (UTC)
{{
sfnref|Adams|Bread|Chuck|Davey|2000a}}
creates the anchor for {{
sfn|Adams|Bread|Chuck|Davey|2000a|p=123}}
. --
Redrose64 (
talk) 17:15, 23 April 2012 (UTC)
Maybe it is inappropriate for this type of referencing but has anyone ever discussed a quote field? My issue with using books as references is that someone can say they say anything and if you don't have access to the book there is nothing you can do about it. A quote field, while still potentially made up, can be searched and investigated further to justify it is backing up what is being sourced. Darkwarriorblake ( talk) 16:53, 12 October 2013 (UTC)
{{
sfnref}}
isn't intended for use in places where its output might be visible - it's used to create anchors for links. If I were to put {{
SfnRef|Rolling Stone|2004}}
(for example) into article text, it would show as CITEREFRolling_Stone2004 which is neither meaningful nor useful. The intended usage is in markup like [[#{{SfnRef|Rolling Stone|2004}}|''Rolling Stone'' (2004)]], p. 123
or {{cite magazine |magazine=Rolling Stone |year=2004 |ref={{SfnRef|Rolling Stone|2004}} }}
--
Redrose64 (
talk) 19:08, 12 October 2013 (UTC)
{{
sfnref}}
. If it's like <ref>[[#{{SfnRef|Rolling Stone|2004}}|''Rolling Stone'' (2004)]], p. 123</ref>
the only way available is to append the quote after the page number, as in
<ref>[[#{{SfnRef|Rolling Stone|2004}}|''Rolling Stone'' (2004)]], p. 123 "Bowie has heart attack, but is still 23rd best singer of all time"</ref>
{{
cite magazine}}
or similar, you can also put the quote after the template, but it's better to use the |quote=
parameter:
{{cite magazine |magazine=Rolling Stone |year=2004 |quote=Bowie has heart attack, but is still 23rd best singer of all time |ref={{SfnRef|Rolling Stone|2004}} }}
I think cite tags are an abomination, so I don't use them. I also thing SFN is all the world's goodness wrapped in a panda, so I use them. Now how do I make the sfn anchor/target without the cite template? See the bottom of this for an example. Note that clicking on one of the SFNs in the body takes you to the correct cite, but clicking on the cite does not take you to the correct bib. Maury Markowitz ( talk) 15:19, 4 January 2015 (UTC)
{{
wikicite}}
. Taking only the first one as an example, presently it is * Edward Churchill, [https://books.google.ca/books?id=yER8QRuw6FAC&pg=PA30 "Aerial Robots"], ''Flying Magazine'', March 1946
* {{wikicite |ref={{sfnref|Churchill|1946}} |reference=Edward Churchill, [https://books.google.ca/books?id=yER8QRuw6FAC&pg=PA30 "Aerial Robots"], ''Flying Magazine'', March 1946 }}
|reference=
parameter holds the existing plain text reference, without change. The |ref=
parameter (which can be placed last instead of first, if you prefer) holds the {{
sfnref}}
--
Redrose64 (
talk) 16:08, 4 January 2015 (UTC)
{{
anchor}}
, as in * {{anchor|{{sfnref|Churchill|1946}}}} Edward Churchill, [https://books.google.ca/books?id=yER8QRuw6FAC&pg=PA30 "Aerial Robots"], ''Flying Magazine'', March 1946
I am currently experienced an issue on John Bapst, where I am trying to enter a month and year in the date parameter because there are several works that have the same year and no author. The template reads this month-year combo as a second author, instead of as a date. Presently, the only way to get the template to display properly is to put a letter at the end of the year, which is less preferable to using the actual month of publication. Can someone knowledgable about the workings of this template implement this relatively minor change? Ergo Sum 02:32, 26 May 2023 (UTC)
This template and {{
sfn}} will allow an editor to create short references like {{sfnref|478 F.3d}}
. Is this a feature for weird situations, like case citation, where {{sfnref|Last|YYYY}}
makes less sense? Or is this a bug/hack that should be avoided? Thanks,
Rjjiii (
talk) 03:48, 28 December 2023 (UTC)
I'll try to start on this either later this week or sometime next week. Feedback is welcome, Rjjiii ( talk) 06:26, 3 April 2024 (UTC)
Posting example table for feedback:
Missing elements? | sfnref anchor markup | short citation markup | short citation |
---|---|---|---|
Author and date are present |
|
|
|
Author is publisher |
|
|
|
Author is anonymous |
|
|
|
Author is missing |
|
|
|
Authors with the same name |
|
|
|
Date is missing |
|
|
|
Date and author are missing |
|
|
Example bibliography
Rjjiii ( talk) 05:36, 4 April 2024 (UTC)
{{Cite news |ref={{SfnRef|Rolling Stone|2004}} |work=[[Rolling Stone]] |date=December 2004 |title=The RS 500 Greatest Songs of All Time}}