Open main menu

Wikimedia Commons β

Template talk:Cite journal

Pairing major parameters with WP versionEdit

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)

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)
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)
Yes a separate one should be created.--KAVEBEAR (talk) 15:45, 24 July 2014 (UTC)

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

ParametersEdit

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)

{{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)
As of May 2017, parameters first1 last1 etc are still not implemented on Commons. --Snek01 (talk) 18:43, 1 May 2017 (UTC)
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)

ErrorEdit

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

It is because the journal parameter is not actually stated. Ruslik (talk) 20:52, 3 May 2017 (UTC)
Return to "Cite journal" page.