<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="rue">
	<id>https://wiki.kocky.cc/w/index.php?action=history&amp;feed=atom&amp;title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C%3AError</id>
	<title>Модуль:Error - Історія едітовань</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.kocky.cc/w/index.php?action=history&amp;feed=atom&amp;title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C%3AError"/>
	<link rel="alternate" type="text/html" href="https://wiki.kocky.cc/w/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:Error&amp;action=history"/>
	<updated>2026-04-04T03:12:53Z</updated>
	<subtitle>Історія едітовань той сторінкы на вікі</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://wiki.kocky.cc/w/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:Error&amp;diff=19&amp;oldid=prev</id>
		<title>Бетярь: Створена сторінка: -- This module implements {{error}}.  local p = {}  local function _error(args)     local tag = mw.ustring.lower(tostring(args.tag))      -- Work out what html tag we should use.     if not (tag == &#039;p&#039; or tag == &#039;span&#039; or tag == &#039;div&#039;) then         tag = &#039;strong&#039;     end      -- Generate the html.     return tostring(mw.html.create(tag)         :addClass(&#039;error&#039;)         :wikitext(tostring(args.message or args[1] or error(&#039;no message specified&#039;, 2)))     )...</title>
		<link rel="alternate" type="text/html" href="https://wiki.kocky.cc/w/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:Error&amp;diff=19&amp;oldid=prev"/>
		<updated>2023-10-17T20:15:04Z</updated>

		<summary type="html">&lt;p&gt;Створена сторінка: -- This module implements {{error}}.  local p = {}  local function _error(args)     local tag = mw.ustring.lower(tostring(args.tag))      -- Work out what html tag we should use.     if not (tag == &amp;#039;p&amp;#039; or tag == &amp;#039;span&amp;#039; or tag == &amp;#039;div&amp;#039;) then         tag = &amp;#039;strong&amp;#039;     end      -- Generate the html.     return tostring(mw.html.create(tag)         :addClass(&amp;#039;error&amp;#039;)         :wikitext(tostring(args.message or args[1] or error(&amp;#039;no message specified&amp;#039;, 2)))     )...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Нова сторінка&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- This module implements {{error}}.&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
local function _error(args)&lt;br /&gt;
    local tag = mw.ustring.lower(tostring(args.tag))&lt;br /&gt;
&lt;br /&gt;
    -- Work out what html tag we should use.&lt;br /&gt;
    if not (tag == &amp;#039;p&amp;#039; or tag == &amp;#039;span&amp;#039; or tag == &amp;#039;div&amp;#039;) then&lt;br /&gt;
        tag = &amp;#039;strong&amp;#039;&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    -- Generate the html.&lt;br /&gt;
    return tostring(mw.html.create(tag)&lt;br /&gt;
        :addClass(&amp;#039;error&amp;#039;)&lt;br /&gt;
        :wikitext(tostring(args.message or args[1] or error(&amp;#039;no message specified&amp;#039;, 2)))&lt;br /&gt;
    )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.error(frame)&lt;br /&gt;
    local args&lt;br /&gt;
    if type(frame.args) == &amp;#039;table&amp;#039; then&lt;br /&gt;
        -- We&amp;#039;re being called via #invoke. The args are passed through to the module&lt;br /&gt;
        -- from the template page, so use the args that were passed into the template.&lt;br /&gt;
        args = frame.args&lt;br /&gt;
    else&lt;br /&gt;
        -- We&amp;#039;re being called from another module or from the debug console, so assume&lt;br /&gt;
        -- the args are passed in directly.&lt;br /&gt;
        args = frame&lt;br /&gt;
    end&lt;br /&gt;
    -- if the message parameter is present but blank, change it to nil so that Lua will&lt;br /&gt;
    -- consider it false.&lt;br /&gt;
    if args.message == &amp;quot;&amp;quot; then&lt;br /&gt;
        args.message = nil&lt;br /&gt;
    end&lt;br /&gt;
    return _error(args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Бетярь</name></author>
	</entry>
</feed>