Template talk:Cite: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(Created page with "Can there be an option to show the language of the source? I forgot to mention that it could be added as another parameter. ~~~~")
 
(→‎Quotation marks for Japanese, Chinese, Korean: My bad, Korean still uses quotation marks so doesn't apply here)
Tag: Mobile edit
 
(31 intermediate revisions by 6 users not shown)
Line 1: Line 1:
Can there be an option to show the language of the source? I forgot to mention that it could be added as another parameter. [[User:Super Mario RPG|Super Mario RPG]] ([[User talk:Super Mario RPG|talk]]) 12:27, February 7, 2024 (EST)
== Language and format ==
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 <small>(PDF)</small> is displayed next to the title to show the reader the format of the publication? [[User:Super Mario RPG|Super Mario RPG]] ([[User talk:Super Mario RPG|talk]]) 12:27, February 7, 2024 (EST)
:Added both. --{{User:Porplemontage/sig}} 18:52, February 7, 2024 (EST)
 
== Dead links ==
If the original link in a source is dead, I find it more accessible to format the citation like [[Donkey_Kong_Planet#cite_note-3|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.)<br>Could a <code>deadlink</code> parameter be added to the code so that, when given a value, the template is reorganized as I explained above? {{User:Koopa con Carne/Sig}} 20:22, February 7, 2024 (EST)
:Should be good to go. --{{User:Porplemontage/sig}} 00:22, February 8, 2024 (EST)
 
== automatically add http or https ==
Is it possible that this template could automatically add the http or https prefix when using the url parameter? [[User:Super Mario RPG|Super Mario RPG]] ([[User talk:Super Mario RPG|talk]]) 12:40, February 8, 2024 (EST)
:I made <code>https://</code> optional. If a site only works with the <tt>http</tt> prefix, then use the full URL. --{{User:Porplemontage/sig}} 14:22, February 8, 2024 (EST)
 
== Italicizing publishers, and absence of location for publishers ==
 
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? - [[User:Nintendo101|Nintendo101]] ([[User talk:Nintendo101|talk]]) 17:17, February 10, 2024 (EST)
:If you take a look at [[MarioWiki:Proposals/Archive/65#Decide_how_to_format_the_.7B.7Bcite.7D.7D_template_and_update_citation_guidelines_accordingly|the examples]], the publisher is italicized in the output even though the <code>publisher</code> parameter doesn't contain any italic syntax. So the functionality is consistent with the proposal. I'll add location. --{{User:Porplemontage/sig}} 17:40, February 10, 2024 (EST)
::Thank you so much! - [[User:Nintendo101|Nintendo101]] ([[User talk:Nintendo101|talk]]) 17:48, February 10, 2024 (EST)
 
== Automatically grab archive date from archive.today URLs ==
 
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? [[User:1468z|1468z]] ([[User talk:1468z|talk]]) 09:54, February 11, 2024 (EST)
:Sure thing. --{{User:Porplemontage/sig}} 12:15, February 11, 2024 (EST)
 
== ISO codes for language ==
 
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 {{wp|List of ISO 639 language codes|(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<br><code>| language = fr </code><br>Of course, typing out the entire name should still be an option.<br>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 (<code>-</code>) and that country's {{wp|List of ISO 3166 country codes|(2-digit) ISO code}} (as it's {{wp|IETF language tag|standard}}), like:<br><code>| language = fr-ca</code><br>which displays "(French, Canada)".<br>As for which languages should be represented in the template, I guess [[List_of_LEGO_Super_Mario_set_names_in_other_languages#Goomba.E2.80.99s_Shoe_Expansion_Set|this list]] could be a start. Ukrainian could be added as well since some sources on the wiki are also in that language. {{User:Koopa con Carne/Sig}} 12:55, February 15, 2024 (EST)
:I added support for language codes. It uses [https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/cldr/+/refs/heads/master/CldrNames/CldrNamesEn.php 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. --{{User:Porplemontage/sig}} 14:12, February 15, 2024 (EST)
::Ayy thank you! {{User:Koopa con Carne/Sig}} 14:32, February 15, 2024 (EST)
 
== Video timestamps ==
Is there a way to incorporate the use of YouTube video timestamps, if necessary? Standardizing the use of those would also prove useful. [[User:Super Mario RPG|Super Mario RPG]] ([[User talk:Super Mario RPG|talk]]) 13:16, March 27, 2024 (EDT)
 
== Reflist ==
{{talk}}
This template had me wondering if this wiki could possibly have a [[wikipedia:Template:Reflist|reflist]] to adjust the citation formatting if needed, since I've seen pages with over 100 references. [[User:Super Mario RPG|Super Mario RPG]] ([[User talk:Super Mario RPG|talk]]) 21:52, March 29, 2024 (EDT)
 
== About the period following the publishing date ==
 
Currently, if the author= parameter is not filled in, dates are displayed as <code>(Month Day, Year).</code>; 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? {{User:Koopa con Carne/Sig}} 16:21, June 11, 2024 (EDT)
 
== Separate website from publisher ==
 
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. [[Brass Plaque|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. {{User:Koopa con Carne/Sig}} 15:26, August 30, 2024 (EDT)
:Added. Thanks Porple!<br>{{@|Super Mario RPG}}, this new addition may interest or aid you. {{User:Koopa con Carne/Sig}} 16:22, August 30, 2024 (EDT)
 
==Quotation marks for Japanese, Chinese, Korean==
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. [[User:Technetium|Technetium]] ([[User talk: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 <code>translation</code> parameter ([https://www.mariowiki.com/index.php?title=Baby_Face&diff=prev&oldid=4388807 example]). --{{User:Porplemontage/sig}} 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 {{wp|Quotation marks#Summary table|Wikipedia}} and [http://organickorean.com/punctuation-marks-in-korean-2/?ckattempt=1 organickorean.com] say. {{User:Koopa con Carne/Sig}} 04:38, October 6, 2024 (EDT)
:Whoops, you're right. My bad! [[User:Technetium|Technetium]] ([[User talk:Technetium|talk]]) 09:07, October 6, 2024 (EDT)

Latest revision as of 08:07, October 6, 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]

Question.svg This talk page or section has a conflict or 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)

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)