[09:58:07] apologies if this is OT here (maybe it's wikipedia-specific?), but is there some situation where an empty parameter in a [[File:]], or breaking the image inclusion syntax over several lines could cause problems? I'm just trying to better identify an issue with a template-in-a-template used in an infobox field in ptwiki [09:58:51] that's totally on topic [09:59:00] I think I found out what was causing it, but now I wanted to fully understand the issue. I think I recall something about pipes causing a problem, but maybe that was with the wikitable syntax? [10:00:29] its rare for pipes to cause problems in images where its fairly common in tables, but its not impossible [10:01:28] e.g. if you wanted a raw pipe inside a parameter, you might have to escape it to prevent it from terminating the parameter [10:05:47] this is a wikitable infobox (and not lua), right? https://pt.wikipedia.org/w/index.php?title=Predefini%C3%A7%C3%A3o:Info&action=edit [10:21:42] yes, those are wikitables using parser functions [10:21:49] and wow what an unholy mess [10:22:18] best of luck debugging that [10:24:16] yeah, I hadn't noticed it was a table I was dealing with, expected it to be lua. well, that should give me more information to understand it [10:24:37] have to get afk soon, though, unexpected complication in the day plan :-\ [20:02:10] say, if what I mentioned this morning is about table syntax, how do all the other pipes work in that infobox? hopefully there's a way to see what the template expands to (subst?), but while | and || are frequently part of table syntax, a question I'm wondering is how all other occurrences of | don't cause issues [20:02:33] I should probably repeat the searches and reading I did now that I've realized the infobox is a wikitable and not a lua infobox, though... [20:35:33] one of the invoked templates has a [[File:...|other-param|{{{link|placeholder}}}|another-param...]] that goes in the infobox, but link is defined empty, so that evaluates to something other than "placeholder". now I'm not sure what it evaluates to, but adding after {{{link|placeholder}}} makes the problem go away (the problem being the image parameters getting somehow mangled, wrong [20:35:39] title text, wrong image link target, when inside the infobox) [20:37:44] Special:ExpandTemplates tells me it expands to "...|other-param||another-param..."