Difference between revisions of "Module:Separated entries/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>SimonTrew
(who cares what it was inspired by when that is deleted)
blackwiki>Eyesnore
Line 1: Line 1:
{{Module other|{{Module rating |beta}}}}
+
{{Module other|{{Module rating |p}}}}
{{high-use|{{#ifeq:{{FULLPAGENAME}}|Template:Separated entries|30,000|930,000}}+}}
+
{{high-risk|1153000+}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
== Usage ==
 
== Usage ==

Revision as of 22:05, 28 July 2016

Usage

Module:Separated entries serves as a template front-end to mw.text.listToText. It takes any number of positional parameters and pieces them together with |separator=. |conjunction= can be optionally defined if a different separator is desired between the last and second last items. Leading and trailing whitespace is stripped; if the |separator= should contain spaces, use the HTML escape code &#32;. Separated entries does not raise any errors by design.

{{#invoke:Separated entries|main|separator=...}}