Template talk:Cite journal

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Pairing major parameters with WP version

[edit]

In the WPs, {{cite news}} (which is this template by redirect) uses the parameter newspaper in place of journal. It would be convenient if the parameter newspaper could be the equivalent added this template where it is used. My reasoning is that numbers of sites give a citation template and it is WP format. (I could fiddle and try and work it out, however, best to let someone more familiar with the internal workings of this template to resolve. Thanks.  — billinghurst sDrewth 05:40, 12 September 2013 (UTC)[reply]

In the en.wiki this is a separate template from the cite:newspaper template so they should not be used the same I don't think.--Kevmin § 03:42, 13 November 2013 (UTC)[reply]
Then the redirect should be removed, and an equivalent newspaper to the remainder of the interwiki versions of the template should be available. Expecting xwiki users to dig through our local version is unrealistic and specifically problematic.  — billinghurst sDrewth 14:08, 7 December 2013 (UTC)[reply]
Yes a separate one should be created.--KAVEBEAR (talk) 15:45, 24 July 2014 (UTC)[reply]

In the meantime, I added |magazine= and |newspaper= to the template. — Cheers, JackLee talk 00:34, 29 June 2015 (UTC)[reply]

Parameters

[edit]

Could the |first= |last= parameters be updated to use the |first1= |last1= |first2= |last2= etc... as seen in the cite journal template in the en.wiki?--Kevmin § 03:42, 13 November 2013 (UTC)[reply]

{{Citation}} on commons takes that (up to 5 at the moment) and is itself a wrapper around {{Citation/core}}. I'm going to look at making {{Cite journal}} on commons into similar wrapper. En.wiki now uses Lua (en:Module:Citation/CS1) for the inner workings of citation. I have no idea how commons feels about making a switch to that. DMacks (talk) 15:49, 7 February 2017 (UTC)[reply]
As of May 2017, parameters first1 last1 etc are still not implemented on Commons. --Snek01 (talk) 18:43, 1 May 2017 (UTC)[reply]
At en.wiki Editor Snek01 asked about adding enumerated author-name parameters (|first1=, |last6=, |author3= etc). That discussion caused me to come here to see what it is that commons has for citation templates. Just so you know, here is what I found:
{{citation}} – uses meta template {{citation/core}} as a rendering engine
{{cite book}} – appears to be custom to commons; has some language specialization
{{cite journal}} – derives from a 2006 version of en.wiki's {{cite journal}}
{{cite news}} – a redirect to {{cite journal}}
{{cite thesis}} – according to its history, adapted directly from {{citation/core}}
{{cite web}} – appears to be custom to commons
Module:Citation/CS1 – a relatively recent copy of en.wiki's main cs1|2 template rendering engine (there are seven other modules that are required but not installed here)
It seems to me that your first task, should you choose to do it, is to unify what you have. You might choose to adopt en.wiki's {{citation/core}} and then replace {{citation}}, {{cite book}}, {{cite journal}}, {{cite news}}, {{cite thesis}}, {{cite web}} with the /old version of these templates from en.wiki ({{cite book/old}}, etc). You might choose to go bigger and import the cs1|2 modules; a much bigger job be quite doable (it has been done into several other-language wikis). If you would like help for any of this, give me a shout at en.wiki. Doing either of these things will allow you to enumnerate up to nine authors and up to four editors ({{citation/core}}) or unlimited numbers of authors and editors (the lua modules) which is the request that began this topic.
Trappist the monk (talk) 23:57, 2 May 2017 (UTC)[reply]

I'd like to second this request. Why hasn't it been done yet? Currently, if more than one authors are listed, or even if a single author is listed with "first1=" and "last1=" (as is common with many auto-imported citations) the names don't display. This seems like it should be an easy fix, and would vastly increase cross-Wiki utility and convenience (e.g. citations would on Wikipedia would display more faithfully on Commons). We should not have to learn a new lexicon of templates to enjoy the same functionality. --Animalparty (talk) 19:17, 5 December 2018 (UTC)[reply]

I will repeat that the |last1 |first1...|lastx= |firstx= update should be made. Few journal articles anymore have a single author now, and most of the wikis are already using this.--Kevmin § 17:53, 25 May 2020 (UTC)[reply]
+1 It's so annoying when one copy-pastes a citation from Wikipedia to see that it doesn't work here. At the very least we could Enable ProveIt or Citoid on Commons to help users automatically format citations for Commons based on doi, ISBN or URL. But eventually we should align with the English Wikipedia's format. A455bcd9 (talk) 08:03, 20 December 2022 (UTC)[reply]
Actually, {{Citation}} supports first1 to first5 so it could (should?) be used instead of {{Cite journal}}? A455bcd9 (talk) 08:07, 20 December 2022 (UTC)[reply]

Error

[edit]

There seems to be an error in the template that spits out: Error: journal= not stated. Evrik (talk) 16:47, 11 March 2016 (UTC)[reply]

It is because the journal parameter is not actually stated. Ruslik (talk) 20:52, 3 May 2017 (UTC)[reply]