Template talk:Floating quotation mark
Add topicAppearance
Latest comment: 2 months ago by Yodin in topic {{fqm||spacing}}
{{fqm|{{" '}}}} doesn't seem to be working
[edit]If used, it only shows the single quote. An example: https://en.wikisource.org/wiki/Page:Girls_of_Central_High_on_the_Stage.djvu/65 David Nind (talk) 19:35, 17 December 2023 (UTC)
- @David Nind The page you linked to is working as expected for me: before "William Wright was often wrong", I see a double quotation mark ", followed by a small space, followed by a single quotation mark ', all to the left of the start of the line.
"'How about
this example?'"
- Is the above also not working correctly for you?
- --YodinT 21:44, 17 December 2023 (UTC)
- Thanks for looking! I should have tried in Google Chrome/Chromium before making a comment - it displays correctly with these browsers. Must by something with my Firefox setup and any plugins/themes/settings (displays correctly in Firefox Developer Edition without being logged in to Wikisource). David Nind (talk) 05:12, 18 December 2023 (UTC)
This causes the template to float the first parameter, which is an empty string. I'll update the doc to mention that {{fqm}} != {{fqm|}} and that {{fqm||spacing}} floats nothing, but we should find an actual solution.
(There's always the option of replacing {{{1|"}}}
by {{#ifeq:{{{1|}}}||"|{{{1}}}}
, but that would not be very clean.) — Alien 3
3 3 18:04, 24 October 2024 (UTC)
- Yep, I seem to remember adding support for exactly that option before, but the code must have been streamlined since then. I don't think
{{#if:{{{1|}}}|{{{1}}}|"}}
is too horrible. --YodinT 18:19, 24 October 2024 (UTC)