Template talk:Cite video

From Wikipedia, the free encyclopedia

Contents

[edit] Documentation

[edit] Purpose

Template to cite videos, films and documentaries based on APA style guide 5 using this as a reference. pamri 14:36, July 28, 2005 (UTC)

[edit] Usage

See →template page.

[edit] Discussion

[edit] Distributor

Thank you, I'll put the template in Wikipedia:Cite sources. But one question: where did you get the Distributor location and the Distributors name of that documentary? CG 14:30, July 29, 2005 (UTC)

[edit] Optional fields

This template currently requires all fields; could most be made optional? jareha (comments) 19:21, 14 June 2006 (UTC)

[edit] New parameter names

I'm going to migrate all calls to the new parameter names per Trödel's proposal (note that I additionaly did lowercase names for all params). Currently the old param names still work, but I will remove them once all calls have been migrated to the new param names. This shouldn't be such a big deal because this template has not such a high use count. --Ligulem 12:19, 15 June 2006 (UTC)

Done. --Ligulem 18:22, 21 June 2006 (UTC)

[edit] Use for audio too?

This template would be appropriate for audio recordings too. [1] Would adding a Template:cite audio that redirects here be the right thing to do, or is there something like that already hiding somewhere? --iMeowbot~Meow 05:09, 11 July 2006 (UTC)

No response yet, and I think that's a fine idea, so I'll do it. --Slashme 07:12, 7 June 2007 (UTC)

[edit] Television series

I've changed "TV-Series" to "Television series", per the example here. I think it looks more encyclopedic to avoid the colloquialism "TV" anyway. —Josiah Rowe (talkcontribs) 09:13, 25 July 2006 (UTC)

[edit] Citing episodes

It would be great if this template could be modified so that individual episodes of a television series can be cited properly. Template:Cite episode does exist, but appears not to be very close to APA format (see here for an example of what it should be, I think). Either this template or that one should be able to produce something like the example at the link. I don't know anything about template syntax, so I can't do it myself. —Josiah Rowe (talkcontribs) 09:50, 25 July 2006 (UTC)

[edit] extra info for url

If you allow a url parameter, you should also allow an accessdate parameter and a format parameter. --Arctic Gnome 23:58, 29 November 2006 (UTC)

Nevermind, I figured out how to add them. --Arctic Gnome 00:15, 30 November 2006 (UTC)

[edit] DVD special features

I'm citing interviews on a Criterion relase of Story of a Prostitute, and this template is 99% good for that. But if we could add optional fields to somehow reference video/information which is the special features of the disc, that'd be another 5%. ;) Not all special features have names, e.g. on the Crterion dvd of Gate of Flesh, the interviews are called "From the Ruins," but on Story, no name, just "interviews." TIA. Lemme know if you want some testing/help/suggestions on this. David Spalding (  ) 02:12, 2 January 2007 (UTC)

If you do figure out a good format for citing DVD special features, it would be great if it were added to the template documentation as well. Thanks. —Josiah Rowe (talkcontribs) 06:43, 29 March 2007 (UTC)
Rather than add endless varieties of parameters to cover all the interesting, non-sequential stuff that might be add to modern discs, I'd recommend we add a single, generic parameter like "chapter" (already in use by "cite book" and recognizable to DVD viewers) to cover any of these possibilities. ~ Jeff Q (talk) 09:02, 22 May 2008 (UTC)

[edit] User:Shoons/Cite

We have many Template:Cite whatever.It is very confusing for dummy like me. I wonder if we can integrate into one convenient Template:Cite instead of having several templates such as Template:Cite or Template:Cite video. Therefore I created User:Shoons/Cite so that everybody can use this convenient Template:Cite in the future. So please let me know what you think.--Shoons 03:56, 23 April 2007 (UTC)

I think different references have different needs, so this may not be a great idea. / edgarde 21:30, 24 April 2007 (UTC)

[edit] IMDB

Can IMDB be added as its own separate parameter? To be consistent with the template {{imdb}}, it would just take the numeric ID from the URL. / edgarde 21:30, 24 April 2007 (UTC)

