Module:Dash: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) No edit summary |
ArrowHead294 (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
local p = {} | local p = {} | ||
function p.dashes( | function p.dashes(frame) | ||
return input_str:gsub("%s+", spaces .. separator .. spaces) | return input_str:gsub("%s+", frame.args["spaces"] .. frame.args["separator"] .. frame.args["spaces"]) | ||
end | end | ||
return p | return p | ||
Revision as of 03:04, 12 May 2024
- This module should not be invoked directly; use its corresponding template instead: Template:Dash.
Replaces comma and space in list with dashes and spaces.
| Introspection summary for Module:Dash | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||
No function descriptions were provided. The Lua code may have further information.