Jump to content

Wikipedia talk:Citing sources/Archive 50

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Lowercase sigmabot III (talk | contribs) at 00:24, 23 December 2020 (Archiving 1 discussion(s) from Wikipedia talk:Citing sources) (bot). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Archive 45Archive 48Archive 49Archive 50Archive 51Archive 52Archive 55

Foreign lang template to throw after a foreign-language reference? (references without citation templates)

Back in ye olde days of Wikipedia, there used to be an unobtrusive template like lang|en lang|fr lang|ru that would just put a smaller font (Ru) or (Fr) after a footnote reference that's in a foreign language, and automatically added the article to some hidden category for such works. I know {{in lang}} exists now, but it's bulky and plain-text and doesn't appear to have any real benefit that isn't to be had by simply writing "In Russian" myself. Any help finding something smaller? I'm working on an article that is almost entirely non-English sources and I'd rather not put "In German", "In French" after each citation. HaltlosePersonalityDisorder (talk) 03:15, 7 October 2020 (UTC)

There's {{lang}} and {{lang-x}} that might help, but I'm not sure they are exactly what you're after. Martin of Sheffield (talk) 15:30, 7 October 2020 (UTC)
If you’re using the CS1/2 citation templates, there’s a |language= parameter you can use that takes the ISO 639 code; is that what you’re looking for? Umimmak (talk) 16:00, 7 October 2020 (UTC)
In the CS1/2 citation templates, there are also parameters like |script-title= which can be prepended with an ISO language code for non-Latin languages, as in |script-title=zh-Hant:瘋狂亞洲富豪. Furthermore, if there's a Wikipedia article you want to link to where the article in another language is the only one that exists or is more complete than the English Wikipedia article, I use {{ill}}; so for example for the Chinese-language Hong Kong newspaper Ta Kung Pao the Chinese article is more extensive in discussing nuances of its coverage and biases so in citations I fill in |publisher={{ill|Ta Kung Pao|zh|大公報|preserve=1}} which produces "Ta Kung Pao [zh]".
Finally, for parameters like |authorlink= you can fill in a link to a language on a different wiki, you just have to begin it with a colon: for example |authorlink=:id:Daniel Rudi Haryanto for Daniel Rudi Haryanto [id], an Indonesian documentary film maker who despite winning international awards currently only has an article on Wikipedia bahasa Indonesia and not English Wikipedia.
p.s. a benefit of using an appropriate language template or parameter that may not be visible in your own browser is that the HTML code is marked up to indicate the language being rendered, which may help other peoples' browsers or screen readers show it properly. --▸₷truthiousandersnatch 17:16, 7 October 2020 (UTC)
Umm, no. Do you not see the at the top of the {{ill}} documentation? What your example really produces (as far as the cs1|2 templates are concerned) is this:
{{ill|Ta Kung Pao|zh|大公報|preserve=1}}[[Ta Kung Pao]]<span class="noprint" style="font-size:85%; font-style: normal; ">&nbsp;&#91;[[:zh:大公報|zh]]&#93;</span>
All of that ends up in the citation's metadata which should only hold (for your example) the publisher's name; no html markup, no wiki markup, just the name.
{{ill}} may be the template that the OP was thinking about. That, in my opinion is a badly thought out design. We as editors may know what ru, or es, or kl, or sq mean, but it is doubtful that readers know. We are here for the readers and there is no limit on space; use {{in lang}} so that you can use the IETF language tags and so that readers know what you mean without having to decode the tag.
{{in lang|ru|es|kl|sq}}(in Russian, Spanish, Greenlandic, and Albanian)
Trappist the monk (talk) 17:41, 7 October 2020 (UTC)
"We as editors may know what ru, or es, or kl, or sq mean, but it is doubtful that readers know" – agreed, that's why there is {{Interlanguage link info}} to explain it. Martin of Sheffield (talk) 19:17, 7 October 2020 (UTC)

Citing a section of a web page?

Transmission of COVID-19 cites https://www.cdc.gov/coronavirus/2019-ncov/faq.html in multiple places. The problem is, the page is hard to navigate, with the collapsed sections. At least in Chrome, if you search on a page for a word in a collapsed section, it won't be found. So, is there some way, analogous to {{rp}}, to cite a specific section on a web page? -- RoySmith (talk) 02:02, 8 October 2020 (UTC)

@RoySmith:, if you use shortened footnotes ({{sfn}}), you can use |loc= instead of |p=. If you are using {{cite web}}, you can use |at= instead of |p=. And if you're hand-rolling the citation, you can use plain text. In any of those cases, I'd just put the closest header title above the section of interest. Naturally, if it's an anchor, then include the fragment in the link. Mathglot (talk) 11:35, 8 October 2020 (UTC)
Here's an example:
Can wild animals spread the virus?[1]
Note that in this example, the term '§wild animals' in the short footnote is a direct link to the FAQ question. Hope this helps. Mathglot (talk) 11:48, 8 October 2020 (UTC)
Works cited
  • "Coronavirus (COVID-19) frequently asked questions | CDC". CDC. 18 September 2020.

References