Topic on User talk:Zesty

Jump to navigation Jump to search

Can you please install the Page Forms extension? It has a very useful #arraymap function that is good for converting various output. As you can see from the test page here, it looks a little wonky without it. That is supposed to become a list (ul). It is useful for quite a few other things too, but I've only used it for #arraymap previously. It works with both SMW and Cargo btw, but I've never ventured into the actual Forms part of it. Seemed easier to just deal with wikitext, oddly enough.

Data like in the test page is stored in Cargo with a separator (e.g. ";" or ","). #arraymap is then used to turn those separators into an unordered list (or anything really). Easier than having to deal with regex or something heavy like that.