![]() | This page is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
![]() | These early archived posts are from the original "multiref" template. Archived posts from Template:Unbulleted list citebundle begin in Archive 2. |
I have WP:BOLDly created a first cut at documentation for this template at Template:Multiref/doc.
I have also created a redone version of this template at Template:Multiref/sandbox which supports the documentation.
Please verify that what I have done is correct, fix it if needed, and make the sandbox live. Alternatively, please otherwise provide documentation.
Note: I noticed in examining Leyden jar, which uses this template, that the usage there differs from the expected usige I have described in the documentation. Wtmitchell (talk) (earlier Boracay Bill) 17:04, 27 August 2020 (UTC)
Hello,
I've changed this template so that there's now a |text=
parameter. Bullet points can also be shown by specifying |bulleted=y
. Hopefully people will use this template for its intended purpose (showing a list of references with text at the top) and use
Template:Multiref2, which I recently made, for a plain list of references in one citation without text at the top.
DesertPipeline (
talk)
08:19, 10 July 2021 (UTC)
At Wikipedia talk:Lua, DesertPipeline asked:
margin-left:1em;
to the element div.plainlist
, which was added by {{
unbulleted list}}. This change was made to match the output of the existing template. Your sandbox version doesn't use that template so you would need to add an alternative target.margin-left:1em;
), have a small offset in vector and monobook, and a large offset in minerva. Moreover, there is a substantial offset in the pop-up window.User:Jts1882: I should mention that Multiref won't use the unbulleted list template when the changes have been made. That only works if there's a first line of text above which is unindented; otherwise, all of the text in the reference view appears a line below the "[num] ^" line. Also, on the testcases page, which is showing results from Template:Multiref/sandbox2, only paragraph two is showing as indented. I think there needs to be a span tag for each line? I'll do that now and see. DesertPipeline ( talk) 06:46, 17 August 2021 (UTC)
I think I got it working correctly. DesertPipeline ( talk) 07:11, 17 August 2021 (UTC)
I've updated the documentation with some examples. The examples are made up but the use cases are all found out in the wild. I've removed the line about a text field being expected – that always was complete nonsense. Spinning Spark 08:33, 18 August 2021 (UTC)
User:Jts1882: Please can you figure out the correct margin-left value for the different Wikipedia skins and add them to the styles page? Thanks, DesertPipeline ( talk) 09:47, 23 August 2021 (UTC)
multiref2
. This could be extended for other skins, but I don't want to get caught in the middle between different concepts of {{
Multiref}}. —
Jts1882 |
talk
10:32, 23 August 2021 (UTC)
<templatestyles src="Template:Multiref2/styles.css" />{{{HEADER-TEXT|}}}<div class="multiref2">LIST</div>
multiref2
. All cases only apply the indent in the reference list, not in the popup previews. It would help if I could see examples of what you are trying to do as otherwise I'm working blind. At the moment {{
multiref2}} is a list without the introductory text, whereas I thought you want a template with the introductory list. —
Jts1882 |
talk
09:13, 24 August 2021 (UTC)
multiref2
, as I suggested above. It seems to me that it does what you want to do: adjust the indent in the reference list for different skins and have no indent in the popup preview. If it's not working you need to state the example which isn't working and the skin you are using.The output looks very strange in the mobile version: open https://en.m.wikipedia.org/wiki/Template:Multiref and look at the examples. The vertical spacing between the first two lines is smaller than between the rest. All lines after the first have unexplainable indents.
And by the way, does this template have any benefits compared to simple manual insertion of <br/>
/{{
br}}
between items? —
Mikhail Ryazanov (
talk)
22:40, 8 April 2022 (UTC)
"[Full references can be used in this template] but this may not be so useful" – why? It'd be nice to know if this is because it buggers up CS1/CS2 formatting, or for other very pressing reasons.— Ineffablebookkeeper ( talk) ({{ ping}} me!) 19:11, 5 November 2022 (UTC)
Is there a difference in functionality between this template and {{ Unbulleted list citebundle}}? Rjjiii ( talk) 20:26, 17 June 2023 (UTC)
@ Psiĥedelisto: This template came up in the Wikipedia Discord ( WP:DISCORD), and @ Anon423 and Tamzin: and I took a look. It seems like this template's functionality is currently Firefox-specific - in Chrome, Edge, and Safari, the extra line break is still there. Is there a "fix" for this? (Or, alternatively, a belief that this is a bug in the other three that will be fixed in the near future?) SnowFire ( talk) 23:35, 8 May 2023 (UTC)
![]() | This page is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
![]() | These early archived posts are from the original "multiref" template. Archived posts from Template:Unbulleted list citebundle begin in Archive 2. |
I have WP:BOLDly created a first cut at documentation for this template at Template:Multiref/doc.
I have also created a redone version of this template at Template:Multiref/sandbox which supports the documentation.
Please verify that what I have done is correct, fix it if needed, and make the sandbox live. Alternatively, please otherwise provide documentation.
Note: I noticed in examining Leyden jar, which uses this template, that the usage there differs from the expected usige I have described in the documentation. Wtmitchell (talk) (earlier Boracay Bill) 17:04, 27 August 2020 (UTC)
Hello,
I've changed this template so that there's now a |text=
parameter. Bullet points can also be shown by specifying |bulleted=y
. Hopefully people will use this template for its intended purpose (showing a list of references with text at the top) and use
Template:Multiref2, which I recently made, for a plain list of references in one citation without text at the top.
DesertPipeline (
talk)
08:19, 10 July 2021 (UTC)
At Wikipedia talk:Lua, DesertPipeline asked:
margin-left:1em;
to the element div.plainlist
, which was added by {{
unbulleted list}}. This change was made to match the output of the existing template. Your sandbox version doesn't use that template so you would need to add an alternative target.margin-left:1em;
), have a small offset in vector and monobook, and a large offset in minerva. Moreover, there is a substantial offset in the pop-up window.User:Jts1882: I should mention that Multiref won't use the unbulleted list template when the changes have been made. That only works if there's a first line of text above which is unindented; otherwise, all of the text in the reference view appears a line below the "[num] ^" line. Also, on the testcases page, which is showing results from Template:Multiref/sandbox2, only paragraph two is showing as indented. I think there needs to be a span tag for each line? I'll do that now and see. DesertPipeline ( talk) 06:46, 17 August 2021 (UTC)
I think I got it working correctly. DesertPipeline ( talk) 07:11, 17 August 2021 (UTC)
I've updated the documentation with some examples. The examples are made up but the use cases are all found out in the wild. I've removed the line about a text field being expected – that always was complete nonsense. Spinning Spark 08:33, 18 August 2021 (UTC)
User:Jts1882: Please can you figure out the correct margin-left value for the different Wikipedia skins and add them to the styles page? Thanks, DesertPipeline ( talk) 09:47, 23 August 2021 (UTC)
multiref2
. This could be extended for other skins, but I don't want to get caught in the middle between different concepts of {{
Multiref}}. —
Jts1882 |
talk
10:32, 23 August 2021 (UTC)
<templatestyles src="Template:Multiref2/styles.css" />{{{HEADER-TEXT|}}}<div class="multiref2">LIST</div>
multiref2
. All cases only apply the indent in the reference list, not in the popup previews. It would help if I could see examples of what you are trying to do as otherwise I'm working blind. At the moment {{
multiref2}} is a list without the introductory text, whereas I thought you want a template with the introductory list. —
Jts1882 |
talk
09:13, 24 August 2021 (UTC)
multiref2
, as I suggested above. It seems to me that it does what you want to do: adjust the indent in the reference list for different skins and have no indent in the popup preview. If it's not working you need to state the example which isn't working and the skin you are using.The output looks very strange in the mobile version: open https://en.m.wikipedia.org/wiki/Template:Multiref and look at the examples. The vertical spacing between the first two lines is smaller than between the rest. All lines after the first have unexplainable indents.
And by the way, does this template have any benefits compared to simple manual insertion of <br/>
/{{
br}}
between items? —
Mikhail Ryazanov (
talk)
22:40, 8 April 2022 (UTC)
"[Full references can be used in this template] but this may not be so useful" – why? It'd be nice to know if this is because it buggers up CS1/CS2 formatting, or for other very pressing reasons.— Ineffablebookkeeper ( talk) ({{ ping}} me!) 19:11, 5 November 2022 (UTC)
Is there a difference in functionality between this template and {{ Unbulleted list citebundle}}? Rjjiii ( talk) 20:26, 17 June 2023 (UTC)
@ Psiĥedelisto: This template came up in the Wikipedia Discord ( WP:DISCORD), and @ Anon423 and Tamzin: and I took a look. It seems like this template's functionality is currently Firefox-specific - in Chrome, Edge, and Safari, the extra line break is still there. Is there a "fix" for this? (Or, alternatively, a belief that this is a bug in the other three that will be fixed in the near future?) SnowFire ( talk) 23:35, 8 May 2023 (UTC)