I'm not quite sure what the value of this is, when you can simply copy/paste the IMDB page url into the url field. The {{imdb}} template is only useful for standardizing the display of IMDB links. This template itself standardises layout, so there seems to be no point in adding additional fields. -- Huntster T@C 21:35, 24 April 2007 (UTC)
Speaking of that site, the source needs to be changed to IMDb as that is how it is abbreviated (you can see that just be looking at the logo of the site). TJ Spyke 21:33, 29 October 2007 (UTC)

[edit] Quote parameter added

I took the liberty of adding an optional quote parameter to this template, similar to other citation templates ({{cite web}}, {{cite book}}, etc.). I tested it and it seems to work fine with and without the parameter. Please revert and/or correct if it causes any problems that you find. — Bellhalla 15:44, 3 May 2007 (UTC)

Thanks! I use quote parameters, so I'd sure like to see this work. However, I think quotes aren't yet displaying in citations. Is this intentional or am I doing something wrong?
Here's an example where there are quotes in refs #2 & #3:
For test purposes, I enclosed #3 in quotation marks, and left #2 without. / edgarde 17:07, 3 May 2007 (UTC)
Never mind. I was using {{Cite episode}}. Anyway, thanks for doing this. I really like quote parameters. / edgarde 17:10, 3 May 2007 (UTC)

[edit] date display error

i'm not sure how long this has been happening, but the date function is malfunctioning

when using the parameters:  | date=20 January 2006 | 

no date is displayed:

when using the parameters:  | date=20 January | year=2006 |   

date is displayed malformed:

--emerson7 | Talk 19:17, 17 September 2007 (UTC)

Actually, there is no error. This citation is formatted in APA style for television programs, which specifies that the year comes first, followed by the month and day, as the documentation shows. However, I don't see any reason now to strictly adhere to that, so give me a few minutes and I'll work up a fix to link things properly, and I'll reactivate the editprotected tag. -- Huntster T@C 03:10, 18 September 2007 (UTC)

{{editprotected}}

Okay, if an Admin would please update from User:Huntster/Sandbox/2, it should fix the situation. It is rather inelegant, but given what I originally had to work with in the template (way back before my first version), its about all that can be done. As soon as the update is applied, I'll update the documentation, so there is no confusion. To the fixing Admin, may I suggest that this template's title should be changed to "Cite media", since as Emerson has shown, it is quite useful for citing audio as well. -- Huntster T@C 03:38, 18 September 2007 (UTC)
Y Done, thank you. Obviously not the rename though. GDonato (talk) 16:57, 18 September 2007 (UTC)
No rename needed... Aliased today as a redirected template to this one ({{cite media}}). // FrankB 16:46, 2 October 2007 (UTC)

The punctuation is not right, though. In the example above, the full stop (period) after the date would look better inside the parentheses. Better: omit the full stop after the author; if there is a date, enclose it with parentheses preceded by a space; always include the period after the date. In the example above, this will result in: Luke Burbank (2006, 20 January).

Alternatively, keep the periods as they are, and simply drop the parentheses, thus: Luke Burbank. 2006, 20 January. - Fayenatic (talk) 22:26, 20 October 2007 (UTC)

Yes, there should be no period after the author field, but the following date should always be in parentheses. I'll work on that later on when I have some time. -- Huntster T@C 22:54, 20 October 2007 (UTC)

emerson7's original problem was that the template required year= when date= was specified. That was documented at the time, but wasn't verified by the template. There are other co-requisite paramters as well, which also aren't verified. I'd be happy to write the appropriate error-recognition code, doing something like what {{cite web}} and {{cite news}} do. RossPatterson 04:50, 3 December 2007 (UTC)

[edit] Language option

Can someone add a language option? Most or all of the other cite templates have it. (EX: |language = German). Rlevse 18:34, 27 September 2007 (UTC)

[edit] ID option

There should be an option to enter an ID such as a UPC code as opposed to an ASIN which is exclusive to Amazon. ISBN is not typically used in DVD, but UPC is always used. Can someone add this to the template please? MagnoliaSouth (talk) 15:35, 9 October 2007 (UTC)

