Template talk:NDB

error: External link in |chapter=
This template is producing an "External link in |chapter=" error, which shows up on any page using the template. I can't seem to diagnose the issue. Any ideas? Paul2520 (talk) 11:14, 11 October 2015 (UTC)
 * Strange I couldn't find any error. In May 2015, when I did two minor updates, it still worked. Unfortunately the template is different from the German de:Vorlage:NDB and uses Citation. Can you help? --Kolja21 (talk) 00:10, 12 October 2015 (UTC)
 * Just saw this now; the problem has apparently been fixed already. Cheers, &mdash; PDD 06:28, 15 October 2015 (UTC)

Link to wrong page image
The article on Reinmar von Brennenberg has a problematic NDB reference. The "full text online" link works correctly but the link to the page image takes you to a page two pages after the start of the relevant article (to quite another Reinmar). As far as I can see the actual reference in the WP article is correct. Any ideas? --Pfold (talk) 11:44, 8 February 2016 (UTC)
 * I have fixed the underlying template, NDB/Seite, to adjust the page count for volume 21, which fixed the link in Reinmar von Brennenberg. It is possible that this change will break other references to volume 21. If you know a way to check those, please do so. – Jonesey95 (talk) 15:03, 8 February 2016 (UTC)
 * OK, thanks. I will have a look at some of the other entries and report back. --Pfold (talk) 15:19, 8 February 2016 (UTC)
 * I've checked a few other articles up to 200 pages away and in all cases the online text matches the image. Thanks for the fix. --Pfold (talk) 17:25, 8 February 2016 (UTC)

Off-by-two page error
I'm writing up de:Momme Andresen for English Wiki. NDB is giving me a page number error - he's on pp. 286-287 in NDB vol. 1, but I have to enter pp. 284-285 to get his NDB article -. Can anyone help? (This looks very like, immediately above my post.) Narky Blert (talk) 09:46, 14 August 2017 (UTC)
 * I have boldly edited NDB/Seite to match the German version of that page, on the assumption that the German WP does a better job of keeping this template up to date. This bold change means that I may have broken page links for any number of volumes. Someone may want to check a random sample of pages from "What links here" in the left bar of this template's page to check my work. – Jonesey95 (talk) 00:41, 16 August 2017 (UTC)
 * TY for that - the link I want to use now works with the correct page numbers :-) I haven't checked any of the other incoming links. Narky Blert (talk) 22:38, 16 August 2017 (UTC)

Check date values in: |date=
Use of this template results in a Check date values in: |date= error, because the default date in Template:NDB/Jahr (used in this template) is "not yet published", and this is not a valid date according to CS1: Dates. For example, see Note 7 on Leopold I, Holy Roman Emperor.

I'm not sure what the recommended workaround would be. Leaving a blank date is probably not ideal, and saying 2019 (when Neue Deutsche Biographie says it is scheduled to be completed) also results in a date error. = paul2520 (talk) 13:52, 16 August 2017 (UTC)
 * The volume number in that citation was invalid. I have fixed that citation, added a better error message to indicate the problem, and added an error-tracking category,, to this NDB family of templates. – Jonesey95 (talk) 15:05, 16 August 2017 (UTC)


 * Excellent. Thanks, . = paul2520 (talk) 17:33, 16 August 2017 (UTC)

Wrong page image
I was editing Günther Klaffenbach and the NDB image is off by about eight pages. I would fix it but I'm not very good at tinkering with the template. Thought I'd flag it up! Atchom (talk) 23:22, 4 September 2021 (UTC)

"ref duplicates default"
This template is producing citations that generate CS1 maint: ref duplicates default maintenance messages. I think that is because the line generates – by design – a ref param that matches exactly the default when neither author nor year are passed explicitly. I attempted to fix the problem (in an unsaved sandbox edit) but my grasp of template syntax proved insufficient. Pinging, whose edsum on March 12 alerted me to the problem. Best, Wham2001 (talk) 19:28, 23 February 2022 (UTC)

