Home  

Random  

Nearby  



Log in  



Settings  



Donate  



About Wikipedia  

Disclaimers  



Wikipedia





Module:Parameter validation/default config





Module  

Talk  



Language  

Watch  

View source  


< Module:Parameter validation

This is the current revision of this page, as edited by Izno (talk | contribs)at23:30, 6 May 2021 (add dependency to if preview). The present address (URL) is a permanent link to this version.
(diff)  Previous revision | Latest revision (diff) | Newer revision  (diff)
 


function create(cat, msg) 
 return mw.ustring.format("{{main other|[[Category:Pages using tname_naked with %s parameters]]}}", cat) .. create_message(msg)
end

function create_message(msg) 
 return require('Module:If preview')._warning({
  mw.ustring.format("[[templatename]] used with %s.", msg)
 })
end

local options = {
 ["undeclared"] = create("unknown", 'unknown parameter(s): paramname'),
 ["deprecated"] = create("deprecated", 'deprecated parameter(s): paramname'),
 ["duplicate"] = create("duplicate", 'duplicate parameter(s): paramandvalue'),
 ["doc-subpage"] = "doc",
}

local result = {
 [0] = options,
 [2] = options,
 [4] = options,
 [6] = options,
 [10] = options,
 [12] = options,
 [14] = options,
}
return result

Retrieved from "https://en.wikipedia.org/w/index.php?title=Module:Parameter_validation/default_config&oldid=1021838256"
 



Last edited on 6 May 2021, at 23:30  


Languages

 


العربية
 / Bân-lâm-gú

الدارجة
ދިވެހިބަސް

ि
 / Mìng-dĕ̤ng-nḡ



سنڌي
Slovenščina
Tagalog
ி

اردو

 

Wikipedia


This page was last edited on 6 May 2021, at 23:30 (UTC).

Content is available under CC BY-SA 4.0 unless otherwise noted.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Terms of Use

Desktop