[01:59:52] howdy guys, is anyone free to give me a point in the right direction? [02:00:48] I've been stuck on this for a whole day now and google has nothing :/ [02:14:46] ghostofsparkles: what's the issue? [02:17:30] I'm trying to build a Page Form which will drive a query in a template [02:17:51] Alright. [02:18:01] the actual Query is passing fine, but I also want the user to be able to select which optional properties are shown [02:18:14] they are coming from a 'token' inputtype in the form [02:18:21] comma-delimited [02:19:07] Ah, you want the printouts (like "?A|?B") to be set via a template parameter. [02:19:07] the problem is, I can't seem to get mediawiki to understand that I want to insert pipes and questionmarks |? to the start of each property [02:19:12] yeah [02:19:16] let me show you that line of code [02:19:22] |?{{#arraymap:{{{DisplayProperties}}}|,|x|x| {{!}}?}} [02:19:27] Right - that's tricky... I'm not sure if it's possible. [02:19:31] i'm using the magicword for the pipe [02:19:36] Right. [02:19:49] i also tired used tags [02:19:53] *tried [02:19:56] also tired tbh [02:20:01] very tired [02:20:03] :D [02:20:03] :) [02:20:49] I'm not surprised that that has failed - there's certainly a chance that what you're trying to do is simply not possible. [02:20:57] hahaha [02:21:11] good stuff [02:21:24] I think I'll just set a restriction [02:21:30] If you really need this kind of feature, you may possibly have to create a Lua module for it. [02:21:30] say 10 properties [02:21:46] Using a combination of the Scribunto and "Semantic Scribunto" extensions. [02:22:04] Those definitely give a lot more flexibility. [02:22:16] But it's more work. [02:22:26] I'll weigh it up, it's just a little project [02:22:58] Ah. [02:23:12] Yes, what's the harm in just displaying everything? [02:23:28] probably nothing [02:23:32] I'm probably just overthinking it [02:23:35] trying to be clever [02:24:00] if I just set a limit I can probably use switches or something [02:24:25] or if that fails, as you said, I'll just show everything [02:25:08] thanks for your help Yaron, I'm gonna idle for a bit and see if anyone has any other fun ideas :) [02:25:24] Alright, sounds good. :) [02:25:56] You might have more luck during the day... i.e. for Europe or the Americas. [02:29:21] yeah I'm in Germany so I should probably go to sleep and try tomorrow :)