Can an admin please add the following code (adjust the leading or trailing bracket pairs as necessary):
}}{{
  #if: {{{id|}}} | . {{{id}}}
}}{{
  #if: {{{isbn|}}} | . ISBN {{{isbn}}}
}}{{
  #if: {{{oclc|}}} | . [[OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]
}}{{
(The code is lifted from {{cite book}}.)
These three parameters are great locating aids. The OCLC link is great for those who use libraries, and many DVDs and audio CDs these days do have ISBNs. Thanks in advance. — Bellhalla 14:15, 26 October 2007 (UTC)

{{editprotected}}

Admin, I've created a sandbox with the above code implemented. Please retrieve from this link and apply. Thanks! -- Huntster T@C 15:44, 26 October 2007 (UTC)
Y Done ~ Riana 14:24, 28 October 2007 (UTC)

[edit] Why "date2", etc.?

Why are they "date2", "year2", and so on? This is very unituitive and odd, and other templates in the Cite series do not do this, which means it is unlikely most editors will remember this exception. — SMcCandlish [talk] [cont] ‹(-¿-)› 22:00, 2 December 2007 (UTC)

They were introduced back in September to address the date display error topic above. They format as ([[date2]])., (month2 year2)., and (year2). in order of preference. The no-longer-documented date and year parameters format as (year, date).. It seems to me that the right answer to the problem would have been simply to change the formatting of the existing parameters, and to add month instead of creating alternatives and deprecating the existing ones. RossPatterson 23:03, 2 December 2007 (UTC)
The problem is that every article that uses this template would have to be checked and the "date" and "year" fields converted, because the previous use allowed for a variety of formatting...simply doing away with the old formatting system has the possibility of causing significant display problems, and I simply don't have time to go through said articles. I definitely would not have created "date2", "month2" and "year2" if I thought there was a better option. Also, in my experience most people either copy the code from an existing article or copy the code from the template documentation; if someone were to hand-code from memory, hopefully they would notice the resultant display error (though the impact would likely be minimal even if left unnoticed). If someone wanted to go through, convert articles, and then fully convert the existant code, have at it.
Of note, the reason the original date formatting was chosen was because it is the prescribed format of APA. I certainly regret implementing it that way, but it seemed like the best option at the time. -- Huntster T@C 01:18, 3 December 2007 (UTC)

Remember the dot recently changed the date parameter of {{cite web}} in a way that might help here. The code

{{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|[[{{{date}}}]]|{{{date}}}}}

causes "date=YYYY-MM-DD to be formatted as

[[''YYYY-MM-DD'']]

while leaving any other value intact (e.g., "date=DD Month displays as "DD Month"). A similar change here could do the job nicely. Something like changing

}}<!--DEPRECATED-->{{#if:{{{year|}}}| ({{{year|}}}{{#if:{{{date|}}}|, {{{date|}}}}}).}}<!--DEPRECATED
-->{{
  #if:{{{date2|}}}
  | ([[{{{date2}}}]]).
  |{{#if:{{{year2|}}}
    |{{#if: {{{month2|}}}
      | ({{{month2}}} {{{year2}}}).
      | ({{{year2}}}).
    }}
  }}
}}

to

<!-- 
Date forms in preference order:
                         - if all parameters are omitted
&#32;([[date]]).         - if date=YYYY-MM-DD
&#32;([[date2]]).        - if date2=YYYY-MM-DD
&#32;(date2).            - if date2= is specified
&#32;(year&#32;date).    - if date= and year= are specified
&#32;(year2&#32;date).   - if date= and year2= are specified
&#32;(date).             - if date= is specified
&#32;(month&#32;year).   - if month= and year= are specified
&#32;(month&#32;year2).  - if month= and year2= are specified
&#32;(month2&#32;year).  - if month2= and year= are specified
&#32;(month2&#32;year2). - if month2= and year2= are specified
&#32;(year).             - if year= is specified
&#32;(year2).            - if year2= is specified
-->{{
#if: {{{date|}}}{{{date2|}}}{{{month|}}}{{{month2|}}}{{{year|}}}{{{year2|}}}
     | ({{
      #ifeq: {{#time:Y-m-d | {{{date}}}}} | {{{date}}}
             |[[{{{date}}}]]
             |{{
              #ifeq: {{#time:Y-m-d | {{{date2}}}}} | {{{date2}}}
                     |[[{{{date2}}}]])
                     |{{
                      #if: {{{date2|}}}
                           |{{{date2}}}
                           |{{
                            #if: {{{date|}}}
                                 |{{
                                  #if: {{{year|}}}{{{year2|}}}
                                       |{{
                                        #if: {{{year|}}}
                                             |{{{year}}} 
                                             |{{{year2}}} 
                                        }}{{{date}}}
                                 |{{
                                  #if: {{{year|}}}{{{year2|}}}
                                       |{{
                                        #if: {{{month|}}}{{{month2|}}}
                                             |{{
                                              #if: {{{month|}}}
                                                   |{{{month}}} 
                                                   |{{{month2}}} 
                                              }}
                                        }}{{
                                        #if: {{{year|}}}
                                             |{{{year}}}
                                             |{{{year2}}}
                                        }}
                                  }}
                            }}
                      }}
              }}
      }}).
}}

That's untested, and there's a lot of unnecessary whitespeace and commentary for explanatory purposes, but it's a start. It has the effect of making year= and year2=and date= and date2= synonymous, and introducing month= as a synonym for month2=, all without harming existing citations. That would allow us to remove all the "xxx2=" parameters from the documentation. If the idea has merit, I'd be happy to tweak and test the changes. RossPatterson 04:40, 3 December 2007 (UTC)

That sounds good, and then use a bot or a big AWB session to get rid of the "2" instances already deployed. This is a fantastic case in point against klugeing instead of actually fixing. What a mess. — SMcCandlish [talk] [cont] ‹(-¿-)› 07:18, 3 December 2007 (UTC)

[edit] Incorrect date formatting

Why is this template incorrectly linking solo years (see WP:MOSDATE), example, Radical Dreamers: Nusumenai Hōseki. SandyGeorgia (Talk) 03:56, 9 February 2008 (UTC)

I think you are looking for {{Cite video game}} :) Also, the reason for the non-MOS compliance in that template is due to the date field itself being wikilinked; whatever the value is, it is linked, be it a full date, year, Month Year, or whatever. I suppose we could just remove the wikilinks, but I would rather have the lone year linked than having ISO date formats unlinked. User comprehension is more important than strict MOS compliance in this situation. Huntster (t@c) 21:48, 9 February 2008 (UTC)
ah, sorry I got the wrong one. It is my understanding (perhaps wrong) that cite news and other citation templates handle the auto date linking fine (that is, they link full dates, but not solo years; they autolink full ISO dates only). SandyGeorgia (Talk) 21:52, 9 February 2008 (UTC)

[edit] Template:Cite DVD

I think this article is the best target for this to redirect, but I wanna make 100% sure first, well, is it? TheBlazikenMaster (talk) 12:46, 21 February 2008 (UTC)

I will redirect it on Saturday if there are no objections. TheBlazikenMaster (talk) 22:41, 21 February 2008 (UTC)
Yeah, sounds good to me. Qst (talk) 22:43, 21 February 2008 (UTC)
Y Done TheBlazikenMaster (talk) 23:05, 22 February 2008 (UTC)

[edit] Use a bot to change all year2 values to year

How about someone use a bot to fix the year= values for the articles using this template so that we don't need a year2 value? There are less than 2,500 articles using {{cite video}}, which isn't very many. If we could do that, then we won't need a year2 value and year would be the standard again. The majority of people using this template still use year= rather than year2. Gary King (talk) 18:42, 28 March 2008 (UTC)

While not undoable, what is needed is a bot run that would fully convert to the new system, so the date2, year2, month2 bits could be removed entirely. I simply don't know anything about running bots or working with regex, else it would have been done by now. Huntster (t@c) 19:03, 28 March 2008 (UTC)