ماژول:Check for unknown parameters: نوسخهلر آراسینداکی فرق
محتوای حذفشده محتوای افزودهشده
صفحهنی ' -- This module may be used to compare the arguments passed to the parent -- with a list of arguments, returning a specified result if an argument is...' ایله ياراتدی |
بدون خلاصۀ ویرایش |
||
خط ۱۸:
local showblankpos = isnotempty(frame.args['showblankpositional'])
local knownargs = {}
local unknown = frame.args['unknown'] or '
local preview = frame.args['preview']
خط ۳۰:
v = trim(v)
knownargs[v] = 1
elseif k:find('^regexp
table.insert(regexps, '^' .. v .. '$')
end
end
if isnotempty(preview) then
preview = '<div class="hatnote" style="color:red"><strong>
elseif preview == nil then
preview = unknown
|