Jump to content
Main menu
Main menu
move to sidebar
hide
Nabigasyon
Arapan ya bolong
Pwerta na komyunidad
Sampot ran dinuma
Random ya bolong
Tolong
Anapen
Anapen
Donasyon
Appearance
Create account
Onloob
Personal tools
Create account
Onloob
Pages for logged out editors
learn more
Saray entolong
Tongtongan
Dudumaen so
Module:Separated entries
Add languages
Module
Tongtongan
English
Basaen
Dumaen so pinanlapuan
Nengnengen so awaran
Kagawaan
Tools
move to sidebar
hide
Actions
Basaen
Dumaen so pinanlapuan
Nengnengen so awaran
General
Antoray akaturo dia
Kabiangan ran binalo
Mangisigep na file
Niduma ran bolobolong
Page information
Get shortened URL
Download QR code
Appearance
move to sidebar
hide
Pasakbay:
Agka ni limmoob. Aka-record so IP address mo ed agawgawa ed bolong.
Anti-spam check. Do
not
fill this in!
-- This module takes positional parameters as input and concatenates them with -- an optional separator. The final separator (the "conjunction") can be -- specified independently, enabling natural-language lists like -- "foo, bar, baz and qux". The starting parameter can also be specified. local compressSparseArray = require('Module:TableTools').compressSparseArray local p = {} function p._main(args) local separator = args.separator -- Decode (convert to Unicode) HTML escape sequences, such as " " for space. and mw.text.decode(args.separator) or '' local conjunction = args.conjunction and mw.text.decode(args.conjunction) or separator -- Discard values before the starting parameter. local start = tonumber(args.start) if start then for i = 1, start - 1 do args[i] = nil end end -- Discard named parameters. local values = compressSparseArray(args) return mw.text.listToText(values, separator, conjunction) end local function makeInvokeFunction(separator, conjunction, first) return function (frame) local args = require('Module:Arguments').getArgs(frame) args.separator = separator or args.separator args.conjunction = conjunction or args.conjunction args.first = first or args.first return p._main(args) end end p.main = makeInvokeFunction() p.br = makeInvokeFunction('<br />') p.comma = makeInvokeFunction(mw.message.new('comma-separator'):plain()) return p
Sumaryo:
By saving changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
I-tonda
Tolong nipakar ed panagbalo na artikulo
(onlukas ed balon durongawan)
Preview page with this template
Templates used on this page:
Template:Documentation
(
dumaen
)
Template:Documentation/styles.css
(
dumaen
)
Template:Message box/styles.css
(
dumaen
)
Module:Arguments
(
dumaen
)
Module:Documentation
(
dumaen
)
Module:Documentation/config
(
dumaen
)
Module:Message box
(
dumaen
)
Module:Message box/configuration
(
dumaen
)
Module:No globals
(
dumaen
)
Module:Separated entries/doc
(
dumaen
)
Module:Yesno
(
dumaen
)