Module talk:User:Victar/collapse-quote

, I had this working so well as, until I turned it into a module, and now my lists are broken. Could you tell me what I'm doing wrong? --Victar (talk) 01:14, 22 November 2018 (UTC)
 * I guess you mean this bit?  If I stick it in Special:ExpandTemplates and look at the resulting wikitext, it has an extra newline after the first . So the second line is assigned to a new list. and a bunch of bullets are displayed. Aha, the template page had a newline after the invocation of the module. Gotta watch your whitespace. — Eru·tuon 03:53, 22 November 2018 (UTC)
 * It's always the simplest of mistakes. Thanks, ! -- Victar (talk) 04:07, 22 November 2018 (UTC)

, I'm trying to incorporate Module:Quotations, but I'm getting. Do you think you could have a look? --Victar (talk) 07:40, 23 November 2018 (UTC)
 * That's because the function expects a frame object, which has a  method. I've made   take a table of args as your module requires, because the only thing from   it ever uses is  . — Eru·tuon 16:08, 23 November 2018 (UTC)
 * Hmm,, I can't pass js or js to 1, and when I manually pass js to it, it doesn't format it using Module:Quotations/sa/data. --Victar (talk) 16:26, 23 November 2018 (UTC)
 * Sorry, I don't understand. Can you put examples of whatever's going wrong on the documentation page of this module? — Eru·tuon 16:43, 23 November 2018 (UTC)
 * , No matter what I try, I get  For the latter problem, I'm getting   instead of.
 * I guess I've figured out what you mean.  is a string and indexing a string returns   (because it returns the same result as indexing the   library), so   is always  . And the result of   is a table, so if you pass it as argument of , you get a complaint. I don't know what's going on with the second bit. — Eru·tuon 17:31, 23 November 2018 (UTC)
 * Hmm, so how should I be passing the language code? --Victar (talk) 18:52, 23 November 2018 (UTC)
 * The way it's currently being passed, as a string. — Eru·tuon 19:51, 23 November 2018 (UTC)
 * Ah, got it now, thanks. --Victar (talk) 19:56, 23 November 2018 (UTC)