差分
ナビゲーションに移動
検索に移動
40行目:
40行目:
−
61行目:
60行目:
− +
99行目:
98行目:
− +
en:Module:Check for unknown parameters oldid=934641291 より更新
return
return
end
end
local ignoreblank = isnotempty(args['ignoreblank'])
local ignoreblank = isnotempty(args['ignoreblank'])
local showblankpos = isnotempty(args['showblankpositional'])
local showblankpos = isnotempty(args['showblankpositional'])
end
end
if isnotempty(preview) then
if isnotempty(preview) then
preview = '<div class="hatnote" style="color:red"><strong>Warning:</strong> ' .. preview .. ' (this message is shown only in preview).</div>'
preview = '<div class="hatnote" style="color:red"><strong>警告:</strong> ' .. preview .. '(このメッセージはプレビュー時のみ表示されます。)</div>'
elseif preview == nil then
elseif preview == nil then
preview = unknown
preview = unknown
end
end
-- avoid error with v = 'example%2' ("invalid capture index")
-- avoid error with v = 'example%2' ("invalid capture index")
local r = unknown:gsub('_VALUE_', {_VALUE_ = v})
local r = unknown:gsub('_VALUE_', {_VALUE_ = v})
table.insert(res, r)
table.insert(res, r)
end
end