Spring til indhold

Modul:Separated entries/dok

Fra Wikipedia, den frie encyklopædi
Version fra 8. jan. 2022, 15:42 af Steenthbot (diskussion | bidrag) Steenthbot (diskussion | bidrag) (opdaterer antal high-use/high-risk)
(forskel) ← Ældre version | Nuværende version (forskel) | Nyere version → (forskel)


Usage / Brug

[rediger kildetekst]

Modul: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  . Separated entries does not raise any errors by design.

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