Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases.
| Template:Refbegin is indefinitely protected from editing as it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
Given that Template:Reflist now defaults to 30em, should this template behave in the same manner? My instincts say it should. DonIago (talk) 13:24, 19 September 2017 (UTC)
I'm not sure why the current practice is to use an unordered list, but almost always the lists employing these templates have been ordered (usually by e.g. last name). Could we at-least add support in the CSS for an ordered list inside of these templates? --Izno (talk) 16:07, 30 June 2019 (UTC)
This whole page is extremely unclear about what is ACTUALLY correct, number of columns or width of columns. Number is given as the default, not width, but then called "deprecated" near the bottom of the page? — Preceding unsigned comment added by Snizzbut (talk • contribs) 22:52, 4 October 2019 (UTC)
If an integer n is supplied as the first parameter, the template will display the bibliography/references list in n columns. This may be useful for compact display for a lengthy list, and matches also the optional capability of {{reflist}} to display output in multiple columns.
The syntax {{Reflist|2}} (for example), which specifies two columns of equal width regardless of the available display width, is deprecated (and is disabled for mobile view). When you use 1 the template gives you a single column while 2 will pretend you specified 30em. When using higher column counts, it will pretend you specified 25em.Yes, the column count format is and does need to be deprecated more fully. --Izno (talk) 05:53, 8 January 2021 (UTC)
Per Template:Reflist#Example, would I be correct in assuming that {{Refbegin|2}} is depreciated, defaulting to 30em as if |30em had been specified? If so, then Template:Refbegin's documentation should be updated. — CJDOS, Sheridan, OR (talk) 12:51, 13 April 2023 (UTC)
Based on the discussions above, I'll update the documentation to remove instructions for adding a quantity of columns. I wonder if it would be acceptable to prevent the template from outputting column counts? This seems easier than writing a bot to fix them all. The vast majority of specified quantities are just "2". Here's a breakdown:
| 2 | 15,000 |
| 3 | 600 |
| 4 | 30 |
| 5 | 13 |
| 6 | 0 |
Rather than continuing to implement this, the template could just give "30em" which is the default for references. Or 30em for 2 columns, and 20em for higher. Or even ignore the counts altogether. This would fix any issues with editors specifying a fixed number of columns. Rjjiii (talk) 05:03, 27 August 2023 (UTC)
{{reflist|1}} usage down to {{reflist}} and have made the sandbox treat {{reflist|1}} as if the 1 was not there. 2 or greater as a column count will creates 30em wide columns. Rjjiii (talk) 06:16, 4 October 2023 (UTC)This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Change the template to the sandbox version. The live version of the template permits defining the column width or quantity. The sandbox version only permits defining the column width and provides a fallback where any quantity of columns will result in columns at 30em (the default for references). The current default of 1 full-width column is still present, and a quantity of "1" will also give that default of 1 full-width column. Per talk page discussions, this is more flexible and matches the updates for {{reflist}}. Additionally, I have converted all uses of large quantities of columns (3–6) in articles to either narrow columns or a more appropriate template. Once all 2-column formatting is updated, the fallback can likely be removed. Thanks for your time, Rjjiii (talk) 00:05, 8 October 2023 (UTC) Rjjiii (talk) 00:05, 8 October 2023 (UTC)
This question relates to an issue raised by UndercoverClassicist at the featured-article nomination for the article on Rupert Bruce-Mitford. That article includes a "Publications" section with many citation templates, which comes before the "References" and "Bibliography" sections. Because some of Bruce-Mitford's works are cited in the article, this means that the short cites in the References section sometimes link upwards to a work in Publications, and sometimes downwards to a work in Bibliography. This, in turn, generates errors for many users using this script.
The suggestion presented during the review is the bookend the Publications section with {{refbegin}} and {{refend}} templates. Could anyone please let me know if there are any issues in doing so? (Given that the template page uses "Published Works" sections as an example use case, it would seem that this is fine). Assuming there are no issues, and given that the Publications section is itself broken into subsections (Books/Articles/Chapters/Reviews/Other), should the templates be used once (above the header for Books and at the end of Other), or should they be used five times (below each header and at the end of each section)? Thanks, --Usernameunique (talk) 20:30, 13 January 2026 (UTC)
We (Content Transform Team) are doing some visualdiff testing to ensure that pages work well with parsoid instead of legacy parser. Because there are some cases where parsoid wraps dom elements with sections, CSS for `Refbegin` won't render correctly for parsoid. For example:
https://en.wikipedia.org/wiki/Henry_VIII?useparsoid=0#Biographical
https://en.wikipedia.org/wiki/Henry_VIII?useparsoid=1#Biographical
I have a proposed change for Template:Refbegin/styles.css here so the CSS also matches the sections: https://phabricator.wikimedia.org/P94279. I have tested the change locally (via devtools) and looks like it fixes the issue. JGiannelos (WMF) (talk) 03:32, 19 June 2026 (UTC)
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.