Для документации этого модуля может быть создана страница Модуль:ArchiveState/doc
local p = {} function p.isArchived(frame) local title = mw.title.getCurrentTitle() if not title then return 'нет' end if title.namespace == 10 then return 'нет' end local text = title:getContent() or '' if mw.ustring.find(text, '{{Архив', 1, true) then return 'да' end return 'нет' end return p