Jump to content

Template talk:Dizionario Biografico degli Italiani

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

sfn error

[edit]

Articles using {{sfn}} with this template throw errors that have to be whitelisted. Using the undocumented parameter |ref= can manually set the ref target but doesn't spare the sfn error. czar 16:31, 28 December 2024 (UTC)[reply]

@Czar: Would it be possible to fix the error or modify the template to prevent it to be thrown? Constantine 20:34, 28 December 2024 (UTC)[reply]
Paging @Trappist the monk: Would you know the answer to this? To avoid [1] czar 23:43, 28 December 2024 (UTC)[reply]
This is an example of the false positive error messaging described at :Category:Harv and Sfn template errors § Current limitations and false-positive errors. In this particular case, Module:Footnotes doesn't know that {{DBI}} is a citation template so when the module attempts to match target CITEREF anchor ID for:
{{sfn|Gullino|2016}}CITEREFGullino2016
there is no match because the module ignored the {{DBI}} template that it knows nothing about. We can spoof the module a bit by using template names that begin with {{cite ... so {{cite DBI. But, that still won't work in this case because the necessary year portion of the CITEREF anchor ID is hidden inside {{DBI}} as a function of |volume=.
This is why we invented {{sfn whitelist}}. For cases where a source is used across many, many articles, there is also Module:Footnotes/whitelist.
For Tiepolo conspiracy, you don't need multiple individual {{sfn whitelist}} templates; one will suffice:
{{sfn whitelist|CITEREFGullino2016|CITEREFLane1973|CITEREFPozza2019|CITEREFRossi2002}}
Trappist the monk (talk) 01:09, 29 December 2024 (UTC)[reply]