en:Module:Check for unknown parameters 2016年2月7日 (日) 20:15(UTC)より
template>K-iczn (修正) |
template>K-iczn (en:Module:Check for unknown parameters 2016年2月7日 (日) 20:15(UTC)より) |
||
27行目: | 27行目: | ||
local ispreview = frame:preprocess( "{{REVISIONID}}" ) == "" and 1 or 0 | local ispreview = frame:preprocess( "{{REVISIONID}}" ) == "" and 1 or 0 | ||
-- create the list of known args, regular expressions, and the return string | -- create the list of known args, regular expressions, and the return string | ||
45行目: | 44行目: | ||
preview = unknown | preview = unknown | ||
end | end | ||
if ispreview == 1 then unknown = preview end | if ispreview == 1 then | ||
unknown = preview | |||
ignoreblank = false | |||
end | |||
-- adds one result to the output tables | -- adds one result to the output tables |