Изворни код странице Модул:Convert/wikidata/sandbox
Пређи на навигацију
Пређи на претрагу
Немате дозволу да уређујете ову страницу из следећег разлога:
Можете да видите и копирате извор ове странице.
-- Functions to access Wikidata for Module:Convert.
local function collection()
-- Return a table to hold items.
return {
n = 0,
add = function (self, item)
self.n = self.n + 1
self[self.n] = item
end,
join = function (self, sep)
return table.concat(self, sep)
end,
}
end
local function strip_to_nil(text)
-- If text is a non-empty string, return its trimmed content,
-- otherwise return nothing (empty string or not a string).
if type(text) == 'string' then
000
1:0
Шаблон који се користи на овој страници:
Назад на страницу Модул:Convert/wikidata/sandbox.