Jump to content

Template talk:Labeldata

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

Missing end tag / stripped tag errors fixable by moving template

[edit]

Neveselbert, Jay D. Easy: I just edited Paul Graetz to fix a missing end tag and stripped tag for <div>...</div>.

Version of 22:13, 30 April 2023 (UTC) is linty:

{{Infobox person
| name         = Paul Graetz
| image         = [[File:The movi producer Paul Graetz.jpg|thumb|Photo of the producer Paul Graetz taken in Switzerland around 1960]]
| imagesize     = 
| caption       = 
| birth_date   = 3 April 1899
| birth_place  = [[Leipzig]], [[German Empire]] 
| death_date   = 5 February 1966 (aged 66)
| death_place  = [[Paris]], [[France]]
{{labeldata|Buried|[[Père Lachaise Cemetery]]}}
| othername   =   
| occupation  = Producer
| yearsactive = 1938–1966 (film)
}}

Version of 01:32, 2 May 2023 (UTC) is clean:

{{Infobox person
| name         = Paul Graetz
| image         = [[File:The movi producer Paul Graetz.jpg|thumb|Photo of the producer Paul Graetz taken in Switzerland around 1960]]
| imagesize     = 
| caption       = 
| birth_date   = 3 April 1899
| birth_place  = [[Leipzig]], [[German Empire]] 
| death_date   = 5 February 1966 (aged 66)
| death_place  = [[Paris]], [[France]]
| othername   =   
{{labeldata|Buried|[[Père Lachaise Cemetery]]}}
| occupation  = Producer
| yearsactive = 1938–1966 (film)
}}

I fixed it by random experimentation. I don't know why my solution works. Whatever the problem is, please fix it. Failing that, please improve the documentation to explain how to use this template without causing lint errors. —Anomalocaris (talk) 01:51, 2 May 2023 (UTC)[reply]

@Jonesey95: do you think you might be able to help with this? ‑‑Neveselbert (talk · contribs · email) 19:07, 2 May 2023 (UTC)[reply]
This was a better fix for that particular situation. My guess is that this template needs options such as |div=yes, as we have added to the obnoxious {{Collapsed infobox section begin}} template, to balance open div tags that might be present where it is inserted. – Jonesey95 (talk) 19:14, 2 May 2023 (UTC)[reply]