Template:Separated entries
File:Lua-logo-nolabel.svg | Uses Lua: |
Serves as a templating 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  
. Separated entries does not raise any errors by design.
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Separated entries
<templatedata>{"paramOrder":["separator","conjunction","start","1","2","3","4","5","6","7","8","9","10"],"description":"Template wrapper for Module:Separated entries.","params":{"separator":{"suggested":true,"type":"line","autovalue":", ","label":"Separator","description":"The separator between all but the last two items.","default":""},"conjunction":{"suggested":false,"type":"line","autovalue":" and ","label":"Conjunction","description":"The separator between the last two items.","default":"{{{separator}}}"},"start":{"suggested":false,"type":"number","default":"1","label":"Starting Item","description":"The number of the starting item. Items before this will be discarded."},"1":{"suggested":true,"type":"line","description":"First item","label":"Item 1"},"2":{"suggested":false,"type":"line","description":"Second item","label":"Item 2"},"3":{"suggested":false,"type":"line","description":"Third item","label":"Item 3"},"4":{"suggested":false,"type":"line","description":"Fourth item","label":"Item 4"},"5":{"suggested":false,"type":"line","description":"Fifth item","label":"Item 5"},"6":{"suggested":false,"type":"line","description":"Sixth item","label":"Item 6"},"7":{"suggested":false,"type":"line","description":"Seventh item","label":"Item 7"},"8":{"suggested":false,"type":"line","description":"Eighth item","label":"Item 8"},"9":{"suggested":false,"type":"line","description":"Ninth item","label":"Item 9"},"10":{"suggested":false,"type":"line","description":"Tenth item","label":"Item 10"}}}</templatedata>Edit parameter translations