Template talk:quote-web
Add topicMissing passage parameter in documentation
[edit]The template documentation does not show a "passage" parameter to help format the cited quote. —BoBoMisiu (talk) 16:24, 25 February 2015 (UTC)
- Thanks, the documentation has been updated. Smuconlaw (talk) 17:22, 8 January 2016 (UTC)
"Nocolon" parameter
[edit]@Erutuon, I think the problem is that {{quote-meta}}
expects a value to be stated using |passage=
. For your |nocolon=
parameter to work you would need to update {{quote-meta}}
to turn off the passage requirement. (Alternatively, an editor could simply repeat the title as the passage, like this: {{quote-web|title=This is the title|work=Testing Website|section=website title|passage=This is the '''title'''}}
.) — SMUconlaw (talk) 18:27, 20 May 2017 (UTC)
- @Smuconlaw: I don't know if
{{quote-meta}}
does expect a passage. But the template code is hard to read. I made changes in{{quote-meta/source}}
to try to allow the the colon to be turned off and it messed things up. Not sure why. — Eru·tuon 18:37, 20 May 2017 (UTC)- Yeah, I'm not sure why the change you made caused the problem either, which is why I suspect it has something to do with
{{quote-meta}}
rather than{{quote-meta/source}}
. But, you're right,{{quote-meta}}
is really hard to figure out due to the markup. At some stage I think we should try and sort that out ... — SMUconlaw (talk) 18:42, 20 May 2017 (UTC)- I feel like this would be so much easier with Lua. But it would be a lot of work to convert it. — Eru·tuon 18:48, 20 May 2017 (UTC)
- Yeah, I'm not sure why the change you made caused the problem either, which is why I suspect it has something to do with
Automated transliteration
[edit]Please add automated transliteration fro non-Roman based languages like most templates do. --Anatoli T. (обсудить/вклад) 08:23, 29 December 2018 (UTC)
url2 parameter
[edit]quote-web seems to have a url2 parameter.. It's useful, as sometimes it might be useful to have multiple websites to reference one thing, but the parameter doesn't seem to be documented, so I guess it should be. I discovered it by accident. As not all parameters are documented - is there a way to see the actual code of the template, to see all available functionality? FoxyBuscuits (talk) 13:59, 4 August 2019 (UTC)
- I wasn't aware of this parameter. The back-end of the template is now written in Lua, and can be viewed at "Module:quote". For assistance, it would probably be best to contact either @Benwing2 or @Erutuon. By the way, for quoting audiovisual content, it's better to use
{{quote-av}}
rather than{{quote-web}}
. Also, do ensure you aren't linking to content that has been uploaded to YouTube or other websites in breach of copyright. — SGconlaw (talk) 17:11, 4 August 2019 (UTC)- @Sgconlaw, FoxyBuscuits I think you mean @Erutuon. As for params, the majority of params now have a ...2 variant. These params are intended for the "newversion" variant of a book (Sgconlaw can explain better what this is intended for), not for adding an additional URL or whatever to a single variant, although it might happen to work OK for that purpose. The full set of params of this sort is all those that are referenced using a("param") inside of (i.e. following) the
local function postauthor(...)
declaration. Some params have 2, 3, 4, and 5 variants; these are intended to list additional authors associated with a single work, and such params include author, last, first, authorlink, trans-author, trans-last, trans-first, trans-authorlink. Ideally, the "newversion" params should have names that are not formed just by adding "2" to the end of them, so that we can actually use url2, url3, url4, etc. to specify multiple URL's for a single work, but that would be difficult at this point because we'd have to rename all uses of these params for "newversion" purposes. Benwing2 (talk) 17:52, 4 August 2019 (UTC)- Thanks! (Sorry, typing error corrected.) — SGconlaw (talk) 17:53, 4 August 2019 (UTC)
- @Sgconlaw, FoxyBuscuits I think you mean @Erutuon. As for params, the majority of params now have a ...2 variant. These params are intended for the "newversion" variant of a book (Sgconlaw can explain better what this is intended for), not for adding an additional URL or whatever to a single variant, although it might happen to work OK for that purpose. The full set of params of this sort is all those that are referenced using a("param") inside of (i.e. following) the
date format not picked up
[edit]@Sgconlaw The quote at slog shows up as being from November 2020, but the code states date=2017, 14 November. This is probably not the only case, and a fix is in order (to the template). --Java Beauty (talk) 19:11, 5 September 2020 (UTC)
- @Java Beauty:
Done: fixed the quotation at slog. The date has to be stated in a standard format like "14 November 2017"; this is a requirement for all the
{{quote}}
templates as they rely on the{{#date}}
function. — SGconlaw (talk) 19:33, 5 September 2020 (UTC)- I'll bet there are lots of other examples using that template (and
{{quote-book}}
and others) that have the same problem though. Maybe some code like if:date LATERTHAN {{{today's date}}}...show ERROR MESSAGE is needed to hunt them down. --Java Beauty (talk) 19:46, 5 September 2020 (UTC)- However, that won't pick up dates which are earlier than the current date but in the wrong format. — SGconlaw (talk) 21:38, 5 September 2020 (UTC)
- Then I'm filing this matter under TTT for "too technically tricky" --Java Beauty (talk) 21:44, 5 September 2020 (UTC)
- @Java Beauty: just fix the errors manually if you see them. — SGconlaw (talk) 03:46, 6 September 2020 (UTC)
- I agree we shouldn't support all possible date permutations. Identifying outliers sounds like a job for some external script, not the template itself. – Jberkel 08:34, 17 November 2020 (UTC)
- @Java Beauty: just fix the errors manually if you see them. — SGconlaw (talk) 03:46, 6 September 2020 (UTC)
- Then I'm filing this matter under TTT for "too technically tricky" --Java Beauty (talk) 21:44, 5 September 2020 (UTC)
- However, that won't pick up dates which are earlier than the current date but in the wrong format. — SGconlaw (talk) 21:38, 5 September 2020 (UTC)
- I'll bet there are lots of other examples using that template (and
Brackets parameter
[edit]Can someone with permissions add support for |brackets=on
in the visual editor through the TemplateData? Thanks. —The Editor's Apprentice (talk) 06:58, 17 November 2020 (UTC)
Template handles cases where the author and the work are one and the same poorly
[edit]Although this is, admittedly, a rare case, the template doesn't appear to have any good way of handling quotes like the one added in this diff, where the author is an organization (in this case, a U.S. government agency) and the work/site is simply the website of said organization, without any sort of separate or distinct branding. Currently, as shown in the aforelinked diff, the template forces one to enter the name of the organization for both |author=
and |work=
/|site=
, which generates a result that looks patently ridiculous (see, again, the provided diff). Could some way perhaps be found of handling this edge case rather more gracefully? Whoop whoop pull up Bitching Betty ⚧️ Averted crashes 15:36, 22 October 2022 (UTC)
- @Whoop whoop pull up: in such a case, just omit the author (which is not a mandatory parameter) and indicate the organization name under
|work=
. — Sgconlaw (talk) 18:28, 25 October 2022 (UTC)- Thanx, will do. Whoop whoop pull up Bitching Betty ⚧️ Averted crashes 20:28, 25 October 2022 (UTC)
“Chapter” appearing in website title
[edit]In morphinum this template is invoked as this:
- {{quote-web|la|author=rozalinda (uploader)|title=111111|work=w:Scribd|url=https://de.scribd.com/document/511471508/111111|date=11 June 2021|note=contains some Latin and Albanian translations|passage=Multa venēna ut coffēinum, opium, '''morphīnum''' sunt|t=There are many poisons like caffeine, opium and '''morphine'''}}
and producing this:
But "chapter" isn't part of the title.
- If the title of the webpage is a numeral, the template interprets it as a chapter number. This is being looked at, but in the meantime to stop the word “chapter” from appearing you would have to add some text to it so that it isn’t just a number, like “11111 [title]”. However, this document at Scribd doesn’t look like something that should be linked to anyway. It may have been uploaded in breach of copyright. — Sgconlaw (talk) 05:02, 9 May 2024 (UTC)
location parameter
[edit]@Sgconlaw: Regarding your addition of the location
parameter, please clarify what you mean by "The location where the website was published." Chealer (talk) 15:18, 31 January 2025 (UTC)
- @Chealer: if the city (and state) where the publisher of the website is located is known, this can be specified using the
|location=
parameter. For example, BuzzFeed is based in New York, N.Y. In this respect, the parameter serves the same purpose as it does in{{cite-book}}
and{{cite-journal}}
. — Sgconlaw (talk) 17:41, 31 January 2025 (UTC)- Publishers are not necessarily located in a single city. To use BuzzFeed as an example, would the definition you suggest mean listing the cities of all its offices, or what? Chealer (talk) 18:27, 31 January 2025 (UTC)
- @Chealer: generally provide the location of its headquarters. "w:BuzzFeed" indicates New York as the company's headquarters. If you think it isn't appropriate in a particular case to specify the location, omit it. — Sgconlaw (talk) 18:59, 31 January 2025 (UTC)
- @Sgconlaw: So what are the other cases, and what should the value correspond to then? Anyway, thanks for your messages, but the request was to clarify the documentation. Chealer (talk) 03:24, 3 February 2025 (UTC)
- @Chealer: when the location of the headquarters of the organization is unknown or uncertain. Anyway, I think this parameter is less important for websites compared to books and journals, when the place of publication is usually very clear. — Sgconlaw (talk) 11:17, 3 February 2025 (UTC)
- No matter how unimportant a parameter is, its meaning should be reasonably clear.
- So you are saying if an organizations moves its headquarters, citations from its publications need to be updated? Anyway, I adjusted the documentation but please put a proper definition if you can. Chealer (talk) 14:10, 3 February 2025 (UTC)
- @Chealer: no, if the place of publication is specified, it should be the place at the time when the specific website was published. For example, if XYZ Corporation was located in New York at the time when the website was quoted, then "New York, N.Y." is what is specified. It is immaterial that XYZ subsequently relocates to San Francisco. That's the general rule for all works. — Sgconlaw (talk) 14:37, 3 February 2025 (UTC)
- The place at the time when the website was "published" can differ from the place at the time of citation, so what should the field read in such cases? In any case, if it's not at the time of the webpage's publication, I recommend to highlight that, since that seems incoherent with the date field.
- Also, a website does not necessarily have exactly 1 publisher. It can have none. And what happens when there are 2? Chealer (talk) 15:25, 3 February 2025 (UTC)
- @Chealer: no, if the place of publication is specified, it should be the place at the time when the specific website was published. For example, if XYZ Corporation was located in New York at the time when the website was quoted, then "New York, N.Y." is what is specified. It is immaterial that XYZ subsequently relocates to San Francisco. That's the general rule for all works. — Sgconlaw (talk) 14:37, 3 February 2025 (UTC)
- @Chealer: when the location of the headquarters of the organization is unknown or uncertain. Anyway, I think this parameter is less important for websites compared to books and journals, when the place of publication is usually very clear. — Sgconlaw (talk) 11:17, 3 February 2025 (UTC)
- @Sgconlaw: So what are the other cases, and what should the value correspond to then? Anyway, thanks for your messages, but the request was to clarify the documentation. Chealer (talk) 03:24, 3 February 2025 (UTC)
- @Chealer: generally provide the location of its headquarters. "w:BuzzFeed" indicates New York as the company's headquarters. If you think it isn't appropriate in a particular case to specify the location, omit it. — Sgconlaw (talk) 18:59, 31 January 2025 (UTC)
- Publishers are not necessarily located in a single city. To use BuzzFeed as an example, would the definition you suggest mean listing the cities of all its offices, or what? Chealer (talk) 18:27, 31 January 2025 (UTC)