Модуль:Asbox: відмінності між версіями
[перевірена версія] | [перевірена версія] |
Вилучено вміст Додано вміст
м оформлення Мітка: Скасовано |
м оформлення Мітка: Скасовано |
||
Рядок 36:
or a table of strings and/or tables containing parts. (See below)
]]
local attention, catTag, catKey = Buffer'Шаблони повідомлень про заготовки, що потребують уваги
local function category(cat)
for _, v in ipairs((tostring(cat) == cat or cat.t) and {cat} or cat) do
Рядок 259:
]]
if page.namespace == 0 then -- Main namespace
catStub()
elseif p.demo then
Рядок 270:
:tag'small':wikitext(
'Demo categories: ',
(category{done = true}:gsub('(%[%[)(Категорія:Незавершены статті)([^|%]]-)(%|)', '%1%2%3|%2%3%4'):gsub('(%[%[)(Категорія:Незавершены статті)', '%1:%2'))
):done()
:wikitext(p.demo == 'doc' and p.demodoc or nil)
|