Tools modules?
From Talk:Main Page
Tools modules?
Hello,
it's me again. First, is there places to general talks about scribunto? I.e. IRC channel, some community talk pages...
I'm looking for various tools, before rewriting the wheel. In particular a way to split title page into "title" and "parenthesis part" (if any).
An other question, about programming style and good pratices: is it a good idea to have a module that output calls to other templates? I mean our existing taxobox is build using several basic infobox templates. Is it better to have a module that generates the same template structure, or to have a module that generates the final code?
Regards,
This site is mainly special for test LUA in Scribunto. My pages about Scribunto/LUA :
- around LUA : Wikipedia:Scribunto experimentation, Extension and adapted functions, LUA in WP
- invoking and coding : invoking from templates, detailed coding in MW, standard coding reference,
- improvements : proposing improvements to developers,
- deployment steps that I follow and update.
- To split, perhaps string.find and string.sub ?
- About the structure of infoboxes, I don't know. The diversity of them seems too large for only 1 module, but perhaps a table of types, with for each one a list of style options, could answer the question ?