Template talk:Cite

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search

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]

Question.svg This talk page or section has a conflict or a question that needs to be answered. Please try to help and resolve the issue by leaving a comment.

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)