From Wikipedia, the free encyclopedia

Convert to module

@ Galobtter:, since you helped with Module:JCW-selected, could you help here too?

The idea of the template is it has two parameters, |source= and |note=.

  • |note= is a plain jane field that returns what you input.
  • |source= has a list of valid codes, but failing that, returns the plain input.

The issue here is that is that it only supports one valid code at a time, e.g.

whereas the desired output would be supporting multiple codes. For the last two, this would look like

That would be much appreciated. Each code in |source= would be comma delimited. And if you don't have time, that's ok too, I'll just ping someone else. Headbomb { t · c · p · b} 01:36, 3 March 2019 (UTC) reply

 Done, kinda, simpler to use Template:MultiReplace in a template. Galobtter ( pingó mió) 06:55, 3 March 2019 (UTC) reply
@ Galobtter: Whatever works. It's still LUA, so it's still unpenetrable to me. But I can build on what you wrote. Thanks a bunch! Headbomb { t · c · p · b} 06:59, 3 March 2019 (UTC) reply
From Wikipedia, the free encyclopedia

Convert to module

@ Galobtter:, since you helped with Module:JCW-selected, could you help here too?

The idea of the template is it has two parameters, |source= and |note=.

  • |note= is a plain jane field that returns what you input.
  • |source= has a list of valid codes, but failing that, returns the plain input.

The issue here is that is that it only supports one valid code at a time, e.g.

whereas the desired output would be supporting multiple codes. For the last two, this would look like

That would be much appreciated. Each code in |source= would be comma delimited. And if you don't have time, that's ok too, I'll just ping someone else. Headbomb { t · c · p · b} 01:36, 3 March 2019 (UTC) reply

 Done, kinda, simpler to use Template:MultiReplace in a template. Galobtter ( pingó mió) 06:55, 3 March 2019 (UTC) reply
@ Galobtter: Whatever works. It's still LUA, so it's still unpenetrable to me. But I can build on what you wrote. Thanks a bunch! Headbomb { t · c · p · b} 06:59, 3 March 2019 (UTC) reply

Videos

Youtube | Vimeo | Bing

Websites

Google | Yahoo | Bing

Encyclopedia

Google | Yahoo | Bing

Facebook