It was a different error last time i looked.
For the "Error Lua at line 157 : attempt to index field 'data' (a nil value)'"
This seems to be caused by the line local data = mw.ext.data.get(dataset, lang)
mw.ext.data is a feature provided by extension:JsonConfig, which provides access to stuff in the Data namespace. AFAICT You don't have that extension, which is where that error is coming from.
I agree, that at first glance, TNT is not responsible for Sprite not working.
It seems like the sprite call expands to:
<span class="sprite" style="background-image:{{ #widget: FileUrl | url = {{ #sub: https://www.wikifield.fr/w/images/d/de/BlocCSS.png | {{ #len: {{ #explode: | b/bc/ }} }} }} }};background-position:-0px -0px;height:1px;width:1px"></span>
So it seems like there is a couple problems with that. First of all, background-image css property is usually banned in wikitext. So not sure how that worked at all at minecraft wiki. Maybe widgets overrides that somehow. Second its calling out to the widgets extension (Which is associated with the widgets namespace, aka Widget:FileUrl ), which you don't have installed. Last of all, they are using #len and #explode, which is part of the ParserFunctions extension. However its only enabled if $wgPFEnableStringFunctions = true; is set in LocalSettings.php, which it doesn't appear to be in your wiki.