Module talk:Random: Difference between revisions

Content deleted Content added
Line 53:
<nowiki>sep = sep:gsub( '"', '' )</nowiki>
to strip out the double quotation marks. That allows you to set a parameter such as {{para|separator|", "}} in the template call. HTH --[[User:RexxS|RexxS]] ([[User talk:RexxS|talk]]) 19:11, 7 June 2018 (UTC)
:{{ping|RexxS}} Interesting idea. You can still allow double quotes in such a system, btw - you just have to also convert <code>""</code> to <code>"</code>. Or you could do something like replace every instance of <code>&lt;space&gt;</code> with an actual space. At the moment, you still have the option of using an [[HTML entity]]: <code>separator = &amp;#32;</code>. I'd be interested to know how much demand there is for things like this that isn't already possible with the <code>comma</code> separator. — '''''[[User:Mr. Stradivarius|<span style="color: #194D00; font-family: Palatino, Times, serif">Mr.&nbsp;Stradivarius</span>]]''''' <sup>[[User talk:Mr. Stradivarius|♪&nbsp;talk&nbsp;♪]]</sup> 12:13, 8 June 2018 (UTC)