Template talk:Media

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search

Add validation error if only one image is used

According to User:TriforceTony's edit summary here, Template:Media is not to be used when there's only one image.

If such usage of Template:Media is incorrect, then there should be a validation around that which adds the page to Category:Articles Using Invalid Arguments in Template Calls.

I'm logging this here so it isn't forgotten. PhantomCaleb (talk) 17:59, 14 June 2021 (UTC)Reply[reply]

I agree that we should have that. TriforceTony (talk) 21:11, 14 June 2021 (UTC)Reply[reply]
Alternatively, the template could simply not generate tabs when there's only entry. Template:Media could still be used in those cases but it would appear to the reader as if it wasn't there. PhantomCaleb (talk) 00:51, 20 June 2021 (UTC)Reply[reply]