Visualizza wikitesto di Modulo:Check for unknown parameters
Non si dispone dei permessi necessari per modificare questa pagina, per i seguenti motivi:
È possibile visualizzare e copiare il codice sorgente di questa pagina.
-- 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
-- not on the list
local p = {}
local function trim(s)
return s:match('^%s*(.-)%s*$')
end
local function isnotempty(s)
return s and s:match('%S')
end
local function clean(text)
-- Return text cleaned for display and truncated if too long.
-- Strip markers are replaced with dummy text representing the original wikitext.
local pos, truncated
local function truncate(text)
if truncated then
return ''
end
if mw.ustring.len(text) > 25 then
000
1:0
Template utilizzato in questa pagina:
Torna a Modulo:Check for unknown parameters.