Jump to content

Template talk:Argentina imagemap with province names

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

File option lint error: empty, i.e. twin pipes with nothing between

[edit]

Windroff, Bleff, Spiderjerky, Vanisaac: This template is generating a Bogus file options of an empty parameter, i.e. Image:Map of Argentina with provinces names en.png||... when the |type= parameter is unspecified, which is precisely what the documentation does. The example in Template:Argentina imagemap with province names/doc is {{Argentina imagemap with province names | float = right | size = 200px }}, which expands to

<imagemap>
Image:Map of Argentina with provinces names en.png||202px|right|Provinces of Argentina. Click to explore.
...

and if we insert a bogus |type= parameter such as foobar, viz: {{Argentina imagemap with province names | float = right | size = 200px | type = foobar }} it expands to

<imagemap>
Image:Map of Argentina with provinces names en.png|foobar|202px|right|Provinces of Argentina. Click to explore.
...

Would someone please edit this template to remove a pipe when the type parameter is unspecified? I could do this myself, but (a) I don't have much experience with this sort of thing (b) I want to promote awareness of lint eradication and (c) very likely there are similar errors generated by other missing parameters that should be fixed at the same time. —Anomalocaris (talk) 23:18, 9 March 2021 (UTC)[reply]