Template talk:Cite: Difference between revisions

m
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. Add Ukrainian 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 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)
62,141

edits