"ഘടകം:Check for unknown parameters" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം
(ചെ.) ഒരു പതിപ്പ് ഇറക്കുമതി ചെയ്തു |
(ചെ.) ഒരു പതിപ്പ് ഇറക്കുമതി ചെയ്തു: coord template from mlwiki |
||
| (മറ്റൊരു ഉപയോക്താവ് ചെയ്ത ഇടയ്ക്കുള്ള ഒരു നാൾപ്പതിപ്പ് പ്രദർശിപ്പിക്കുന്നില്ല) | |||
| വരി 2: | വരി 2: | ||
-- with a list of arguments, returning a specified result if an argument is | -- with a list of arguments, returning a specified result if an argument is | ||
-- not on the list | -- not on the list | ||
require ('strict'); | |||
local p = {} | local p = {} | ||
| വരി 92: | വരി 95: | ||
if isnotempty(preview_text) then | if isnotempty(preview_text) then | ||
preview_text = require('Module:If preview')._warning({preview_text}) | preview_text = require('Module:If preview')._warning({preview_text}) | ||
elseif | elseif preview_text == nil then | ||
preview_text = unknown_text | preview_text = unknown_text | ||
end | end | ||