Template talk:Citation/core

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Consistent date location & absence of central discussion[edit]

Please see Help talk:Citation Style 1#RFC: Consistent date location where I ask if the location of the date in the most popular citation templates should always be consistent. At present, the date is immediately after the authors if authors are given in the citation, but near the end if not.

This is related to a problem with the Lua conversion. As far as I can tell, each template is being to converted to Lua individually. When this is complete, there will be no central location to discuss the templates as a group, so that when different kinds of sources are cited in the same article, there will be consistent appearance of the citations. So is Help talk:Citation Style 1 the most appropriate place to discuss the templates as a group or is there a better place? Jc3s5h (talk) 11:59, 13 June 2013 (UTC)

Probably Help talk:Citation Style 1, as you say; but the replacement for Template:Citation/core is Module:citation/CS1, so Module talk:citation/CS1 is also in use for discussions affecting all these templates. --Redrose64 (talk) 13:16, 13 June 2013 (UTC)

Parameter listing[edit]

I'm not sure if this is because of the new script, or where the problem was there before, but the documentation shows the parameters with a capital first letter.  This does not work.  I am not sure if it worked before, or not. :- ) Don 22:47, 7 September 2013 (UTC)

{{citation/core}} is not intended for direct use in pages but to be used a subtemplate of other templates, such as {{citation}} and {{cite book}}. To make them distinct, the parameter names of {{citation/core}} intentionally have the first letter capitalised. Those templates which are intended to be used in articles (there are more than 20 of these, including {{citation}} and the Citation Style 1 templates such as {{cite book}}) use parameter names which are consistently lowercase. --Redrose64 (talk) 23:25, 7 September 2013 (UTC)


Support for COinS was removed in 2012 due to performance issues. The majority of CS1 templates have been migrated to Lua, but a few of the lesser used CS1 templates still use core, as well as a number of specific-source templates. Given that the use per page is going to be fairly low, I think we can restore COinS support. --  Gadget850 talk 13:43, 10 March 2014 (UTC)

  • Support re-adding COinS: I agree it would be better to restore the COinS metadata, removed to reduce wp:post-expand include size by ~20% (in pages which had used hundreds of CS1 cites). Some Bots need the COinS data to validate the cites & weblinks. -Wikid77 14:40, 10 March 2014 (UTC)
  • Agree as a Zotero user. Shyamal (talk) 08:58, 12 March 2014 (UTC)
  • Support AIUI, removal was only every supposed to be temporary. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 14:16, 12 March 2014 (UTC)

Yes check.svg Done -- Gadget850 talk 07:29, 28 March 2015 (UTC)

Template:Citation: CS1 or CS2?[edit]

Template:Citation/core includes this:

These templates have been converted to use Module:Citation/CS1 so no longer use {{citation/core}}

This implies that Template:Citation is CS1. I thought Template:Citation is CS2. Clarification, please. —Anomalocaris (talk) 07:40, 21 January 2015 (UTC)

It implies no such thing. It implies that {{citation}} uses the same underlying software module as the CS1 citations. The module's name happens to have "CS1" in it. That's not the same thing as being part of the same style. —David Eppstein (talk) 07:42, 21 January 2015 (UTC)

Protected edit request on 27 March 2015[edit]

Broken link in reference

  • |Citation class= adds the specified HTML class to the span that encloses the citation. The name must be one word (separate words are separate classes) and must meet the name rules.

ref "HTML class Attribute". w3schools.com.  /ref

should be,

"HTML class Attribute". w3schools.com.  ,i.e. http://www.w3schools.com/tags/att_global_class.asp

Sechinsic (talk) 21:36, 27 March 2015 (UTC) Sechinsic (talk) 21:36, 27 March 2015 (UTC)

You are correct on how classes work. The template applies two classes: citation which has CSS for highlighting and a specific class for each template. Where is the problem? -- Gadget850 talk 21:48, 27 March 2015 (UTC)
I think that Sechinsic (talk · contribs) means that of the two w3schools links that they posted above, the first one throws a HTTP 404 error. --Redrose64 (talk) 22:16, 27 March 2015 (UTC)
Aha! The link in the unprotected documentation is bad. -- Gadget850 talk 22:18, 27 March 2015 (UTC)
Fixed -- Gadget850 talk 22:20, 27 March 2015 (UTC)
Thanks. Editing past my bedtime.Sechinsic (talk) 22:26, 27 March 2015 (UTC)