"CS1 maint: ref duplicates default" warning
Can anything be done to eliminate the "CS1 maint: ref duplicates default" warning message generated by this template? User-duck (talk) 09:48, 27 February 2022 (UTC)


 * @User-duck, @Wham2001: is the workaround I just described in the documentation something you are interested in? —Kusma (talk) 15:21, 24 November 2022 (UTC)
 * OK, that doesn't work to eliminate that bit :( The maintenance message seems wrong, I will investigate. —Kusma (talk) 16:01, 24 November 2022 (UTC)
 * What are you seeing? According to this search, at the time of this writing, only this version of Botho von Hülsen has the ref duplicates default message for this citation:
 * That happens because the rendering of the template is the same as what 's underlying  template would produce on its own.  Compare:
 * and without  (look for the   attribute in the  tag):
 * Because the CITEREF ID produced by is exactly the same as the CITEREF ID produced by, the maintenance message is correct.
 * —Trappist the monk (talk) 16:22, 24 November 2022 (UTC)
 * @Trappist the monk: There it is correct, yes. I am drafting an article in my sandbox where I have several authors and try to use  to display them without an error message, but I can't get both sfn to work with a reasonable author format and get rid of the maintenance message at the same time. —Kusma (talk) 16:36, 24 November 2022 (UTC)
 * It looks to me as if TTM's edit on February 27 fixed the problem – I can't see the warning message on March 12 any longer, for example. Best, Wham2001 (talk) 16:31, 24 November 2022 (UTC)
 * Here is a in place of :
 * and the sanbox version of (there is no ):
 * This is what you want, right?
 * —Trappist the monk (talk) 16:52, 24 November 2022 (UTC)
 * @Trappist the monk: Yes, that is what I want, looks good! I hope it will make it easier to use NDB (and possibly its sister template Cite ADB) together with other citations and keep a consistent style (while benefitting from the automated links in the NDB/ADB templates). —Kusma (talk) 17:21, 24 November 2022 (UTC)
 * done.
 * —Trappist the monk (talk) 17:52, 24 November 2022 (UTC)
 * and the sanbox version of (there is no ):
 * This is what you want, right?
 * —Trappist the monk (talk) 16:52, 24 November 2022 (UTC)
 * @Trappist the monk: Yes, that is what I want, looks good! I hope it will make it easier to use NDB (and possibly its sister template Cite ADB) together with other citations and keep a consistent style (while benefitting from the automated links in the NDB/ADB templates). —Kusma (talk) 17:21, 24 November 2022 (UTC)
 * done.
 * —Trappist the monk (talk) 17:52, 24 November 2022 (UTC)
 * @Trappist the monk: Yes, that is what I want, looks good! I hope it will make it easier to use NDB (and possibly its sister template Cite ADB) together with other citations and keep a consistent style (while benefitting from the automated links in the NDB/ADB templates). —Kusma (talk) 17:21, 24 November 2022 (UTC)
 * done.
 * —Trappist the monk (talk) 17:52, 24 November 2022 (UTC)

Assistance needed
As I have no knowledge regarding the editing of templates, maybe more experienced users like or  (or anyone else!) could kindly assist me. I would like to raise two issues:
 * While editing Georg Dietloff von Arnim-Boitzenburg I added the "cite ndb" template and experienced that the template is off be two pages. This seems to have happened before so maybe someone could fix it again. Example: In the first citation of the linked article I used page 371 but page 369 is linked instead.
 * My second issue is a bigger point: As I value consistency quite highly it bothers me a bit that the formatting of cite NDB is off with regards to the usual wiki-citation styling:
 * Currently it is like this: "Gollwitzer, Heinz (1953), "Arnim, Georg Dietloff von", Neue Deutsche Biographie (in German), vol. 1, Berlin: Duncker & Humblot, pp. 371–372; (full text online)"
 * For consistency's sake it should be: "Gollwitzer, Heinz (1953). "Arnim, Georg Dietloff von". In Neue Deutsche Biographie (in German). Vol. 1. Berlin: Duncker & Humblot. pp. 371–372 (full text online)."
 * Maybe someone more knowledgeable then me could reprogram it like this (if at all possible and consensus to change it could be achieved)? Thanks in advance! WatkynBassett (talk) 08:45, 27 January 2024 (UTC)

@WatkynBassett, the page offset issue should be fixed by my recent edit to. The citation style can be nearly fixed by using cs1. I typically use and then write NDB citations such as  to obtain I don't know whether there is a way to get rid of the .; though. —Kusma (talk) 10:27, 27 January 2024 (UTC)
 * Thank you so much for the quick page fix. Much appreciated! The fix for cs1-style is neat too, but - as you have already mentioned - the ending ".; (full text online)" is not optimal. Maybe someone finds a way to fix this in the future. Hope you have a nice weekend! WatkynBassett (talk) 10:44, 27 January 2024 (UTC)
 * To properly fix the  issue requires a change in Module:Citation/CS1 (see ).  I have made the fix in  which uses Module:Citation/CS1/sandbox.  Here is the example template from above (not using the  redirect because there is no ):
 * —Trappist the monk (talk) 16:53, 27 January 2024 (UTC)
 * —Trappist the monk (talk) 16:53, 27 January 2024 (UTC)
 * —Trappist the monk (talk) 16:53, 27 January 2024 (UTC)
 * —Trappist the monk (talk) 16:53, 27 January 2024 (UTC)

Template for the new digital collection at NBD
Hi Folks!! There is a new NDB digital collection that doesn't have the traditional volume, page number, number naming and doesn't work with the NDB template. This is an example: Is there template for these types of articles or is it just a case of using cite web? Thanks.  scope_creep Talk  13:31, 6 April 2024 (UTC)
 * Currently only two articles link to https://www.deutsche-biographie.de/dbo... : Cothenius Medal and Paul Giesler. One is an ext link and the other uses .  You could write a wrapper template around  so that continuing use of this source is standardized across the encyclopedia; or not.
 * —Trappist the monk (talk) 13:45, 6 April 2024 (UTC)