<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.s-bou.com/index.php?action=history&amp;feed=atom&amp;title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%3AError</id>
	<title>モジュール:Error - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.s-bou.com/index.php?action=history&amp;feed=atom&amp;title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%3AError"/>
	<link rel="alternate" type="text/html" href="https://wiki.s-bou.com/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Error&amp;action=history"/>
	<updated>2026-04-05T20:51:30Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.36.2</generator>
	<entry>
		<id>https://wiki.s-bou.com/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Error&amp;diff=1894&amp;oldid=prev</id>
		<title>Administrator: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.s-bou.com/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Error&amp;diff=1894&amp;oldid=prev"/>
		<updated>2021-10-22T17:42:34Z</updated>

		<summary type="html">&lt;p&gt;1版 をインポートしました&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2021年10月22日 (金) 17:42時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Administrator</name></author>
	</entry>
	<entry>
		<id>https://wiki.s-bou.com/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Error&amp;diff=1893&amp;oldid=prev</id>
		<title>ja&gt;ネイ: +TemplateStyles、phab:T280766による</title>
		<link rel="alternate" type="text/html" href="https://wiki.s-bou.com/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Error&amp;diff=1893&amp;oldid=prev"/>
		<updated>2021-05-05T05:39:10Z</updated>

		<summary type="html">&lt;p&gt;+TemplateStyles、&lt;a href=&quot;/index.php?title=Phab:T280766&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Phab:T280766 (存在しないページ)&quot;&gt;phab:T280766&lt;/a&gt;による&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(frame, 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 == 'p' or tag == 'span' or tag == 'div') then&lt;br /&gt;
        tag = 'strong'&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
    -- Generate the html.&lt;br /&gt;
    local retval = frame:extensionTag{name = 'templatestyles', args = {src = 'Module:Error/styles.css'}}&lt;br /&gt;
    local errortag = mw.html.create(tag)&lt;br /&gt;
        :addClass('error')&lt;br /&gt;
        :wikitext(tostring(args.message or args[1] or error('エラーメッセージが指定されていません', 2)))&lt;br /&gt;
    retval = retval .. tostring(errortag)&lt;br /&gt;
&lt;br /&gt;
    return retval&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) == 'table' then&lt;br /&gt;
        -- We'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'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(frame, args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>ja&gt;ネイ</name></author>
	</entry>
</feed>