Module: Parameter validation/default config Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.Anti-spam check. Do not fill this in! 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 Summary: Please note that all contributions to Christianpedia may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here. You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Christianpedia:Copyrights for details). Do not submit copyrighted work without permission! Cancel Editing help (opens in new window) Template used on this page: Module:Parameter validation/default config/doc (view source) Discuss this page