Template talk:Cite: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
 
Line 59: Line 59:
== Quotation mark anomaly ==
== Quotation mark anomaly ==


It's great that the template adapts around punctuation entered in the <code>quote=</code> paramter to accommodate the orthography of various languages. However, I noticed the template doesn't locate Danish quotation marks. These are, {{wp|Quotation mark#Summary table|according to Wikipedia}}, essentially reverse guillemets (»...«). {{User:Koopa con Carne/Sig}} 17:50, December 20, 2024 (EST)
It's great that the template adapts around punctuation entered in the <code>quote=</code> paramter to accommodate the orthography of various languages. However, I noticed the template doesn't locate Danish quotation marks. These are, according to [https://ro.dsn.dk/?type=rulesearch&side=58&paragraf=1 this site] <small>(ro.dsn.dk)</small> {{wp|Quotation mark#Summary table|cited by Wikipedia}}, essentially reverse guillemets (»...«). {{User:Koopa con Carne/Sig}} 17:50, December 20, 2024 (EST)

Latest revision as of 17:52, December 20, 2024

Language and format[edit]

Can there be an option to show the language of the source? I forgot to mention in the proposal that it could be added as another parameter. Or a format parameter for digital publications so that, let's say for web manuals, a (PDF) is displayed next to the title to show the reader the format of the publication? Super Mario RPG (talk) 12:27, February 7, 2024 (EST)

Added both. --Steve (talk) Get Firefox 18:52, February 7, 2024 (EST)

Dead links[edit]

If the original link in a source is dead, I find it more accessible to format the citation like this. Basically, the original link is replaced with the archived one, so that the sole working link becomes more readily available. The original link is then moved to the archive's summary through an added "from the original" field; I don't really know if there is a formal, established reason for doing so, but I think it's a helpful feature to have in the (unlikely, but possible) event one reads a wiki article through, say, the Wayback Machine, as clicking the original link from there will lead the user to an archive of it directly. (The archive link itself can't be used with Wayback Machine, since it obviously does not archive its own archives.)
Could a deadlink parameter be added to the code so that, when given a value, the template is reorganized as I explained above? -- KOOPA CON CARNE 20:22, February 7, 2024 (EST)

Should be good to go. --Steve (talk) Get Firefox 00:22, February 8, 2024 (EST)

automatically add http or https[edit]

Is it possible that this template could automatically add the http or https prefix when using the url parameter? Super Mario RPG (talk) 12:40, February 8, 2024 (EST)

I made https:// optional. If a site only works with the http prefix, then use the full URL. --Steve (talk) Get Firefox 14:22, February 8, 2024 (EST)

Italicizing publishers, and absence of location for publishers[edit]

Having this template is great.

Currently, when displayed, it seems that the names of publishers are being italicized (which is incorrect), and there is no option to include the publisher's locations for citations (which is not required for some citation formats, but is for others and would be nice to have as an option for physical texts). Could these things be addressed? - Nintendo101 (talk) 17:17, February 10, 2024 (EST)

If you take a look at the examples, the publisher is italicized in the output even though the publisher parameter doesn't contain any italic syntax. So the functionality is consistent with the proposal. I'll add location. --Steve (talk) Get Firefox 17:40, February 10, 2024 (EST)
Thank you so much! - Nintendo101 (talk) 17:48, February 10, 2024 (EST)

Automatically grab archive date from archive.today URLs[edit]

Pages archived on archive.today can also be accessed using long links which include the date and hour at which the page was archived (example: http://archive.today/2024.02.11-143421/https://twitter.com/UniStudios/status/1753149462048800894). Is it possible to make the template automatically grab the date from these URLs similarly to how its done with Wayback Machine URLs? 1468z (talk) 09:54, February 11, 2024 (EST)

Sure thing. --Steve (talk) Get Firefox 12:15, February 11, 2024 (EST)

ISO codes for language[edit]

This is less a request and more some spitballing, since I'm aware it would be a somewhat time-consuming undertaking: it would be more efficient if the template was coded so you could just type a language's (2-digit) ISO code in the "language" field so it displays the entire name of that langauge. For instance, if you want to state that the source is in French, you'd simply type out
| language = fr
Of course, typing out the entire name should still be an option.
If one wants to also specify the country or region of the source alongside the language, the language's ISO code should be followed by a dash (-) and that country's (2-digit) ISO code (as it's standard), like:
| language = fr-ca
which displays "(French, Canada)".
As for which languages should be represented in the template, I guess this list could be a start. Ukrainian could be added as well since some sources on the wiki are also in that language. -- KOOPA CON CARNE 12:55, February 15, 2024 (EST)

I added support for language codes. It uses this list, so you get "Canadian French" which I think makes sense since it's adding a descriptor to the language rather than adding a location to the language parameter. Regular text still works if needed. --Steve (talk) Get Firefox 14:12, February 15, 2024 (EST)
Ayy thank you! -- KOOPA CON CARNE 14:32, February 15, 2024 (EST)

Video timestamps[edit]

Is there a way to incorporate the use of YouTube video timestamps, if necessary? Standardizing the use of those would also prove useful. Super Mario RPG (talk) 13:16, March 27, 2024 (EDT)

Reflist[edit]

This template had me wondering if this wiki could possibly have a reflist to adjust the citation formatting if needed, since I've seen pages with over 100 references. Super Mario RPG (talk) 21:52, March 29, 2024 (EDT)

I am a fan of the default tag formatting. --Steve (talk) Get Firefox 19:20, November 22, 2024 (EST)

About the period following the publishing date[edit]

Currently, if the author= parameter is not filled in, dates are displayed as (Month Day, Year).; the positioning of the period in this string is a bit odd considering there is no clause outside the brackets that it can conclude. When no authors are specified, either the brackets should be removed around the date, or the period should be placed inside the brackets. Can u do this for us, Porple? -- KOOPA CON CARNE 16:21, June 11, 2024 (EDT)

Separate website from publisher[edit]

The template currently offers a "publisher" parameter reserved for either a material's actual publisher or the website it is found in. However, sometimes, the wiki cites a book (which entails mentioning its publisher) through a website or service, such as Google Books, meaning that both the publisher and the website ought to be mentioned shoulder to shoulder. This article shows an example. Could perhaps a distinct "website=" or "site=" parameter be added to better set off these two components in such cases? Of course, if only the website is cited, I think there wouldn't be a problem if the "publisher" parameter is still used at one's discretion. -- KOOPA CON CARNE 15:26, August 30, 2024 (EDT)

Added. Thanks Porple!
@Super Mario RPG, this new addition may interest or aid you. -- KOOPA CON CARNE 16:22, August 30, 2024 (EDT)

Quotation marks for Japanese, Chinese, Korean[edit]

Is there a way to make it so corner brackets (「 」) are used instead of typical quotation marks for Japanese, Chinese, and Korean quotes? Using quotation marks looks bad and is inaccurate to how those languages are written. I noticed this especially while adding citations for TTYD names in other languages (I need to get back to that…), but I only just realized that maybe the template could be edited to remedy this. Technetium (talk) 23:13, October 5, 2024 (EDT)

I made this change. Pages will need to be updated to remove existing corner brackets and use the translation parameter (example). --Steve (talk) Get Firefox 01:32, October 6, 2024 (EDT)

Hold on, doesn't (South) Korean use the same quotation marks as English? I don't know, I'm just going by what Wikipedia and organickorean.com say. -- KOOPA CON CARNE 04:38, October 6, 2024 (EDT)

Whoops, you're right. My bad! Technetium (talk) 09:07, October 6, 2024 (EDT)

Add parameter that breaks off the URL from the title and removes its hyperlink[edit]

There are cases where the source used in an article is deemed unsafe for one reason or another. My browser initially blocks me from accessing the downloadable .3gp file cited here, for instance. For these cases, it might be better if this template had a parameter that removes the hyperlinks and exposes the URLs so that readers don't accidentally click or tap on the link. Of course, the ultimate remedy to this problem would be to find a less shady link for a source, but that may not always be possible. -- KOOPA CON CARNE 18:03, November 22, 2024 (EST)

The URL needs to be surrounded by nowiki tags to prevent auto-linking, and since we can't do <nowiki>{{{url}}}</nowiki>, it's best to just do this. --Steve (talk) Get Firefox 19:20, November 22, 2024 (EST)

Quotation mark anomaly[edit]

It's great that the template adapts around punctuation entered in the quote= paramter to accommodate the orthography of various languages. However, I noticed the template doesn't locate Danish quotation marks. These are, according to this site (ro.dsn.dk) cited by Wikipedia, essentially reverse guillemets (»...«). -- KOOPA CON CARNE 17:50, December 20, 2024 (EST)