Template talk:Cite: Difference between revisions
(→Dead links: no, actually that was the right citation) |
(→About the period following the publishing date: new section) |
||
(18 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
== 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) | 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) | :Added both. --{{User:Porplemontage/sig}} 18:52, February 7, 2024 (EST) | ||
== Dead links == | == 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) |
Revision as of 15:21, June 11, 2024
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 (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)
Dead links
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)
automatically add http or https
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) 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? - 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) 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
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)
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 (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) 14:12, 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. Super Mario RPG (talk) 13:16, March 27, 2024 (EDT)
Reflist
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
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)