模块:Separated entries/doc

来自决策链云智库
< 模块:Separated entries
Zeroclanzhang讨论 | 贡献2024年1月18日 (四) 00:55的版本 (创建页面,内容为“{{Module other|{{Module rating|p}}}} {{High-use|approximately 2050000}} {{Lua|Module:Arguments|Module:TableTools|Module:Separated entries}} <!-- Please, place template categories where indicated at the bottom of this page. --> == Usage == Module:Separated entries serves as a template front-end to <code>mw.text.listToText</code>. It takes any number of positional paramet…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

这是模块:Separated entries的文档页面

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. The starting positional parameter can be specified using |start=. Leading and trailing whitespace is stripped. To add deliberate leading and trailing whitespace, use the HTML escape code &#32; for a space and &#10; for a "newline". Separated entries does not raise any errors by design.

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

See also