Content deleted Content added
sync with live |
add bclassparams |
||
Line 1:
local p = {}
local bclassparams = {
pass = {inputs = {'yes', 'y', '1', 'pass'}, output = 'y'},
fail = {inputs = {'no', 'n', '0', 'fail'}, output = 'n'},
na = {inputs = {'na', 'n/a'}, output = 'x'},
unused = {inputs = {'unused', '¬'}, output = '¬'},
unevaluated = {inputs = {'<yes/no>', 'yes/no', '?', ''}, output = ''},
default = {inputs = {'!'}, output = '!'}
}
local function getDocWarning(title)
if title.namespace == 10 and title.subpageText == 'class' then
Line 23 ⟶ 29:
s = s and s:lower()
return not s or s == 'yes' or s == 'y' or s == '1' or s == 'pass' or s == 'na' or s == 'n/a' or s == '¬' or s == 'unused'
end
local bclass = function(param)
end
|