Template talk:Cite: Difference between revisions
Line 26: | Line 26: | ||
== ISO codes for language == | == ISO codes for language == | ||
This is less a request and more some spitballing, since I'm aware it would be somewhat time-consuming: 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) | 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) |
Revision as of 13:56, February 15, 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)